netket.errors#

Netket has the following classes of errors.

Error classes#

HilbertIndexingDuringTracingError

Illegal attempt to use state indexing function from inside of a Jax function transformation.

HolomorphicUndeclaredWarning

Complex-to-Complex model detected.

JaxOperatorSetupDuringTracingError

Illegal attempt to use a Jax-operator Numba-operators constructed inside of a Jax function transformation with non-constant data.

NonHolomorphicQGTOnTheFlyDenseRepresentationError

QGTOnTheFly cannot be converted to a dense matrix for non-holomorphic functions which have complex parameters.

NumbaOperatorGetConnDuringTracingError

Illegal attempt to use Numba-operators inside of a Jax function transformation.

RealQGTComplexDomainError

This error is raised when you apply the Quantum Geometric Tensor of a

UnoptimalSRtWarning

SRt should be used when the number of parameters exceed the number of samples.