**SAITOH Akira ^{1}
Graduate School of Engineering Science, Osaka University, JAPAN**

This document describes the specification of an interpretative
simulation language for quantum circuit simulation and the usage of
the interpreter for it. This software borrows the matrix library of
the GAMMA NMR library ^{2} and the GNU read-line library.
The source file is available at `http://www.qc.ee.es.osaka-u.ac.jp/~saitoh/silqcs/`.
This software is released under the terms of GNU General
Public License version 2.0.

- Name and synopsis

- Grammar

- Set an initial state for pure-qubit computation
- Init with binary digits
- Init with complex magnitudes of each qubit
- Init with probabilities of individual qubits being 0

- Set an initial density operator for ensemble quantum computation

- Save and load the current vector or density matrix

- Intrinsic operations
- Single-qubit operations
- Controlled-U
- CNOT
- SWAP, Toffoli, Fredkin gates
- Quantum Fourier Transformation
- Projective measurement

- Non-intrinsic operations

- Visibility
- Reduced density operator

- Partial transpose
- Eigenvalues

- Print, show, etc.
- Print the current state
- Print a joint probability
- Print probabilities or biases (polarizations) of individual qubits
- Print the total binary entropy
- ``print'' command
- Precision in outputs

- Output the circuit image
- Program examples

- Frequently Asked Questions
- Warning message in calculating eigenvalues or in calculating the von Neumann entropy
- How to use an external calculator

- About this document ...

2004-06-15