Queries Related to Quantum Number Wrapper, Basis State Construction for Custom Hamiltonian #117
-
Hamiltonian: 1D Bose Hubbard Model. Fixed number of particles, no spin degrees of freedom. I have been trying to follow the example given in Custom Hamiltonian section to use it for my model.
I am getting
Here's the link to the notebook for this case. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I have added an example script for the Bose-Hubbard model in the updated documentation.
The
To solve these problems, please read the documentation carefully. For example, the documentation says: "The number of arguments in the quantum number wrapper
This line of code is not part of the documentation. |
Beta Was this translation helpful? Give feedback.
I have added an example script for the Bose-Hubbard model in the updated documentation.
The
1
is number of states per quantum number, which is explained in the documentation: "The quantum number and number of states in each quantum number at each site (which defines the local Hilbert space) is set insite_basis
."To solve these problems, please read the documentation carefully. For example, the documentation says: "The number of arguments in the quantum number wrapper
Q
should then match the number of sub-group names given inDMRGDriver.set_s…