Approximate¶
- class Approximate(num_qubits, degree=0)[source]¶
The Approximate QFT.
This is an Approximate Quantum Fourier Transform as described in https://arxiv.org/abs/1803.04933.
- Parameters
num_qubits (
int
) – The number of qubitsdegree (
int
) – The degree of approximation. 0 is the minimum value and causes no approximation so will in fact be the same as aStandardQFT
.
Methods
Approximate.construct_circuit
([mode, …])Construct the circuit.