Korean
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.DensityMatrix.reverse_qargs

DensityMatrix.reverse_qargs()[소스]

Return a DensityMatrix with reversed subsystem ordering.

For a tensor product state this is equivalent to reversing the order of tensor product subsystems. For a density matrix \(\rho = \rho_{n-1} \otimes ... \otimes \rho_0\) the returned state will be \(\rho_0 \otimes ... \otimes \rho_{n-1}\).

반환

the state with reversed subsystem order.

반환 형식

DensityMatrix