Examples
The notebooks/ folder of the GitHub repository contains several Jupyter notebooks that cover the implemented Hamiltonians and wavefunctions and demonstrate different parts of the algorithm.
Bose-Hubbard
This is the quickstart example of the start page.
Model:
BoseHubbardchainGuide:
JastrowBoseHubbardObservables: none
Transverse-field Ising model
transverse_field_ising_chain.ipynb
This is the code discussed in Running a simulation.
Model:
Spin-1 transverse-field Ising chainGuide:
JastrowSpinObservables: \(\sum_i S^z_i S^z_{i+1}\), \(\sum_i S^x_i\)
Spin-1/2 XXZ chain
Model:
SpinHalfXXZ chainGuide:
JastrowSpinHalfObservables: \(S^z_\mathrm{tot}\), \(S^z_0\), \(S^x_\mathrm{tot}\), \(S^x_0\), the structure factors \(S^{zz}(k)\) at all allowed \(k\) and \(S^\pm\) at \(k=\pi\)
n-body model: custom classes
XXZ model on the kagome lattice
Model:
SpinHalfXXZ model on the kagome latticeGuide:
ClusterCPSon stars of DavidObservables: none
Toric code
Model:
ToricCodeGuide: none
Observables: none
Ring exchange on the pyrochlore lattice
Download pyrochlore.h5 into the same
directory as this notebook.
It contains the lattice, initial state and references.
Model:
PlaquetteModelon the pyrochlore latticeGuide: none
Observables: fraction of flippable hexagons