The Language-Integrated Quantum Operations (LIQUi|>) Simulator
HamiltonianGatesCGtheta Method |
Performs a controlled global phase rotation.
Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)

F#
static member CGtheta : theta : float * factor : float * qs : FSharpList<Qubit> -> unit
Parameters
- theta
- Type: SystemDouble
The rotation angle. 2*pi is a full rotation. - factor
- Type: SystemDouble
A multiplier, used to compute the gate label. - qs
- Type: Microsoft.FSharp.CollectionsFSharpListQubit
The first qubit in the list is the control; the second qubit is the target.
