Spin Methods

Liquid Quantum Simulator

Spin Methods

The Spin type exposes the following members.

Methods
  Name Description
Public method 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.
Public method EnergyExpectation
Finds the expectation value of the Hamiltonian. That is, given a state vector |psi>, this method computes <psi|H|psi>.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method Static member Ferro
Test adiabatic evolution with a ferro-magnetic chain
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Peek
Peeks at the current Hamiltonian matrix. This is based on the most recently grown circuit.
Public method Prep
Prepares the qubit state for a run. All qubits are resets and initialized to the ground state.
Public method Run
Runs the simulation. This is a highly optimized implementation.
Public method Step
Performs a single timestep of simulation.
Public method Static member Test(String, Int32, Int32, FSharpListTupleInt32, Double, Int32, Spin, FSharpOptionBoolean, FSharpOptionFSharpListTupleFSharpFuncQubit, Unit, Double)
Executes a set of simulation runs for a spin Hamiltonian.
Public method Static member 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.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also