Hi, I am trying to plot the solution of the Lindblad equation, for a Bell state probability density matrix, however I get non-zero entropy at t=0, which has to be zero.
All calculations show that the y-axis value of the plot should be 0 at t=0, but I still get a plot that starts at 0.032.
I think this is caused by numerical precision problems, of very very small numbers, such as 1.11022302e-16 . Why this is nonzero is strange it self, however, how can I round-up this to give zero ?
The code is attached
Thanks
All calculations show that the y-axis value of the plot should be 0 at t=0, but I still get a plot that starts at 0.032.
I think this is caused by numerical precision problems, of very very small numbers, such as 1.11022302e-16 . Why this is nonzero is strange it self, however, how can I round-up this to give zero ?
The code is attached
Thanks
Attached Files