Click or drag to resize
HamiltonianGatesCRz Method
Performs a Controlled Pauli Z rotation.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
static member CRz : 
        theta : float * 
        factor : float * 
        subs : string * 
        qs : FSharpList<Qubit> -> unit 

Parameters

theta
Type: SystemDouble
The rotation angle. 4*pi is a full rotation.
factor
Type: SystemDouble
A multiplier, used to compute the gate label.
subs
Type: SystemString
A subscript to attach to the gate label. Use an empty string, "", if no subscript is desired.
qs
Type: Microsoft.FSharp.CollectionsFSharpListQubit
The first qubit in the list is the control; the second qubit is the target.
See Also