qiskit.algorithms.PhaseEstimation.estimate_from_pe_circuit¶
-
PhaseEstimation.
estimate_from_pe_circuit
(pe_circuit, num_unitary_qubits)[source]¶ Run the the phase estimation algorithm on a phase estimation circuit
- Parameters
pe_circuit (
QuantumCircuit
) – The phase estimation circuit.num_unitary_qubits (
int
) – Must agree with the number of qubits in the unitary in pe_circuit.
- Return type
PhaseEstimationResult
- Returns
An instance of qiskit.algorithms.phase_estimator_result.PhaseEstimationResult.