SpinTerm Constructor (Int32, FSharpFuncDouble, FSharpFuncFSharpListQubit, Unit, FSharpListInt32, Double) |
Initializes a new SpinTerm instance.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax new :
s : int *
o : FSharpFunc<float, FSharpFunc<FSharpList<Qubit>, Unit>> *
idx : FSharpList<int> *
a : float -> SpinTerm
Parameters
- s
- Type: SystemInt32
The numerical id, zero-based, of the annealing schedule corresponding to this term. - o
- Type: Microsoft.FSharp.CoreFSharpFuncDouble, FSharpFuncFSharpListQubit, Unit
A function which performs the operation of this term over a given angle. - idx
- Type: Microsoft.FSharp.CollectionsFSharpListInt32
A list of integer indices specifying the qubits to apply this term to. - a
- Type: SystemDouble
The numerical coefficient ('strength') leading this term.
See Also