Closed alastair-marshall closed 2 years ago
Maybe I misunderstand the code, but isn’t test
the propagated state from the original ρ0vec
for Newton? The propagate
routine is not in-place
Apart from that I think propagate
might be doing one less time step than test_prop
. It make one step per interval, not one step per time grid point
Yes it is but the evolution should just be a Rabi period so they should end up the same, it's definitely not a good example
Ah okay I can quickly check that
Apart from that I think
propagate
might be doing one less time step thantest_prop
. It make one step per interval, not one step per time grid point
Yup thats it
Maybe I'm using the
propagate
function wrongly but here's a not very minimal working example: