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.
IQFT
(*args, **old_assumptions)[source]¶ The inverse quantum Fourier transform.
-
class
sympy.physics.quantum.qft.
QFT
(*args, **old_assumptions)[source]¶ The forward quantum Fourier transform.
-
sympy.physics.quantum.qft.
Rk
¶ alias of
sympy.physics.quantum.qft.RkGate