Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Jordan–Wigner representation of a general fermion Hamiltonian FermionHamiltonian.
This representation may only be created from instances of FermionHamiltonian,
and stores term data in a format suitable for consumption by Q#,
and optimized for a product formula Hamiltonian simulation algorithm.
This supports the following FermionTermType:
IdentityTermType,
PPTermType,
PQTermType,
PQQPTermType,
PQQRTermType,
PQRSTermType.
Some optimizations are performed:
public class PauliHamiltonian : Microsoft.Quantum.Chemistry.Generic.Hamiltonian<Microsoft.Quantum.Chemistry.TermType.PauliTerm,Microsoft.Quantum.Chemistry.Paulis.PauliTerm,Microsoft.Quantum.Chemistry.Paulis.PauliTermValue>
type PauliHamiltonian = class
inherit Hamiltonian<TermType.PauliTerm, PauliTerm, PauliTermValue>
Public Class PauliHamiltonian
Inherits Hamiltonian(Of TermType.PauliTerm, PauliTerm, PauliTermValue)