netket.hilbert.constraint.ExtraConstraint#
- class netket.hilbert.constraint.ExtraConstraint[source]#
Bases:
ExtraConstraint
Wraps a Constraint and its HilbertIndex into a second constraint (with a default lookup-based hilbert index).
The first argument is the base constraint while the second is the wrapping one.
- Inheritance