**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
- Save a matrix to a temporary file
- Delete a file
- Matrix file conversion into Octave, Maxima, and GP/PARI

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

- Non-intrinsic operations

- Noisy channel
- Visibility
- Reduced density operator

- Partial transpose
- Eigenvalues

- Distance measures

- 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-11-07