class opOneBit

Abstract base for one-bit gates.

Concepts/Code by: Rafal Podeszwa, Christopher Dawson, Peter Belkner
Additional Contributions by: Yan Pritzker
Members

Public
void operator() (QState&, int bit) : Operator for application of gate to a QState.

Protected
opOneBit (const Complex &a00, const Complex &a01, const Complex &a10, const Complex &a11) : Constructor with specified coefficients for unitary matrix.




Return To Index