pyalps: Worm algorithm calculation of the two-component Bose-Hubbard mode #34
Unanswered
witchbunting-cmd
asked this question in
Q&A
Replies: 1 comment
-
|
you could model your two-component system as a one-component system with two sheets of your two-dimensional square lattice where the "A" particles live on the lower sheet and the "B" particles on the upper sheet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!

I am attempting to use the worm algorithm in the pyalps library to calculate the two-component Bose-Hubbard model. The two-component Bose-Hubbard model implies that each lattice site can host two different types of atoms, and its Hamiltonian is as follows:
To calculate this model, I have constructed a model.xml file of the following form:
Then, the parameters are input and executed using the following Python code:
The code ran successfully and produced measurement results, but the average particle density nA is always zero, while nB outputs normally. Currently, it is unclear whether the issue lies with the measurement setup or if the algorithm does not support the two-component Hamiltonian on the same lattice site. If there are any errors, please point them out, and it would be greatly appreciated if you could provide suggestions for correction.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions