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

qiskit.algorithms.FasterAmplitudeEstimation.construct_circuit

FasterAmplitudeEstimation.construct_circuit(estimation_problem, k, measurement=False)[소스]

Construct the circuit \(Q^k X |0\rangle>\).

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

매개변수
  • estimation_problem (EstimationProblem) – The estimation problem for which to construct the circuit.

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

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

반환

The circuit \(Q^k X |0\rangle\).

반환 형식

QuantumCircuit | tuple[QuantumCircuit, list[int]]