These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

## Object : QProgram

This class is included as part of the file QGAME.tz.
To use this class in a simulation, include the line "@use QGAME."

### Class description:

> An interface to a quantum program in qgame++ Quantum Gate And Measurement Emulator, a quantum computing simulator. To be used in conjunction with QSystem.

> Note: the QGAME library is not built-in to the standard breve distribution. Use of this class may require compiling breve from the source code with support for QGAME.

### Class methods:

> - add-instruction
> - clear
> - get-string

`add-instruction with-string instructionString (string)`

> Adds an instruction to the program parsed from instructionString.

`clear`

> Removes all instructions from this program.

`get-string`

> Returns the text for this program.

Documentation created Thu Jul 3 18:18:12 2008