HamiltonianGates.Gtheta Method

Liquid Quantum Simulator

HamiltonianGatesGtheta Method
Performs a global phase rotation. This is functionally equivalent to Rpauli (2.0*theta) I qs, but has some additional drawing options.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
static member Gtheta : 
        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 rotated.
See Also