GrowPars Class |
Namespace: Microsoft.Research.Liquid
[<SerializableAttribute>] type GrowPars = class end
The GrowPars type exposes the following members.
Name | Description | |
---|---|---|
GrowPars(FSharpOptionInt32, FSharpOptionInt32, FSharpOptionBoolean) |
Creates an instance with appropriate parameters for
Circuit.GrowGates,
which generates a denser circuit equivalent to an existing Circuit.
| |
GrowPars(Boolean, FSharpOptionInt32, FSharpOptionInt32, FSharpOptionInt32, FSharpOptionFSharpListInt32, FSharpOptionInt32, FSharpOptionBoolean, FSharpOptionBoolean, FSharpOptionTupleDouble, Boolean) |
Creates an instance with appropriate parameters for
Circuit.GrowSingle,
which generates a single unitary operation equivalent to an existing Circuit.
|
Name | Description | |
---|---|---|
AllowDense |
If true, allow dense matrices to be generated by
Circuit.GrowGates.
| |
Coalesce |
For Hamiltonian circuits, a tuple of a scale value and
a flag specifying whether or not to keep rotation gates around small angles.
The scale value is used if the flag is false.
See the Users' Guide for details.
| |
Diff |
For Fermion circuits, a list of allowed differences between spin-up and spin-down counts.
Effectively, this list constrains the possible values of the total net spin of valid configurations.
An empty list, [], means to allow any difference.
| |
ECnt |
For Fermion circuits, the valid total electron count (total number of occupied states).
A value of 0 means that any number of electrons is valid.
| |
Half |
For Fermion circuits, are the qubits ordered so that the first half are the spin-up states?
The alternative is for qubits to represent alternating spin-up andn spin-down states.
| |
MaxWires |
The maximum wire count for a single grown gate generated by
Circuit.GrowGates | |
OCnt |
For Fermion circuits, the number of electron states.
In chemical simulations, this is the spin orbital count.
| |
Parity |
For Fermion circuits, whether to enforce conservation of angular momentum via parity.
| |
Redund |
For Fermion circuits, whether to ignore (set to zero) portions of the resulting unitary
that don't satisfy the electron count,
parity check, or
net spin constraints.
See the Users' Guide for details.
| |
Single |
If true, build a single unitary; if false, grow gates into a denser circuit.
| |
Skip |
Count of initial qubits to skip (because they are used for phase estimation) in
Circuit.GrowSingle.
| |
Verbose |
The logging verbosity level.
Possible values are:
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Gets a string representation of this circuit grow parameter set.
(Overrides ObjectToString.) | |
VerboseSet |
Creates a new GrowPars with a different verbosity setting.
|