German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.algorithms.IterativeAmplitudeEstimation.construct_circuit

IterativeAmplitudeEstimation.construct_circuit(estimation_problem, k=0, measurement=False)[Quellcode]

Construct the circuit \(\mathcal{Q}^k \mathcal{A} |0\rangle\).

The A operator is the unitary specifying the QAE problem and Q the associated Grover operator.

Parameter
  • estimation_problem (EstimationProblem) – The estimation problem for which to construct the QAE circuit.

  • k (int) – The power of the Q operator.

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

Rückgabe

The circuit implementing \(\mathcal{Q}^k \mathcal{A} |0\rangle\).

Rückgabetyp

QuantumCircuit