This is the final version of QCE. If you find bugs please let us know and we will fix them. For a summary of changes see History.
A detailed account of how QCE works and some examples can be found in our Computer Physics Communication paper (Comp. Phys. Comm. 132, 94 (2000)). See the "DOC" subdirectory for this paper (qce1.pdf) and other .pdf files that contain descriptions of other examples. A much more detailed description of the examples included in the QCE software distribution can be found in qceman.pdf . A long write up on the algorithms used to simulate models for quantum computers can be found in revqcs3.pdf.
Do not run INST-QCE.EXE on a Windows 95 system: You may
(and probably will) have to reinstall Windows 95.
To install QCE: Run (double-click on) the installation file INST-QCE.EXE .
Respond to the questions asked.
In case of problems send e-mail to h.a.de.raedtrug.nl.
QCE interprets floating point numbers according to the Window's Regional
Settings. Make sure that Regional Settings is set to English (United States) or
use the Control Panel/Regional Settings to change the number format (decimal
symbol "." , etc.) such that it matches the one used in science.
Here is a snapshot of the Windows 7 screen that shows where to make these changes:
Note about .ocx files: If "missing file" messages appear during startup, the following may help
An uninstall procedure is included.
Note: If you choose to let the QCE installation procedure replace an older QCE version, only files that are part of the installation will be replaced. No files will be deleted.
QCE version 5 and higher has an option to animate qubits in real time. This option requires that Microsoft DirectX7/DirectX8 is installed on your system. Currently Microsoft only supports DirectX7 under Windows 98 (not under NT4) and Windows 2000. The latter has DirectX7 build in. If QCE cannot find DirectX7 support on your machine it will disable the real-time animation feature.
QCE works with DirectX7 as well as DirectX8. If your system already has DirectX7 there is no need to install DirectX7. If you don't have DirectX7 and you want to use the animation feature you may as well install DirectX8. DirectX8 can be downloaded from Microsoft Download Center, free of charge.
The "Settings" menu controls the visualization of the qubits. You can also turn on the option to write the qubit information to files (named qubit01.out, etc.).
QCE version 10 does not support DirectX11, the default on Windows 7. Therefore the qubit animation feature is turned off.
Start \QCE\QCE.EXE by your method of choice. A full-screen window opens and
the QCE is ready for use.
QCE.EXE expects to find a recent release of some Microsoft DLL's and other
system software on your machine. In case there is some incompatibility QCE will
most likely crash during start up (see installation).
Below it is assumed that the root directory for QCE is \QCE . Any other name
will do too. Part of the directory structure, namely
\QCE\QCE.EXE , \QCE\*.DLL
\QCE\MI
\QCE\DOC
should not be modified, moved etc.
To execute a Quantum Program (QP) with QCE:
To modify/add/manipulate MI's and MI sets use the buttons on the MI Set window:
To modify a QP:
The list below gives an overview of the MI-sets and QP's that will be installed. These examples serve to illustrate the use of QCE. You can "click" yourself through these examples, just to see how QCE works. The basic examples are discussed in more detail in qceman.pdf which can be found in the QCE\DOC directory. Other papers may be found on the QCE\DOC directory or on this Web site.
Quantum Algorithm | MicroInstruction set | QuantumProgram Directory | Comments |
Basic examples | |||
Deutsch-Jozsa | ideal | Deutsch-Jozsa | Ideal QC |
Deutsch-Jozsa | nmr | Deutsch-Jozsa | NMR experiment of Chuang et al. at T=0 |
Grover | ideal | Grover | Ideal QC |
Grover | nmr | Grover | NMR experiment of Chuang et al. at T=0 |
Grover | ideal-jones | Jones | experiment of Jones et al. on an ideal QC, see qcejon1.pdf |
Grover | nmr-jones | Jones | NMR experiment of Jones et al. at T=0, see qcejon1.pdf |
Grover | nmr-jones02 | Jones | nmr-jones, with the strength of the pulse /2, see qcejon1.pdf |
Grover | nmr-jones04 | Jones | nmr-jones, with the strength of the pulse /4, see qcejon1.pdf |
Grover | nmr-jones08 | Jones | nmr-jones, with the strength of the pulse /8, see qcejon1.pdf |
Grover | nmr-jones10 | Jones | nmr-jones, with the strength of the pulse /10, see qcejon1.pdf |
Collins et al. | ideal | Collins | see qce1.pdf |
Collins et al. | nmr | Collins | see qce1.pdf |
D-J, Grover, Collins | nmr-long | see above | nmr, very small time-step, test of TDSE solver |
The examples below illustrate the sensitivity of non-ideal QCs to changes in the basic instructions (MI's), see cnot4.pdf | |||
CNOT | cnot-ideal | cnot | ideal QC |
CNOT | cnot-nmr-k*** | cnot | nmr, RF field in x or y difrection |
CNOT | cnot-rf-k*** | cnot | nmr, rotating RF field |
Grover | grov-ideal | grover2 | ideal QC |
Grover | grov-nmr-k*** | grover2 | nmr, RF field in x or y difrection |
Grover | nmr-rf-k*** | grover2 | nmr, rotating RF field |
Examples of a 4 qubit QC, using 2 qubits for the database and another 2 qubits for Grover's algorithm, see qceathxx.pdf, qcejon1.pdf | |||
Grover | ideal4qubits | 4qubits | 4-qubit version, demonstrates copy qubit, etc. |
Grover | nmr4qubits | 4qubits | 4-qubit version, demonstrates copy qubit, etc. |
Simple gates | |||
gates (ideal QC) | gates | gates | CNOT and Toffoli gate |
gates (NMR-like QC) | xyz | xyz | CNOT and Toffoli gates, also see QCE examples |
Quantum Fourier Transform | |||
QFT | dft | dft | QFT on 2,3,4 qubits |
Number partitioning on a 15 qubit QC: Examples that show how a QC solves the partitioning problems {1,2,3,4}, {1,1,1,4}, {2,2,2,4} | |||
Npp | npp | npp | see physletta.pdf for more details |
Order finding on an ideal QC, see L.M.K. Vandersypen et al. , Phys. Rev. Lett. 85, 5452 (2000) | |||
Order finding | order | r=1 | order of permutation = 1 |
Order finding | order | r=2 | order of permutation = 2 |
Order finding | order | r=3 | order of permutation = 3 |
Order finding | order | r=4 | order of permutation = 4 |
Fourier transform | order | dft3 | quantum Fourier transform on 3 qubits |
CNOT & Toffoli gates | order | cnot14, ..., tof145, ... | simple gates, many examples |
Factoring 15 using Shor's algorithm on an ideal QCs, see L.M.K. Vandersypen et al., Nature 414, 883 (2001) | |||
Shor | shor | Figure1b | See Fig1b in L.M.K. Vandersypen et al., Nature 414, 883 (2001) |
Shor | Shor | a=2 | Factoring using a=2 as random input |
Shor | Shor | a=7 | Factoring using a=7 as random input |
Shor | Shor | a=11 | Factoring using a=11 as random input |
Fourier transform | Shor | dft3 | quantum Fourier transform on 3 qubits |
CNOT & Toffoli gates | Shor | cnot34, ..., tof257, ... | CNOT and Toffoli gates, several examples |
Example of a 3 (4-qubit) register adder (see Fig3.4 in S.Bettelli's PhD thesis) | |||
Fig3.4 | Fig3.4 | 1+1+1 | 1+1+1=3 mod 16 |
Fig3.4 | Fig3.4 | 1+2+3 | 1+2+3=6 mod 16 |
Fig3.4 | Fig3.4 | 9+9+9 | 9+9+9=11 mod 16 |
Examples of a 8 qubit QC, simulating spin waves in the Heisenberg model (requires DirectX support, see above) | |||
Schrödinger eq. | spinwaves | antiferromagnet | visualization of 8 spins in a ring, antiferromagnet |
Schrödinger eq. | spinwaves | spinwaves | visualization of 8 spins in a ring, ferromagnet |
Version 10.11 (28 November 2010)
Version 8.1.1 (27 June 2004)
Version 8.1.0 (26 July 2003)
Version 8.0.4 (07 November 2002)
Version 8.0.3 (25 March 2002)
Version 8.0.2 (29 December 2001)
Version 8.0.1 (19 October 2001)
Version 8.0.0 (2 April 2000)
Version 7.1.2 (07 January 2000)
Version 7.1.1 (19 December 2000)
Version 7.0.1 (30 September 2000)
Version 7.0.0 (08 August 2000)
Version 6.1.6 (30 April 2000)
Version 6.1.5 (7 February 2000)