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 qubits

  • degree (int) – The degree of approximation. 0 is the minimum value and causes no approximation so will in fact be the same as a StandardQFT.

Methods

Approximate.construct_circuit([mode, …])

Construct the circuit.