Skip to main content

num_sites

Method of BasisState.

num_sites() -> integer

Returns the number of sites in the basis state.

Returns the total number of sites (subsystems) in the basis state.