Search found 2 matches
- 15 Oct 2024, 03:21
- Forum: HowTos and FAQ for TeNPy
- Topic: controlling particle number of independent species
- Replies: 4
- Views: 71425
Re: controlling particle number of independent species
I'm very sorry for not explaining my question clearly, you still provided me with a lot of help. First, I confirmed the sites index, through fig, ax = plt.subplots(figsize=(10, 10)) lat = M.lat lat.plot_sites(ax) lat.plot_coupling(ax) lat1.plot_order(ax, linestyle=':') ax.set_aspect(1.) ax.set_title...
- 14 Oct 2024, 13:15
- Forum: HowTos and FAQ for TeNPy
- Topic: controlling particle number of independent species
- Replies: 4
- Views: 71425
Re: controlling particle number of independent species
Dear Johannes,hello! I have call https://tenpy.readthedocs.io/en/latest/reference/tenpy.networks.site.set_common_charges.html#tenpy.networks.site.set_common_charges ,which is simple and faster, but I am a bit confused about the index of lattice sites. I want to calculate something similar to Corr=ps...