AmplitudeEstimation.construct_circuit

AmplitudeEstimation.construct_circuit(measurement=False)[source]

Construct the Amplitude Estimation quantum circuit.

Parameters

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

Return type

QuantumCircuit

Returns

The QuantumCircuit object for the constructed circuit.