Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aepy_v1_0.tar.gz(140 Kbytes)
Manuscript Title: CUGatesDensity - quantum circuit analyser extended to density matrices
Authors: T. Loke, J.B. Wang
Program title: CUGatesDensity.m
Catalogue identifier: AEPY_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 184(2013)2836
Programming language: Mathematica.
Computer: Any computer installed with a copy of Mathematica 6.0 or higher.
Operating system: Any system with a copy of Mathematica 6.0 or higher installed.
Keywords: Quantum circuit, Density matrix theory, Mixed state quantum computation.
PACS: 03.67.-a, 03.67.Pp, 03.67.Ac.
Classification: 4.15.

Nature of problem:
To simulate arbitrarily complex quantum circuits comprised of single/multiple qubit and qudit quantum gates with mixed state registers.

Solution method:
A density matrix representation for mixed states and a state vector representation for pure states are used. The construct is based on an irreducible form of matrix decomposition, which allows a highly efficient implementation of general controlled gates with multiple conditionals.

Running time:
The notebook provided takes approximately 30 seconds to run.