Program title: CUGatesDensity.m
Catalogue identifier: AEPY_v1_0
Program summary URL:
Program obtainable from: CPC Program Library, Queen鈥檚 University, Belfast, N. Ireland
Licensing provisions: Standard CPC licence,
No. of lines in distributed program, including test data, etc.: 5368
No. of bytes in distributed program, including test data, etc.: 143994
Distribution format: tar.gz
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.
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 examples provided in the notebook CUGatesDensity.nb take approximately 30 s to run on a laptop PC.