Hi,
I'm Chris and new to QuTiP.
Consider the notebook below with QuTiP 4.6 installed.
I would like to create a chain of 2-level atoms with lattice1d().
In the notebook they start with
Periodic_Atom_Chain = Lattice1d(num_cell=3, boundary = 'periodic')
If we consider the docs, the other parameters get default initialized with
- cell_num_site=1
- cell_site_dof=[1]
- Hamiltonian_of_cell=None
- inter_hop=None
Then I want to print the lattice with the method display_lattice()
But an error occurs: IndexError: list index out of range
The only thing I could figure out was to change
cell_site_dof=[2,2] or even higher...
So the range error vanishes.
But this couldn't be the real solution...
Any Idea where the problem is located?
Thanks in advance!