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 maintained anymore. For the alternative see: QI package for Mathematica.
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 email@example.com:iitis/quantum-octave.git
In GNU Octave use
addpath to use the package
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.