Skip to content

Commit 8a2c34f

Browse files
committed
Introduce Z2Irrep more gently and demonstrate its fusion rules programatically
1 parent 07066da commit 8a2c34f

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docs/src/appendix/symmetric_tutorial.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,23 @@ basis as a $\mathbb{Z}_2$-symmetric `TensorMap`. We will do this in three steps:
270270
- And finally we iterate over all splitting and fusion tree pairs and manually fill in the
271271
corresponding nonzero subblocks of the operator.
272272

273+
In TensorKit.jl, the representations of $\mathbb{Z}_2$ are represented as instances of the
274+
[`Z2Irrep <: Sector`](@ref ZNIrrep) type. There are two such instances, corresponding to the
275+
trivial irrep `Z2Irrep(0)` and the sign irrep `Z2Irrep(1)`. We can fuse irreps with the ``
276+
(`\otimes`) operator, which can for example be used to check their fusion rules,
277+
```@example symmetric_tutorial
278+
for a in values(Z2Irrep), b in values(Z2Irrep)
279+
println("$a ⊗ $b: $(a ⊗ b)")
280+
end
281+
```
273282
After the basis transform to the irrep basis, we can view the two-dimensional complex
274283
physical vector space we started with as being spanned by the trivial and sign irrep of
275284
$\mathbb{Z}_2$. In the language of TensorKit.jl, this can be implemented as a `Z2Space`, an
276-
alias for a [graded vector space](@ref GradedSpace) `Vect[Z2Irrep]`, which contains the
277-
trivial irrep `Z2Irrep(0)` with degeneracy 1 and the sign irrep `Z2Irrep(1)` with
278-
degeneracy 1. We can define this space in the following way and check its dimension:
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:
279290

280291
```@example symmetric_tutorial
281292
V = Z2Space(0 => 1, 1 => 1)

0 commit comments

Comments
 (0)