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