﻿netket.hilbert.Spin
===================

.. currentmodule:: netket.hilbert

.. autoclass:: Spin
   :show-inheritance:
   :exclude-members: __init__, __new__

   

   .. rst-class:: class-dl-groups

   Inheritance
      .. inheritance-diagram:: netket.hilbert.Spin
         :parts: 2


   

   .. automethod:: Spin.__init__
      
   .. rst-class:: class-dl-groups

   Attributes
      .. autoattribute:: Spin.constrained
      .. autoattribute:: Spin.constraint
      .. autoattribute:: Spin.is_finite
      .. autoattribute:: Spin.is_indexable
      .. autoattribute:: Spin.local_size
      .. autoattribute:: Spin.local_states
      .. autoattribute:: Spin.n_states
      .. autoattribute:: Spin.shape
      .. autoattribute:: Spin.size
   
      
   .. rst-class:: class-dl-groups

   Methods
      .. automethod:: Spin.all_states
      .. automethod:: Spin.local_indices_to_states
      .. automethod:: Spin.numbers_to_states
      .. automethod:: Spin.ptrace
      .. automethod:: Spin.random_state
      .. automethod:: Spin.size_at_index
      .. automethod:: Spin.states
      .. automethod:: Spin.states_at_index
      .. automethod:: Spin.states_to_local_indices
      .. automethod:: Spin.states_to_numbers

   