Hey,
i am currently simulating adiabatic quantum computation and i need to calculate the fidelty.
I compared the fidelity i got calculating per hand and using fidelity() for a simple hadamard gate with linear control parameters.
The output expected is (0 , 1) so the density matrix for this reads (0, 0, 0, 1). The density matrix gotten through adiabatic time evolution is (0.4,0,0,0.6) (I am running the computation really fast for testing purposes).
The Fidelity should be 0.6 according to
http://www.quantiki.org/wiki/Fidelity, but the qutip fidelity function returns something greater than 0.7.
Why is this?
Cheers
Fredrik