Perform the Hadamard (square root of Not) operation to the specified qubits.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister OperationHadamard( int[] Indexes )
Public Function OperationHadamard ( _ Indexes As Integer() _ ) As IQuantumRegister
public: virtual IQuantumRegister^ OperationHadamard( array<int>^ Indexes ) sealed
- Indexes (array< Int32 >[]()[])
- Indexes of qubits to apply the operations to.
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | Thrown if the indexes do not exist
in the register. |
| NotImplementedException | This method is not yet
implemented. |