#include <qggates.h>
Inheritance diagram for qgame::QGate:
Public Member Functions | |
virtual std::string | dump () const |
Return a string describing the gate. | |
virtual unsigned int | numQb ()=0 |
Number of qubits manipulated, NOT amplitudes. | |
virtual void | apply (QuSubReg &)=0 |
Apply gate to given qubits. |
All quantum gates are derived from this (virtual) base class and must implement numQb() and apply().
Definition at line 42 of file qggates.h.