QuantumInfo.StatMech.Hamiltonian
4 declarations
is a finite set
Let be a type of parameters and be a microcanonical Hamiltonian (of type `MicroHamiltonian D`). For any parameter , the dimension of the state space associated with that parameter, denoted as , 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.
Standard Microcanonical () Hamiltonian
The standard microcanonical ensemble Hamiltonian, denoted as , is a `MicroHamiltonian` where the underlying state space (or data type) is defined as the Cartesian product . Here, a state is represented by a pair , where denotes the total number of particles and denotes the volume of the system.
Number of particles of a Hamiltonian state
Given an Hamiltonian state represented as a pair , where is the number of particles and is the volume, this function extracts the first component of the pair to return the number of particles .
Volume of a Hamiltonian state
Given an Hamiltonian state represented as a pair , where is the number of particles and is the volume, this function extracts the second component of the pair to return the volume .
