netket.utils#

Generic functions#

Utility functions and classes.

is_probably_holomorphic

Check if a function \(\psi\) is likely to be holomorphic almost everywhere.

Dataclass and PyTree utilities#

struct.Pytree

Astract Base class for jaw-aware PyTree classes.

struct.field

Mark a field of a dataclass or PyTree to be:

Utils#

Utility functions and classes.

HashableArray

This class wraps a numpy or jax array in order to make it hashable and equality comparable (which is necessary since a well-defined hashable object needs to satisfy obj1 == obj2 whenever hash(obj1) == hash(obj2).

StaticRange

An object representing a range similar to python's range, but that works with jax.jit.

numbers.StaticZero

A static representation of 0, which can be used in Jax and attempts to behave like a normal jax array.

Symmetry Group Manipulation#

group.Permutation

group.PermutationGroup

Collection of permutation operations acting on sequences of length degree.

group.FiniteGroup

Collection of Elements expected to satisfy group axioms.

group.PointGroup

Collection of point group symmetries acting on n-dimensional vectors.