Perform the Z gate operation to the qubit in the register.
| C# | Visual Basic | Visual C++ |
IQuantumRegister OperationZGate()
Function OperationZGate As IQuantumRegister
IQuantumRegister^ OperationZGate()
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| SizeMismatchException | Thrown if the register does not
contain one qubit. |