Japanese
言語
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.