Perform the Hadamard (square root of Not) operation on a qubit.
| C# | Visual Basic | Visual C++ |
IQuantumRegister OperationHadamard()
Function OperationHadamard As IQuantumRegister
IQuantumRegister^ OperationHadamard()
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| SizeMismatchException | Thrown if the register contains
more than one qubit. |