OpenQubit Class Index
Exception Classes
Q_Exception Group of all OpenQubit Exceptions.
Q_Exception::ControlErr Attempt to modify controlling bit.
Q_Exception::GeneralErr General Exception.
Q_Exception::MallocErr Memory Allocation Exception.
Q_Exception::NormErr Illegal normalized value for coefficients.
Q_Exception::RangeErr Range Error.
Q_Exception::SizeErr Coefficient array too large for state.
Quantum Operators and Gates
DoAllBits<class OperatorType> This class allows any operator to work on all bits of a state.
ModExp Modular Exponentiation
Q_GateMatrix
Q_GateMatrix::Controlled Base for multi-bit (multi-controlled one bit) gates.
Q_GateMatrix::SingleBit Base for one-bit gates.
opFFT Fast Fourier Transform
opHadamard<class BaseClassT> Hadamard operator [|0> -> |0> + |1> and |1> -> |0> - |1>]
opNOT<class BaseClassT> SingleBit == Pauli negation, Controlled == CNot
opPhaseShift<class BaseClassT> Scalar multiplication on z-axis
opRotPhase<class BaseClassT> Rotation on z-axis
opRotQubit<class BaseClassT> Rotation on y-axis
opSPhaseShift Shor's phase shift operator (double-controlled phase shift);
opUnitary<class BaseClassT> General Unitary operator.
Quantum State/Register [OpenQubit Core]
Q_BitSet Quantum register, a reference to a part of the Q_StateVector.
Q_StateVector Quantum State of machine including memory management facilities. [Static]
RandLib
DblUniformRandGenerator Double-precision RNG using "uniform" algorithm
IntStdRandGenerator Integer RNG encapsulating standard functions like rand()
IntUniformRandGenerator Integer RNG using "uniform" algorithm
RandGenerator<class T> Interface to which all RNG classes in RandLib must conform