-
Notifications
You must be signed in to change notification settings - Fork 31
Use TensorKitTensors for pre-defined tensors #394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
02c06ce
8ca4b37
6deceb2
d95806e
f441813
4d94614
2143b25
866d207
ccf00ff
160884e
dda4d4e
070794d
dc25dc6
5518f5d
0394563
a16dee4
b8d9324
4b7b129
c787124
54f827d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -33,7 +33,15 @@ using MPSKit: InfiniteEnvironments | |||||||||||||
| import MPSKit: tensorexpr, leading_boundary, loginit!, logiter!, logfinish!, logcancel!, physicalspace | ||||||||||||||
| import MPSKit: infinite_temperature_density_matrix | ||||||||||||||
|
|
||||||||||||||
| import TensorKitTensors.SpinOperators as SO | ||||||||||||||
| import TensorKitTensors.FermionOperators as FO | ||||||||||||||
| import TensorKitTensors.HubbardOperators as HO | ||||||||||||||
| import TensorKitTensors.TJOperators as TJ | ||||||||||||||
| import TensorKitTensors.BosonOperators as BO | ||||||||||||||
|
Comment on lines
+36
to
+40
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not super happy with these abbreviations, they seem to me kind of inconsistent (why
Suggested change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Writing things out in full is a bit painful. I can use |
||||||||||||||
| using MPSKitModels | ||||||||||||||
| import MPSKitModels: | ||||||||||||||
| transverse_field_ising, heisenberg_XYZ, heisenberg_XXZ, | ||||||||||||||
| hubbard_model, bose_hubbard_model, tj_model | ||||||||||||||
| using FiniteDifferences | ||||||||||||||
| using OhMyThreads: tmap, tmap! | ||||||||||||||
| using DocStringExtensions | ||||||||||||||
|
|
||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.