# qiskit.quantum_info.Statevector.reverse_qargs¶

Statevector.reverse_qargs()[Quellcode]

Return a Statevector with reversed subsystem ordering.

For a tensor product state this is equivalent to reversing the order of tensor product subsystems. For a statevector $$|\psi \rangle = |\psi_{n-1} \rangle \otimes ... \otimes |\psi_0 \rangle$$ the returned statevector will be $$|\psi_{0} \rangle \otimes ... \otimes |\psi_{n-1} \rangle$$.

Rückgabe

the Statevector with reversed subsystem order.

Rückgabetyp

Statevector