quspin.basis.photon_Hspace_dim
- quspin.basis.photon_Hspace_dim(N, Ntot, Nph)[source]
 Calculates the dimension of the total spin-photon Hilbert space.
- Parameters:
 - N: int
 Number of lattice particles.
- Ntot: int
 Total number of lattice particles and photons.
- Nph: int
 Number of photons.
- Returns:
 - int
 Dimension of the total spin-photon Hilbert space.
Examples
>>> Ns = photon_Hspace_dim(N,Ntot,Nph)