Apply the Not (X gate) operation to the qubit.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister OperationNot()
Public Function OperationNot As IQuantumRegister
public: virtual IQuantumRegister^ OperationNot() sealed
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| SizeMismatchException | Thrown if the register contains
more than one qubit. |