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

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.

Methods:

  • addInstruction
  • clear
  • getProgramPointer
  • getString
    addInstruction( self, instructionString )

    Adds an instruction to the program parsed from instructionString.


    clear( self )

    Removes all instructions from this program.


    getProgramPointer( self )


    getString( self )

    Returns the text for this program.