QuantumCircuit.reverse_bits()
affects the state vector but not the density matrix
#2190
Labels
bug
Something isn't working
Informations
What is the current behavior?
QuantumCircuit.reverse_bits()
affects the bit order in the state vector but not the density matrixSteps to reproduce the problem
Output:
What is the expected behavior?
The effect of
QuantumCircuit.reverse_bits()
on the result should be consistent (should be unified to either have no effect on the order of bits in bothStatevector
andDensityMatrix
, or to have an effect).The text was updated successfully, but these errors were encountered: