netket.errors.ParameterMismatchError

netket.errors.ParameterMismatchError#

exception netket.errors.ParameterMismatchError[source]#

Error thrown when the structure of the parameters does not match the expected structure.

This error is thrown when you attempt to modify the parameters or variables attribute of a VariationalState with a structure that does not match the previous structure.