Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.algorithms.IterativePhaseEstimation.estimate

IterativePhaseEstimation.estimate(unitary, state_preparation)[ソース]

Estimate the eigenphase of the input unitary and initial-state pair.

パラメータ
  • unitary (QuantumCircuit) – The circuit representing the unitary operator whose eigenvalue (via phase) will be measured.

  • state_preparation (QuantumCircuit) – The circuit that prepares the state whose eigenphase will be measured. If this parameter is omitted, no preparation circuit will be run and input state will be the all-zero state in the computational basis.

戻り値

Estimated phase in an IterativePhaseEstimationResult object.

例外

AlgorithmError – If neither sampler nor quantum instance is provided.

戻り値の型

IterativePhaseEstimationResult