@@ -49,17 +49,24 @@ Constructs the partition function tensor for a 2D square lattice
4949for the real ϕ^4 model with a given approximation (and bond dimension) `K`, bare mass ``µ_0^2`` `μ0`, interaction constant `λ` and external field `h`.
5050
5151Compatible with no symmetry or with explicit ℤ₂ symmetry on each of its spaces.
52- The latter is based on Taylor expanding the mixed sites term, and requires the external field `h` to be zero.
5352Defaults to ℤ₂ symmetry and `h = 0` if the symmetry type and magnetic field are not provided.
5453
55- It is based on [Gauss-Hermite quadrature](https://en.wikipedia.org/wiki/Gauss%E2%80%93Hermite_quadrature).
56-
5754### Arguments
58- - `K::Integer`: Number of quadrature points for Gauss-Hermite integration. Has to be even for the ℤ₂ symmetric version .
55+ - `K::Integer`: Approximation parameter .
5956- `μ0::Float64`: Bare mass. Note that in the calculation actually ``µ_0^2`` is used, but for readibility we write the ``µ_0^2`` as μ0
6057- `λ::Float64`: Coupling constant.
6158- `h::Float64`: External field (default is 0).
6259
60+ ### Approximation parameter `K`
61+ #### Trivial (no symmetry)
62+ The tensor is constructed by performing a Gauss-Hermite quadrature to approximate the integrals in the partition function.
63+ The bond dimension is equal to the number of quadrature points `K`.
64+
65+ #### ℤ₂ symmetry
66+ The tensor is constructed by Taylor expanding the mixed sites term in the partition function.
67+ The order of the Taylor expansion is K, and the bond dimension is K/2 for the even and odd sectors each (K in total).
68+ Not compatible with a non-zero magnetic field, as the magnetic field breaks the ℤ₂ symmetry.
69+
6370### Examples
6471```julia
6572 phi4_real(10, -1.0, 1.0, 1.0) # default ℤ₂ symmetry, h = 0
0 commit comments