HamiltonianGatesTtheta Method |
Performs a phase gate rotation.
This is functionally equivalent to Rpauli (2.0*theta) T qs,
but has some additional drawing options.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax static member Ttheta :
theta : float *
factor : float *
subs : string *
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. - 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 rotated.
See Also