Adds a global phase on the registers' state. The operation is represented by the unitary matrix:
Assembly: Quantum (in Quantum.dll) Version: 126.96.36.199 (188.8.131.52)
- Type: System Double
The phase that is added to the registers' state.
- Type: Quantum RegisterRef
The reference to target qubit.
Usage NoteIn Visual Basic and C#, you can call this method as an instance method on any object of type QuantumComputer. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).