sympy/quantum_notebooks

Name: quantum_notebooks

Owner: SymPy

Description: Jupyter Notebooks that demonstrate SymPy's symbolic quantum mechanics package.

Created: 2017-10-04 17:54:57.0

Updated: 2018-05-18 12:30:30.0

Pushed: 2017-10-18 20:16:48.0

Homepage:

Size: 397

Language: Jupyter Notebook

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.