PhyslibSearch

QuantumInfo.StatMech.Hamiltonian

4 declarations

instance

H.dim(d)H.\text{dim}(d) is a finite set

#microHamiltonianFintype

Let DD be a type of parameters and HH be a microcanonical Hamiltonian (of type `MicroHamiltonian D`). For any parameter dDd \in D, the dimension of the state space associated with that parameter, denoted as H.dim(d)H.\text{dim}(d), is a finite set (represented by the typeclass `Fintype`). This definition provides an instance to the global cache ensuring that finite measures and other properties requiring finiteness can be automatically synthesized for these dimensions.

abbrev

Standard Microcanonical (N,VN, V) Hamiltonian

#NVEHamiltonian

The standard microcanonical ensemble Hamiltonian, denoted as NVEHamiltonianNVE\text{Hamiltonian}, is a `MicroHamiltonian` where the underlying state space (or data type) DD is defined as the Cartesian product N×R\mathbb{N} \times \mathbb{R}. Here, a state is represented by a pair (N,V)(N, V), where NNN \in \mathbb{N} denotes the total number of particles and VRV \in \mathbb{R} denotes the volume of the system.

definition

Number of particles NN of a Hamiltonian state (N,V)(N, V)

#N

Given an NVN-V Hamiltonian state represented as a pair (N,V)N×R(N, V) \in \mathbb{N} \times \mathbb{R}, where NN is the number of particles and VV is the volume, this function extracts the first component of the pair to return the number of particles NN.

definition

Volume VV of a Hamiltonian state (N,V)(N, V)

#V

Given an NVN-V Hamiltonian state represented as a pair (N,V)N×R(N, V) \in \mathbb{N} \times \mathbb{R}, where NN is the number of particles and VV is the volume, this function extracts the second component of the pair to return the volume VV.