QFT
An implementation of qubits and gates acting on them.
Todo:
- Update docstrings.
- Update tests.
- Implement apply using decompose.
- Implement represent using decompose or something smarter. For this to
work we first have to implement represent for SWAP.
- Decide if we want upper index to be inclusive in the constructor.
- Fix the printing of Rk gates in plotting.
-
class sympy.physics.quantum.qft.QFT
The forward quantum Fourier transform.
-
decompose()
Decomposes QFT into elementary gates.
-
class sympy.physics.quantum.qft.IQFT
The inverse quantum Fourier transform.
-
decompose()
Decomposes IQFT into elementary gates.
-
class sympy.physics.quantum.qft.RkGate
This is the R_k gate of the QTF.
-
sympy.physics.quantum.qft.Rk
alias of RkGate