Jan Petykiewicz
35b5a8c5b9
move some functions
3 months ago
Jan Petykiewicz
9ef62b92d5
nn -> nC
3 months ago
Jan Petykiewicz
711ce119d0
fix npy->numpy
3 months ago
Jan Petykiewicz
6937bbf455
use slices
3 months ago
Jan Petykiewicz
ce3e47daa9
comment out some eme notes
3 months ago
Jan Petykiewicz
99461dc129
alternate connect_s
3 months ago
Jan Petykiewicz
0ad78271ca
more wip
3 months ago
Jan Petykiewicz
2c5c40c1e7
wip junk
3 months ago
Jan Petykiewicz
1b3d322fc6
some work on FDFD derivation
5 months ago
Jan Petykiewicz
107c0fcd7e
set fdfd sources in a way that catches incorrect j.e calculation
5 months ago
Jan Petykiewicz
c3b6fd94a6
should be e dot j.conj()
5 months ago
Jan Petykiewicz
5c3b3532a9
M should be same timestep as E
5 months ago
Jan Petykiewicz
24da3f673b
eigness is positive
1 year ago
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
2 years 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