Quantum Computing, Quantum Physics, Programming, Physics, Science.
vectors, we can say that our simulation was pretty accurate! As a more mathematically rigorous comparison, we can use state fidelity, which also shows us that our simulation is pretty good! from qiskit.quantum_info import state_fidelity state_fidelity(qvec, cvec) Which gives: 0.9999834345555809