Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.DensityMatrix.to_statevector

DensityMatrix.to_statevector(atol=None, rtol=None)[소스]

Return a statevector from a pure density matrix.

매개변수
  • atol (float) – Absolute tolerance for checking operation validity.

  • rtol (float) – Relative tolerance for checking operation validity.

반환

The pure density matrix’s corresponding statevector.

Corresponds to the eigenvector of the only non-zero eigenvalue.

반환 형식

Statevector

예외 발생

QiskitError – if the state is not pure.