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

qiskit.algorithms.IterativePhaseEstimation.construct_circuit

IterativePhaseEstimation.construct_circuit(unitary, state_preparation, k, omega=0.0, measurement=False)[소스]

Construct the kth iteration Quantum Phase Estimation circuit.

For details of parameters, see Fig. 2 in https://arxiv.org/pdf/quant-ph/0610214.pdf.

매개변수
  • 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.

  • k (int) – the iteration idx.

  • omega (float) – the feedback angle.

  • measurement (bool) – Boolean flag to indicate if measurement should be included in the circuit.

반환

the quantum circuit per iteration

반환 형식

QuantumCircuit