Skip to content

Commit 040bd6a

Browse files
lkdvosJutho
andauthored
Apply suggestions from code review
Co-authored-by: Jutho <[email protected]>
1 parent 8fe236b commit 040bd6a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/src/man/sectors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ there is a canonical order of the sectors, so that the vector space ``V`` is
2828
completely specified by the values of ``n_a``.
2929

3030
The gain in efficiency (both in memory occupation and computation time) obtained from using
31-
(technically: equivariant) tensor maps is that, by Schur's lemma, they are block-diagonal in
32-
the basis of coupled sectors. To exploit this block-diagonal form, it is however essential
31+
(technically: equivariant) tensor maps is that, by Schur's lemma, they are block diagonal in
32+
the basis of coupled sectors. To exploit this block diagonal form, it is however essential
3333
that we know the basis transformation from the individual (uncoupled) sectors appearing in
3434
the tensor product form of the domain and codomain, to the totally coupled sectors that
3535
label the different blocks. We refer to the latter as block sectors. The transformation from

docs/src/man/tensors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ braid(t::AbstractTensorMap{T,S,N₁,N₂}, (p1, p2)::Index2Tuple{N₁′,N₂′
764764
and
765765

766766
```julia
767-
permute(t::AbstractTensorMap{T,S,N₁,N₂}(p1, p2)::Index2Tuple{N₁′,N₂′}; copy = false)
767+
permute(t::AbstractTensorMap{T,S,N₁,N₂}, (p1, p2)::Index2Tuple{N₁′,N₂′}; copy = false)
768768
```
769769

770770
both of which return an instance of `AbstractTensorMap{T,S,N₁′,N₂′}`.
@@ -873,7 +873,7 @@ A final operation that one might expect in this section is to fuse or join indic
873873
inverse, to split a given index into two or more indices. For a plain tensor (i.e. with
874874
`sectortype(t) == Trivial`) amount to the equivalent of `reshape` on the multidimensional
875875
data. However, this represents only one possibility, as there is no canonically unique way
876-
to embed the tensor product of two spaces `V1 ⊗ V₂` in a new space `V = fuse(V1⊗V₂)`. Such a
876+
to embed the tensor product of two spaces `V1 ⊗ V2` in a new space `V = fuse(V1 ⊗ V2)`. Such a
877877
mapping can always be accompagnied by a basis transform. However, one particular choice is
878878
created by the function `isomorphism`, or for `EuclideanProduct` spaces, `unitary`.
879879
Hence, we can join or fuse two indices of a tensor by first constructing

docs/src/man/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,11 @@ More power becomes visible when involving symmetries. With symmetries, we imply
302302
is some symmetry action defined on every vector space associated with each of the indices
303303
of a `TensorMap`, and the `TensorMap` is then required to be equivariant, i.e. it acts as
304304
an intertwiner between the tensor product representation on the domain and that on the
305-
codomain. By Schur's lemma, this means that the tensor is block-diagonal in some basis
305+
codomain. By Schur's lemma, this means that the tensor is block diagonal in some basis
306306
corresponding to the irreducible representations that can be coupled to by combining the
307307
different representations on the different spaces in the domain or codomain. For Abelian
308308
symmetries, this does not require a basis change and it just imposes that the tensor has
309-
some block-sparsity. Let's clarify all of this with some examples.
309+
some block sparsity. Let's clarify all of this with some examples.
310310

311311
We start with a simple ``ℤ₂`` symmetry:
312312

0 commit comments

Comments
 (0)