Skip to content

Commit 7c7f9f9

Browse files
Jutholkdvos
andauthored
apply doc typo fixes and suggestions
Co-authored-by: Lukas Devos <[email protected]>
1 parent 1ff1e3e commit 7c7f9f9

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

docs/src/man/fusiontrees.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ the section on [topological data of a fusion category](@ref ss_topologicalfusion
6565
fusion and splitting trees that take the distinction between irreps and their conjugates
6666
into account. Hence, in the previous example, if e.g. the first and third space in the
6767
codomain and the second space in the domain of the tensor were dual spaces, the actual pair
68-
of splitting and fusion tree would look as
68+
of splitting and fusion tree would look like
6969

7070
![extended double fusion tree](img/tree-extended.svg)
7171

@@ -80,12 +80,12 @@ We represent splitting trees and their adjoints using a specific immutable type
8080
`FusionTree` (which actually represents a splitting tree, but fusion tree is a more common
8181
term), defined as
8282
```julia
83-
struct FusionTree{I<:Sector,N,M,L,T}
83+
struct FusionTree{I<:Sector,N,M,L}
8484
uncoupled::NTuple{N,I}
8585
coupled::I
8686
isdual::NTuple{N,Bool}
8787
innerlines::NTuple{M,I} # fixed to M = N-2
88-
vertices::NTuple{L,T} # fixed to L = N-1
88+
vertices::NTuple{L,Int} # fixed to L = N-1
8989
end
9090
```
9191
Here, the fields are probably self-explanotary. The `isdual` field indicates whether an
@@ -96,8 +96,7 @@ isomorphism is present (if the corresponding value is `true`) or not. Note that
9696
capabilities, such as checking for equality with `==` and support for
9797
`hash(f::FusionTree, h::UInt)`, as splitting and fusion trees are used as keys in look-up
9898
tables (i.e. `AbstractDictionary` instances) to look up certain parts of the data of a
99-
tensor. The type of `L` of the vertex labels can be `Nothing` when they are not needed
100-
(i.e. if `FusionStyle(I) isa MultiplicityFreeFusion`).
99+
tensor.
101100

102101
`FusionTree` instances are not checked for consistency (i.e. valid fusion rules etc) upon
103102
creation, hence, they are assumed to be created correctly. The most natural way to create
@@ -146,7 +145,7 @@ TensorKit.jl, nor do they overload similarly named methods from Julia Base (see
146145

147146
The first operation we discuss is an elementary braid of two neighbouring sectors
148147
(indices), i.e. a so-called Artin braid or Artin generator of the braid group. Because
149-
these two sectors do not appear on the same fusion vertex, some recoupling is necessary.
148+
these two sectors do not necessarily appear on the same fusion vertex, some recoupling is necessary.
150149
The following represents two different ways to compute the result of such a braid as a
151150
linear combination of new fusion trees in canonical order:
152151

@@ -263,13 +262,13 @@ that we need is summarized in
263262
We will only need the B-symbol and not the A-symbol. Applying the left evaluation on the
264263
second sector of a splitting tensor thus yields a linear combination of fusion tensors
265264
(when `FusionStyle(I) == GenericFusion()`, or just a scalar times the corresponding
266-
fusion tensor otherwise), with corresponding ``Z`` ismorphism. Taking the adjoint of this
265+
fusion tensor otherwise), with corresponding ``Z`` isomorphism. Taking the adjoint of this
267266
relation yields the required relation to transform a fusion tensor into a splitting tensor
268267
with an added ``Z^†`` isomorphism.
269268

270269
However, we have to be careful if we bend a line on which a ``Z`` isomorphism (or its
271270
adjoint) is already present. Indeed, it is exactly for this operation that we explicitly
272-
need to take the presence of these isomorphisms into account. Indeed, we obtain the relation
271+
need to take the presence of these isomorphisms into account, obtaining the relation
273272

274273
![dual line bending](img/tree-linebending2.svg)
275274

@@ -334,7 +333,7 @@ given by
334333

335334
The `braid` and `permute` routines for double fusion trees will be the main access point for
336335
corresponding manipulations on tensors. As a consequence, results from this routine are
337-
memoized, i.e. they are stored in some package wide 'least-recently used' cache (from
336+
memoized, i.e. they are stored in some package-wide 'least-recently used' cache (from
338337
[LRUCache.jl](https://github.com/JuliaCollections/LRUCache.jl)) that can be accessed as
339338
`TensorKit.braidcache`. By default, this cache stores up to `10^5` different `braid` or
340339
`permute` resuls, where one result corresponds to one particular combination of `(f1, f2,
@@ -360,7 +359,7 @@ a tensor, i.e. a morphism in the category `Vect` (this essentially coincides wit
360359
of group representations), this explicit representation can be created, which can be useful
361360
for checking purposes. Hereto, it is necessary that the *splitting tensor*
362361
``X^{ab}_{c,μ}``, i.e. the Clebsch-Gordan coefficients of the group, are encoded via the
363-
routine `fusiontensor(a,b,c [,μ = nothing])`, where the last argument is only necessary in
362+
routine `fusiontensor(a,b,c [,μ = 1])`, where the last argument is only necessary in
364363
the case of `FusionStyle(I) == GenericFusion()`. We can then convert a
365364
`FusionTree{I,N}` into an `Array`, which will yield a rank `N+1` array where the first `N`
366365
dimensions correspond to the uncoupled sectors, and the last dimension to the coupled

docs/src/man/sectors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ As always, we refer to the subsection on
113113
[topological data of a unitary fusion category](@ref ss_topologicalfusion) for further
114114
details.
115115

116-
Finally, for the implementation, it will be useful to distinguish between an number of
116+
Finally, for the implementation, it will be useful to distinguish between a number of
117117
different possibilities regarding the fusion rules. If, for every ``a`` and ``b``, there is
118118
a unique ``c`` such that ``a ⊗ b = c`` (i.e. ``N^{ab}_{c} = 1`` and ``N^{ab}_{c′} = 0`` for
119119
all other ``c′``), the category is abelian. Indeed, the representations of a group have this
@@ -696,7 +696,7 @@ specifically a `NTuple{N, Int}` with `N = length(values(I))`. The methods
696696
these types can be created in a type stable manner.
697697

698698
### Constructing instances
699-
As mentioned, the convenience mehtod `Vect[I]` will return the concrete type
699+
As mentioned, the convenience method `Vect[I]` will return the concrete type
700700
`GradedSpace{I,D}` with the matching value of `D`, so that should never be a user's
701701
concern. In fact, for consistency, `Vect[Trivial]` will just return `ComplexSpace`,
702702
which is not even a specific type of `GradedSpace`. For the specific case of group irreps as

docs/src/man/spaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ InnerProductStyle(ℂ^5)
170170
to work nonetheless.
171171

172172
One more important instance of `ElementarySpace` is the `GradedSpace`, which is used to
173-
represent a graded complex vector space with Euclidean product, where the grading is
173+
represent a graded complex vector space with Euclidean inner product, where the grading is
174174
provided by the irreducible representations of a group, or more generally, the simple
175175
objects of a fusion category. We refer to the subsection on [graded spaces](@ref s_rep) on
176176
the [next page](@ref s_sectorsrepfusion) for further information about `GradedSpace`.

0 commit comments

Comments
 (0)