quantum_notebooks
quantum_notebooks copied to clipboard
Jupyter Notebooks that demonstrate SymPy's symbolic quantum mechanics package.
Sympy's Symbolic Quantum Mechanics Package
SymPy is a symbolic mathematics library for the Python
programming language. SymPy has a subpackage, sympy.physics.quantum that implements a general symbolic
quantum mechanics package for Python, and a number of specific
quantum system on top of that:
- Quantum angular momentum.
- Quantum computing.
- Simple harmonic oscillator.
This repository contains a set of Jupyter Notebooks that
demonstrate the capabilities of sympy.physics.quantum.
You can browse static version of these notebooks here on GitHub, or click the binder badge below to launch a live Jupyter Notebook server with the notebooks in this repo.
Example
Here is an example of using sympy.physics.quantum to create a 3
qubit Quantum Fourier Transform,
decompose the circuit into primitive gates, and then visualize the circuit:
