NetKet 3.12.3__tar.gz → 3.12.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {netket-3.12.3 → netket-3.12.4}/PKG-INFO +1 -1
- {netket-3.12.3 → netket-3.12.4}/netket/_version.py +2 -2
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_hamiltonian.py +15 -20
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_ising/base.py +7 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_operator/base.py +0 -1
- {netket-3.12.3 → netket-3.12.4}/.gitignore +0 -0
- {netket-3.12.3 → netket-3.12.4}/LICENSE +0 -0
- {netket-3.12.3 → netket-3.12.4}/README.md +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/callbacks/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/callbacks/convergence_stopping.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/callbacks/earlystopping.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/callbacks/invalidlossstopping.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/callbacks/timeout.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/driver/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/driver/abstract_variational_driver.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/driver/steady_state.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/driver/vmc.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/driver/vmc_common.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/errors.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/exact.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/driver/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/driver/tdvp.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/driver/tdvp_common.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/driver/tdvp_schmitt.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/driver/vmc_srt.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/dynamics/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/dynamics/_rk_solver.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/dynamics/_rk_solver_structures.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/dynamics/_rk_tableau.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/hilbert/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/hilbert/spin_orbital_fermions.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/logging/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/logging/hdf5_log.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/models/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/models/fast_rnn.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/models/rnn.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/nn/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/nn/rnn/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/nn/rnn/cells.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/nn/rnn/layers.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/nn/rnn/layers_fast.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/nn/rnn/ordering.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/observable/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/observable/renyi2/S2_operator.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/observable/renyi2/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/observable/renyi2/exact.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/observable/renyi2/expect.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/operator/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/operator/_fermion_operator_2nd_base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/operator/_fermion_operator_2nd_jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/operator/_fermion_operator_2nd_numba.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/operator/_fermion_operator_2nd_utils.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/operator/fermion.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/operator/pyscf.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/qsr/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/qsr/dataset.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/qsr/driver.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/qsr/logic_helpers.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/sampler/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/sampler/metropolis.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/sampler/metropolis_pmap.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/sampler/metropolis_pt.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/sampler/rules/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/sampler/rules/fermion_2nd.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/vqs/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/experimental/vqs/io.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/graph/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/graph/_lattice_edge_logic.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/graph/abstract_graph.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/graph/common_lattices.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/graph/graph.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/graph/lattice.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/graph/space_group.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/abstract_hilbert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/continuous_hilbert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/custom_hilbert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/discrete_hilbert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/doubled_hilbert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/fock.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/homogeneous.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/index/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/index/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/index/constraints/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/index/constraints/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/index/constraints/sum.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/index/unconstrained.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/index/uniform_tensor.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/particle.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/qubit.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/custom.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/doubled.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/fock.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/particle.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/qubit.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/spin.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/random/tensor_hilbert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/spin.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/tensor_hilbert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/hilbert/tensor_hilbert_discrete.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_chunk_utils.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_expect.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_grad.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_jacobian/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_jacobian/default_mode.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_jacobian/jacobian_dense.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_jacobian/jacobian_pytree.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_jacobian/logic.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_math.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_scanmap.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_sort.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_utils_dtype.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_utils_random.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_utils_tree.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_vjp.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_vjp_chunked.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/_vmap_chunked.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/jax/sharding.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/logging/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/logging/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/logging/json_log.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/logging/runtime_log.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/logging/state_log.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/logging/tensorboard.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/README.md +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/autoreg.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/deepset.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/equivariant.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/fast_autoreg.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/full_space.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/gaussian.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/jastrow.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/mlp.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/ndm.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/rbm.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/slater.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/tensor_networks/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/tensor_networks/mpdo.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/tensor_networks/mps.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/models/utils.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/activation.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/blocks/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/blocks/deepset.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/blocks/mlp.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/blocks/symmetry_sum.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/deprecation.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/fast_masked_linear.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/initializers.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/masked_linear.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/symmetric_linear.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/nn/utils.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_abstract_observable.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_abstract_operator.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_abstract_super_operator.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_bose_hubbard/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_bose_hubbard/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_bose_hubbard/jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_bose_hubbard/numba.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_continuous_operator.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_discrete_operator.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_discrete_operator_jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_graph_operator.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_heisenberg.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_ising/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_ising/jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_ising/numba.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_kinetic.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_lazy.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_liouvillian.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_operator/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_operator/compile_helpers.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_operator/convert.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_operator/helpers.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_operator/jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_local_operator/numba.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_pauli_strings/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_pauli_strings/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_pauli_strings/jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_pauli_strings/numba.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_potential.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/_sumoperators.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/boson.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/operator/spin.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/linear_operator.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/preconditioner.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/common.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/default.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/qgt_jacobian_common.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/qgt_jacobian_dense.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/qgt_jacobian_pytree.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/qgt_jacobian_pytree_logic.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/qgt_onthefly.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/qgt/qgt_onthefly_logic.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/solver/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/solver/solvers.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/optimizer/sr.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/autoreg.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/exact.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/metropolis.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/metropolis_numpy.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/continuous_gaussian.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/custom_numpy.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/exchange.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/fixed.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/hamiltonian.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/hamiltonian_numpy.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/langevin.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/local.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/local_numpy.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/multiple.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/sampler/rules/tensor.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/stats/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/stats/_autocorr.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/stats/mc_stats.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/stats/mc_stats_old.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/stats/mpi_stats.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/tools/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/tools/_common.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/tools/_cpu_info.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/tools/_mpi_info.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/tools/check_mpi.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/tools/info.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/_dependencies_check.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/array.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/config_flags.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/deprecation.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/dispatch.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/display/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/display/repr.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/float.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/_group.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/_permutation_group.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/_point_group.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/_semigroup.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/axial.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/cubic.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/icosa.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/group/planar.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/history.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/holomorphic.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/model_frameworks/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/model_frameworks/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/model_frameworks/flax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/model_frameworks/haiku.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/model_frameworks/jax.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/moduletools.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/mpi/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/mpi/gpu_autorank_util.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/mpi/mpi.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/mpi/primitives.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/numbers.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/optional_deps.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/partial.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/_version.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/alias.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/autoreload.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/dispatcher.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/function.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/method.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/overload.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/parametric.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/promotion.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/py.typed +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/repr.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/resolver.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/signature.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/type.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/plum/util.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/seed.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/static_number.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/static_range.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/struct/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/struct/dataclass.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/struct/fields.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/struct/pytree.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/struct/utils.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/summation.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/timing.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/types.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/utils/version_check.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/base.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/deprecated.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/experimental.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/full_summ/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/full_summ/expect.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/full_summ/state.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/common.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/kernels.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_mixed_state/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_mixed_state/expect.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_mixed_state/expect_chunked.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_mixed_state/state.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/__init__.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/expect.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/expect_chunked.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/expect_forces.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/expect_forces_chunked.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/expect_grad.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/expect_grad_chunked.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/netket/vqs/mc/mc_state/state.py +0 -0
- {netket-3.12.3 → netket-3.12.4}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: NetKet
|
|
3
|
-
Version: 3.12.
|
|
3
|
+
Version: 3.12.4
|
|
4
4
|
Summary: Netket : Machine Learning toolbox for many-body quantum systems.
|
|
5
5
|
Project-URL: homepage, https://www.netket.org
|
|
6
6
|
Project-URL: documentation, https://netket.readthedocs.io/en/latest/#
|
|
@@ -27,46 +27,38 @@ class SpecialHamiltonian(DiscreteOperator):
|
|
|
27
27
|
def __add__(self, other):
|
|
28
28
|
if type(self) is type(other):
|
|
29
29
|
res = self.copy()
|
|
30
|
-
res
|
|
31
|
-
|
|
30
|
+
res = res.__iadd__(other)
|
|
31
|
+
if res is not NotImplemented:
|
|
32
|
+
return res
|
|
32
33
|
|
|
33
|
-
return self.to_local_operator()
|
|
34
|
+
return self.to_local_operator() + other
|
|
34
35
|
|
|
35
36
|
def __sub__(self, other):
|
|
36
37
|
if type(self) is type(other):
|
|
37
38
|
res = self.copy()
|
|
38
|
-
res
|
|
39
|
-
|
|
39
|
+
res = res.__isub__(other)
|
|
40
|
+
if res is not NotImplemented:
|
|
41
|
+
return res
|
|
40
42
|
|
|
41
|
-
return self.to_local_operator()
|
|
43
|
+
return self.to_local_operator() - other
|
|
42
44
|
|
|
43
45
|
def __radd__(self, other):
|
|
44
|
-
if type(self) is type(other):
|
|
45
|
-
res = self.copy()
|
|
46
|
-
res += other
|
|
47
|
-
return res
|
|
48
|
-
|
|
49
46
|
return self.to_local_operator().__radd__(other)
|
|
50
47
|
|
|
51
48
|
def __rsub__(self, other):
|
|
52
|
-
if type(self) is type(other):
|
|
53
|
-
res = self.copy()
|
|
54
|
-
res -= other
|
|
55
|
-
return res
|
|
56
|
-
|
|
57
49
|
return self.to_local_operator().__rsub__(other)
|
|
58
50
|
|
|
59
51
|
def __iadd__(self, other):
|
|
60
52
|
if type(self) is type(other):
|
|
61
|
-
self._iadd_same_hamiltonian(other)
|
|
62
|
-
return
|
|
53
|
+
res = self._iadd_same_hamiltonian(other)
|
|
54
|
+
return res
|
|
63
55
|
|
|
64
56
|
return NotImplemented
|
|
65
57
|
|
|
66
58
|
def __isub__(self, other):
|
|
67
59
|
if type(self) is type(other):
|
|
68
|
-
self._isub_same_hamiltonian(other)
|
|
69
|
-
return
|
|
60
|
+
res = self._isub_same_hamiltonian(other)
|
|
61
|
+
return res
|
|
70
62
|
|
|
71
63
|
return NotImplemented
|
|
72
64
|
|
|
@@ -81,6 +73,9 @@ class SpecialHamiltonian(DiscreteOperator):
|
|
|
81
73
|
other = other.to_local_operator()
|
|
82
74
|
return self.to_local_operator().__matmul__(other)
|
|
83
75
|
|
|
76
|
+
def __neg__(self):
|
|
77
|
+
return -1 * self.to_local_operator()
|
|
78
|
+
|
|
84
79
|
def _op__rmatmul__(self, other):
|
|
85
80
|
if hasattr(other, "to_local_operator"):
|
|
86
81
|
other = other.to_local_operator()
|
|
@@ -184,9 +184,12 @@ class IsingBase(SpecialHamiltonian):
|
|
|
184
184
|
raise NotImplementedError(
|
|
185
185
|
"Cannot add hamiltonians on different hilbert spaces"
|
|
186
186
|
)
|
|
187
|
+
if not np.allclose(self.edges, other.edges):
|
|
188
|
+
return NotImplemented
|
|
187
189
|
|
|
188
190
|
self._h += other.h
|
|
189
191
|
self._J += other.J
|
|
192
|
+
return self
|
|
190
193
|
|
|
191
194
|
def _isub_same_hamiltonian(self, other):
|
|
192
195
|
if self.hilbert != other.hilbert:
|
|
@@ -194,8 +197,12 @@ class IsingBase(SpecialHamiltonian):
|
|
|
194
197
|
"Cannot add hamiltonians on different hilbert spaces"
|
|
195
198
|
)
|
|
196
199
|
|
|
200
|
+
if not np.allclose(self.edges, other.edges):
|
|
201
|
+
return NotImplemented
|
|
202
|
+
|
|
197
203
|
self._h -= other.h
|
|
198
204
|
self._J -= other.J
|
|
205
|
+
return self
|
|
199
206
|
|
|
200
207
|
def __repr__(self):
|
|
201
208
|
return (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|