Public | ||
virtual void | operator() (Q_BitSet &q, unsigned long mask, int bit=0) throws (Q_Exception::ControlErr) | : Operator for application of gate to a Q_BitSet.. |
void | SetMatrix (const Complex &a00, const Complex &a01, const Complex &a10, const Complex &a11) | : Allows reusal of a defined gate by changing its matrix. |
Protected | ||
Controlled (const Complex &a00=1, const Complex &a01=0, const Complex &a10=0, const Complex &a11=1) | : Constructor to create gate matrix (Identity Matrix by default) |