Commit Graph

306 Commits (b1a5cdcda91fa2476d736b4bf01c12162d98efd8)
 

Author SHA1 Message Date
Jan Petykiewicz b1a5cdcda9 bloch example updates 1 year ago
Jan Petykiewicz d8ec46674d sqrtm increases precision, so cast back to double 1 year ago
Jan Petykiewicz be620f7137 comment updates 1 year ago
Jan Petykiewicz 2c16c3c9ab Fixup in-place operators 1 year ago
Jan Petykiewicz 1ec9375359 loosen default tolerance 1 year ago
Jan Petykiewicz 98c973743f use `if False` instead of commenting out code 1 year ago
Jan Petykiewicz 2a9e482e44 Z is y0 transposed 1 year ago
Jan Petykiewicz 01e7aae41e comment updates 1 year ago
Jan Petykiewicz c7e823b0b3 allow initial value 1 year ago
Jan Petykiewicz 44465f1bc9 modernize type annotations 1 year ago
Jan Petykiewicz 7009e505e7 fix accidental creation of array(None) 1 year ago
Jan Petykiewicz 3bf56c16c1 More in-place ops
Z.copy() is needed since op is in-place now
1 year ago
Jan Petykiewicz 5c7deedb70 do more in-place 1 year ago
Jan Petykiewicz fd1a83b5b9 cleaner way to ravel 1 year ago
Jan Petykiewicz 7cf90fe0de use keepdims instead of readding dims 1 year ago
Jan Petykiewicz 09aa9761c6 Use same variable names as in code 1 year ago
jan 697770ce97 improve top level bloch comment 2 years ago
jan b7bd825bce make saving previous GtKG direction more obvious 2 years ago
jan ff395277b0 add another comment about minmization 2 years ago
jan dfbb845bee add some comments 2 years ago
Jan Petykiewicz a64afcbe4d Add more info to log message 2 years ago
Jan Petykiewicz 03c15c8486 store ZtAZ instead of AZU
U is small (~number of modes)^2
2 years ago
Jan Petykiewicz bec0137c99 update type hints and formatting 2 years ago
Jan Petykiewicz 68a9818388 use moveaxis instead of deprecated rollaxis 2 years ago
Jan Petykiewicz 23d5a160c8 use f-string 2 years ago
jan 4144e6dc37 update comment 2 years ago
Jan Petykiewicz 8f8c130c2f use previous result as next guess 2 years ago
Jan Petykiewicz 4a9198ade7 allow setting initial guess 2 years ago
Jan Petykiewicz c7c71a3a82 add per-iteration callback 2 years ago
Jan Petykiewicz a82d8dfc7e pass k_bounds and k_guess instad of just k_min and k_max 2 years ago
Jan Petykiewicz 86feb5461c don't use patient planner by default 2 years ago
Jan Petykiewicz edfd9a49c6 formatting 2 years ago
Jan Petykiewicz ad7c27eee3 bump version to v0.8 2 years ago
Jan Petykiewicz 640b4d1ef7 Make find-k also return eigenvalues 2 years ago
Jan Petykiewicz 4e240988c9 use "is None" to check for default args
numpy.any(numpy.equal(x, None)) is more general, because
`numpy.array(None) is not None`, but checking for that doesn't make much
sense if you're already type-checking
2 years ago
Jan Petykiewicz 52df24ad98 Major typing updates
Split field types to differentiate between complex and purely-real

Fix lots of numpy-related stuff
2 years ago
Jan Petykiewicz 31e6e0ec60 just check if file exists rather than trying to open 2 years ago
Jan Petykiewicz ad1ec6acfb Back off on FFTW args
multithreading in particular seems pretty detrimental
2 years ago
Jan Petykiewicz d4fcfa1e07 fix var name 2 years ago
Jan Petykiewicz ec9a6edc85 be explicit about stack axis 2 years ago
Jan Petykiewicz 71d6ceec1e update to new fdtd approach 2 years ago
Jan Petykiewicz faecc79179 typing and formatting updates 2 years ago
Jan Petykiewicz d42a625e5f typing updates 2 years ago
Jan Petykiewicz eedcc7b919 update for new Gridlock 2 years ago
Jan Petykiewicz 831c39246a drop pathlib prefix 2 years ago
Jan Petykiewicz 6b0182c102 update README 2 years ago
Jan Petykiewicz e2ef6d1c8d move to hatch-based build 2 years ago
Jan Petykiewicz c0bbc1f46d fix fdtd pmls
integrate them into the update operations
3 years ago
Jan Petykiewicz 01b4971388 Overlap is computed with the conjugate 3 years ago
Jan Petykiewicz d3db3ca91e fix formula not rendering 3 years ago