Skip to content

Commit d6096a1

Browse files
committed
Address more comments, add toc
1 parent e9defd3 commit d6096a1

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

docs/src/appendix/symmetric_tutorial.md

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ using SUNRepresentations
2828
using Test # for showcase testing
2929
```
3030

31+
```@contents
32+
Pages = ["symmetric_tutorial.md"]
33+
Depth = 2:3
34+
```
3135

3236
## Level 0: The transverse-field Ising model
3337

@@ -261,6 +265,8 @@ back to these other properties when discussion more involved applications. Given
261265
`TensorMap`, the method [`fusiontrees`](@ref) returns an iterator over all pairs of
262266
splitting and fusion trees that label the subblocks of `t`.
263267

268+
### Constructing a $\mathbb{Z}_2$-symmetric `TensorMap`
269+
264270
We can now put this into practice by directly constructing the $ZZ$ operator in the irrep
265271
basis as a $\mathbb{Z}_2$-symmetric `TensorMap`. We will do this in three steps:
266272

@@ -276,22 +282,39 @@ trivial irrep `Z2Irrep(0)` and the sign irrep `Z2Irrep(1)`. We can fuse irreps w
276282
(`\otimes`) operator, which can for example be used to check their fusion rules,
277283
```@example symmetric_tutorial
278284
for a in values(Z2Irrep), b in values(Z2Irrep)
279-
println("$a ⊗ $b: $(a ⊗ b)")
285+
println("$a ⊗ $b = $(a ⊗ b)")
280286
end
281287
```
282288
After the basis transform to the irrep basis, we can view the two-dimensional complex
283289
physical vector space we started with as being spanned by the trivial and sign irrep of
284290
$\mathbb{Z}_2$. In the language of TensorKit.jl, this can be implemented as a `Z2Space`, an
285-
alias for a [graded vector space](@ref GradedSpace) `Vect[Z2Irrep]`. To construct such a
286-
graded space we have to specify which irreps it contains, and indicate the degenaracy of
287-
each irrep. Here, our physical vector space contains the trivial irrep `Z2Irrep(0)` with
288-
degeneracy 1 and the sign irrep `Z2Irrep(1)` with degeneracy 1. This means can define this
289-
space in the following way, and check its dimension:
290-
291+
alias for a [graded vector space](@ref GradedSpace) `Vect[Z2Irrep]`. Such a graded vector
292+
space $V$ is a direct sum of irreducible representation spaces $V^{(a)}$ labeled by the
293+
irreps $a$ of the group,
294+
```math
295+
V = \bigotimes_a N_a \cdot V^{(a)}.
296+
```
297+
The number of times $N_a$ each irrep $a$ appears in the direct sum is called the
298+
*degeneracy* of the irrep. To construct such a graded space, we therefore have to specify
299+
which irreps it contains, and indicate the degeneracy of each irrep. Here, our physical
300+
vector space contains the trivial irrep `Z2Irrep(0)` with degeneracy 1 and the sign irrep
301+
`Z2Irrep(1)` with degeneracy 1. This means this particular graded space has the form
302+
```math
303+
V = 1 \cdot V^{(0)} \oplus 1 \cdot V^{(1)},
304+
```
305+
which can be constructed in the following way,
291306
```@example symmetric_tutorial
292307
V = Z2Space(0 => 1, 1 => 1)
293308
dim(V)
294309
```
310+
As a consistency check, we can inspect its dimension as well as the degeneracies of the
311+
individual irreps:
312+
```@example symmetric_tutorial
313+
dim(V, Z2Irrep(0))
314+
```
315+
```@example symmetric_tutorial
316+
dim(V, Z2Irrep(1))
317+
```
295318

296319
Given this physical space, we can initialize the $ZZ$ operator as an empty `TensorMap` with
297320
the appropriate structure.

0 commit comments

Comments
 (0)