Function to give length_scale associated with Wigner-Seitz radius.
openfermion.hamiltonians.wigner_seitz_length_scale(
wigner_seitz_radius: float,
n_particles: int,
dimension: int
) -> float
Used in the notebooks
Args |
wigner_seitz_radius (float): The radius per particle in atomic units.
n_particles (int): The number of particles in the simulation cell.
dimension (int): The dimension of the system.
|
Returns |
length_scale (float): The length scale for the simulation.
|
Raises |
ValueError
|
System dimension must be a positive integer.
|