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