HamiltonianGatesRx Method |
Performs a Pauli X rotation.
This is functionally equivalent to Rpauli theta X 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 Rx :
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 rotated.
See Also