Skip to content
Functions for simulatin quantum computing in GNU Octave and Matlab
MATLAB C++ Makefile Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

General info

QuantumOctave is a set of GNU Octave functions for doing simulations of quantum computers (ie. finite-dimensional quantum systems). It provides means to operate on registers, build complex quantum gates and perform calculations with mixed states. Most functions utilize only basic algebraic operation and should work with Matlab® as well.

Note This package is not mainteined anymore.


To use quantum-octave you need GNU Octave or MathWorks Matlab.

Package was tested with GNU Ocatve versions 3.1 and some function may not work with older version of GNU Octave.

Package source code can be downloaded from Github

git clone

In GNU Octave use addpath to use the package

addpath <download-dir>/quantum-octave/src

Alternatively you can start Octave in the <download-dir>/quantum-octave directory where .octaverc file is located.


Most of the quantum-octave functions are documented within source files. In particular, you should find this package useful if you are interested in

  • construction of quantum states,
  • construction of the quantum circuit,
  • testing properties of states and matrices,
  • analysis of entanglement,
  • operations including partial transposition and partial trace.
You can’t perform that action at this time.