Skip to content

sympy/quantum_notebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Binder

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:

Quantum Fourier Transform