FourierTransformCircuits
class FourierTransformCircuits
DEPRECATED. Quantum Fourier Transform Circuit.
Methods
construct_circuit
static FourierTransformCircuits.construct_circuit(circuit=None, qubits=None, inverse=False, approximation_degree=0, do_swaps=True)
Construct the circuit representing the desired state vector.
Parameters
- circuit (QuantumCircuit) – The optional circuit to extend from.
- qubits (Union(QuantumRegister, list[Qubit])) – The optional qubits to construct the circuit with.
- approximation_degree (int) – degree of approximation for the desired circuit
- inverse (bool) – Boolean flag to indicate Inverse Quantum Fourier Transform
- do_swaps (bool) – Boolean flag to specify if swaps should be included to align the qubit order of input and output. The output qubits would be in reversed order without the swaps.
Returns
quantum circuit
Return type
Raises
AquaError – invalid input
Was this page helpful?
Report a bug or request content on GitHub.