The Language-Integrated Quantum Operations (LIQUi|>) Simulator
Spin Methods |
The Spin type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Copy |
Returns an instance of Spin with the same Hamiltonian parameters as this instance.
Simulation parameters such as run time and Trotter number are not copied.
|
![]() |
EnergyExpectation |
Finds the expectation value of the Hamiltonian.
That is, given a state vector |psi>,
this method computes <psi|H|psi>.
|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() |
Ferro |
Test adiabatic evolution with a ferro-magnetic chain
|
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Peek |
Peeks at the current Hamiltonian matrix.
This is based on the most recently grown circuit.
|
![]() |
Prep |
Prepares the qubit state for a run.
All qubits are resets and initialized to the ground state.
|
![]() |
Run |
Runs the simulation.
This is a highly optimized implementation.
|
![]() |
Step |
Performs a single timestep of simulation.
|
![]() ![]() |
Test(String, Int32, Int32, FSharpListTupleInt32, Double, Int32, Spin, FSharpOptionBoolean, FSharpOptionFSharpListTupleFSharpFuncQubit, Unit, Double) |
Executes a set of simulation runs for a spin Hamiltonian.
|
![]() ![]() |
Test(String, Int32, Int32, DictionaryInt32, Double, DictionaryTupleInt32, Int32, Double, FSharpListTupleInt32, Double, Double, Int32, FSharpOptionBoolean, FSharpOptionFSharpListTupleFSharpFuncQubit, Unit, Double) |
Executes a set of simulation runs for a spin Hamiltonian.
|
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
