Skip to content

Simulators

quantum-utils-mathematica

Maintained by QuantumUtils

QuantumUtils for Mathematica is a software library for quantum information scientists.

MathematicaBSD-3-Clause
quantum-utils-mathematica illustration

Resource snapshot

Category

Simulators

Stars

78

Last pushed

May 30, 2018Updated 8y ago

Open issues

14

What it is

quantum-utils-mathematica is maintained by QuantumUtils and sits in the Simulators lane of the open-source quantum map.

QuantumUtils for Mathematica is a software library for quantum information scientists.

Last verified by Qtangl generator on May 27, 2026

Who it's for

Developers and researchers who need to test ideas locally before running on hardware or who want to compare simulation strategies.

What you can build or learn

  • Benchmark how different simulation methods trade accuracy for runtime.
  • Inspect circuit behavior, noise assumptions, or state evolution offline.
  • Choose the right simulator for a debugging, teaching, or research workflow.

License

BSD-3-Clause

SPDX identifier detected from the repository metadata or license files.

Repository README

Preview from the project README.

Rendered as Markdown inside a scrollable preview. Long READMEs stay contained; expand or open on GitHub for the full document.

~393 words · about 2 min readOpen on GitHub

QuantumUtils for Mathematica

QuantumUtils for Mathematica is a software library for quantum information scientists. Features include:

  • Multi-partite tensor manipulations
  • Quantum system modelling including qudits, circuits, spins, and cavities
  • Symbolic Lie algebra simplification for spin and cavity systems
  • Quantum channels in multiple representations
  • Numerical and symbolic simulators for open and closed quantum system evolution
  • An implementation of GRadient Ascent Pulse Engineering including distortions
  • Perturbative expansion tools such as the Magnus series, the Zassenhaus formula, and matrix power series
  • Visualization functions for displaying matrices, quantum states, data etc.

Requirements

QuantumUtils officially requires Mathematica 10.0.0 or newer. Most features should work with Mathematica 9, and full compatibility with Mathematica 9 will be added in the future. Older versions of Mathematica are not supported.

Installation

Once this repository is cloned onto your computer, open the Install.nb notebook in Mathematica and follow instructions there (basically just Evaluation -> Evaluate Notebook).

The installation places and/or symlinks files in your $UserBaseDirectory/Applications folder.

QuantumUtils includes a suite of unit tests to check if the installed packages are running correctly. After installation these tests can be accesed from the package QUTesting by running the commands:

Needs["QUTesting`"];
RunAllTests[]

Using QuantumUtils for Mathematica

Packages from the QuantumUtils for Mathematica library can be loaded by invoking the Needs function, for example:

Needs["QuantumChannel`"];

All packages provided by QuantumUtils for Mathematica can be loaded simultaneously by needsing QuantumUtils`:

Needs["QuantumUtils`"]

Documentation

It is highly recommended that the icon for opening/closing cell groups be enabled. This makes it easy to expand and contract sections in the documentation notebooks. This option can be found in the Interface tab of the Preferences window (Edit>Preferences in Windows/Linux, Mathematica>Preferences in MacOS).

Documentation is stored as .nb notebooks in the doc folder. The documentation index can be opened from within Mathematica at any time by evaluating:

<<QUDoc`

Alternatively, once any package from Quantum Utils for Mathematica has been loaded, the QUDoc[] function may be used:

QUDoc[]                       (* Opens index *)
QUDoc["QUPackageName`"]       (* Opens documentation notebook for QUPackageName` *)
QUDoc[FunctionName]           (* Opens and highlights documentation for FunctionName *)

For inline function descriptions, the usage text can be displayed using the ? symbol as with built-in functions:

?FunctionName

License

license

You are free to use this software, with or without modification, provided that the conditions listed in the LICENSE.txt file are satisfied.

Read on GitHub

Activity

Latest release

—

Watchers

13

Python support

—

Learn digest

Get monthly updates when library entries change.

Monthly digest: new library entries, updated flagships, and one editorial pick.

Related resources

Keep exploring nearby tools.

qosf

os_quantum_software

Curated list of open-source quantum software projects.

CC0-1.0

2,105 stars · Updated 4mo ago

BBN-Q

PySimulator

Python with C++ Backend Simulator for Superconducting Circuits QIP

PythonApache-2.0

8 stars · Updated 12y ago

QISKit

qiskit-tutorial

A collection of Jupyter notebooks showing how to use the Qiskit SDK

Jupyter NotebookApache-2.0Archive

2,522 stars · Updated 3y ago

0tt3r

QuaC

Time Dependent Open Quantum Systems Solver written by Matthew Otten (mjotten@wisc.edu)

CMIT

30 stars · Updated 2y ago

aniabrown

QuEST

A multithreaded, distributed, GPU-accelerated simulator of quantum computers

C++MITArchive

473 stars · Updated 3mo ago

adamisntdead

QuSimPy

A Multi-Qubit Ideal Quantum Computer Simulator

PythonAGPL-3.0

724 stars · Updated 5y ago