netket.errors

Contents

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.

JaxOperatorNotConvertibleToNumba

Illegal attempt to convert to the Numba format a Jax operator that had been flattened and unflattened.

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.

SymmModuleInvalidInputShape

This error when you attempt to use a module with an input having a wrong number of dimensions.