You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -61,7 +61,7 @@ Typically, such models are studied on a finite chain of $N$ sites with periodic
61
61
conditions, but this introduces finite-size effects that are rather annoying to deal with.
62
62
In contrast, the MPS framework allows us to work directly in the thermodynamic limit,
63
63
avoiding such artifacts. We will follow this line of exploration in this tutorial and leave
64
-
finite systems for another time.
64
+
finite systems for another example.
65
65
66
66
In order to work in the thermodynamic limit, we will have to create an
67
67
[`InfiniteMPS`](@ref). A complete specification of the MPS requires us to define the
@@ -99,12 +99,12 @@ md"""
99
99
100
100
The [] accessor lets us see the underlying array, and indeed the operators are exactly what
101
101
we require. Similarly, the Bose Hubbard model is also predefined in
102
-
[`MPSKitModels.bose_hubbard_model`](@extref) also predefined (although we will construct our
103
-
own variant later on).
102
+
[`MPSKitModels.bose_hubbard_model`](@extref) (although we will construct our own variant
103
+
later on).
104
104
105
105
"""
106
106
107
-
hamiltonian =bose_hubbard_model(InfiniteChain(1), cutoff = cutoff, U =1, mu =0.5, t =0.2) # It is not strictly required to pass InfiniteChain() and is only included for clarity; one may instead pass FiniteChain(N) as well
107
+
hamiltonian =bose_hubbard_model(InfiniteChain(1); cutoff = cutoff, U =1, mu =0.5, t =0.2) # It is not strictly required to pass InfiniteChain() and is only included for clarity; one may instead pass FiniteChain(N) as well
108
108
109
109
md"""
110
110
This has created the Hamiltonian operator as a [matrix product operator](@ref
We may now also visualize the momentum distribution function, which is obtained as the Fourier transform of the single-particle density matrix. Starting from the definition of the momentum occupation operator:
229
+
We may now also visualize the momentum distribution function, which is obtained as the
230
+
Fourier transform of the single-particle density matrix. Starting from the definition of the
0 commit comments