FermionRun Method (Boolean, FSharpOptionInt32) |
Runs the simulation to obtain a phase estimate.
A previous call to Build() or BuildSingle() is required.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax member Run :
single : bool *
maxTries : FSharpOption<int> -> FSharpOption<int>
Parameters
- single
- Type: SystemBoolean
Whether or not this Hamiltonian is built into a single Unitary. - maxTries
- Type: Microsoft.FSharp.CoreFSharpOptionInt32
An optional maximum number of measurements to take.
The default is 40.
Return Value
Type:
FSharpOptionInt32None if it succeeded, or Some (int bit position) if it failed.
See Also