FermionRun Method (DictionaryString, String, FSharpFuncDouble, FSharpFuncFSharpListQubit, Unit, Ket) |
Runs a Fermion test from a pre-built circuit and state vector.
See the Users Manual for details on the parameters.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax static member Run :
dic : Dictionary<string, string> *
Ua : FSharpFunc<float, FSharpFunc<FSharpList<Qubit>, Unit>> *
ket : Ket -> Tuple<int, Fermion>
Parameters
- dic
- Type: System.Collections.GenericDictionaryString, String
A dictionary of options. See the Remarks for details. - Ua
- Type: Microsoft.FSharp.CoreFSharpFuncDouble, FSharpFuncFSharpListQubit, Unit
A gate, usually a wrapped Circuit, that implements the Hamiltonian.
The gate's parameter is the time step to evolve by. - ket
- Type: Microsoft.Research.LiquidKet
The state vector to use as the initial state.
Return Value
Type:
TupleInt32,
FermionA tuple of the phase estimation error bit, which will be -1 if no error occured,
and the Fermion instance that was run.
The
Phase and
Energy properties
of the Fermion instance may be read to get the phase estimation results.
Remarks
The possible options to specify in the dictionary are:
...
For more information, see the Users Manual.
See Also