mqt.bench.benchmarks.qpeexact

QOE exact benchmark definition.

Module Contents

create_circuit(num_qubits: int) QuantumCircuit[source]

Returns a quantum circuit implementing the Quantum Phase Estimation algorithm for a phase which can be exactly estimated.

Parameters:

num_qubits – Number of qubits of the returned quantum circuit. Must be at least 2.

Returns:

QuantumCircuit – A quantum circuit implementing the Quantum Phase Estimation algorithm for a phase which can be exactly estimated.