Quantum Algorithms, Quantum Computing, Physics, Mathematics, Education.
desired density matrix quite easily. You may think we are done here. The density matrix as we have it gives good fidelity results, but remember we are only working with one qubit at the moment. In this case, increasing the number of shots to simulate the circuit helps increase the fidelity.