Skip to content

Commit 30c803b

Browse files
committed
Show subblocks of fermionic operators
1 parent c9931dd commit 30c803b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/src/appendix/symmetric_tutorial.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ for (s, f) in fusiontrees(c⁺c⁻)
696696
c⁺c⁻[s, f] .= 1
697697
end
698698
end
699-
c⁺c⁻
699+
subblocks(c⁺c⁻)
700700
```
701701

702702
```@example symmetric_tutorial
@@ -706,7 +706,7 @@ for (s, f) in fusiontrees(c⁻c⁺)
706706
c⁻c⁺[s, f] .= -1
707707
end
708708
end
709-
c⁻c⁺
709+
subblocks(c⁻c⁺)
710710
```
711711

712712
```@example symmetric_tutorial
@@ -717,7 +717,7 @@ for (s, f) in fusiontrees(c⁺c⁺)
717717
c⁺c⁺[s, f] .= 1
718718
end
719719
end
720-
c⁺c⁺
720+
subblocks(c⁺c⁺)
721721
```
722722

723723
```@example symmetric_tutorial
@@ -727,19 +727,18 @@ for (s, f) in fusiontrees(c⁻c⁻)
727727
c⁻c⁻[s, f] .= -1
728728
end
729729
end
730-
c⁻c⁻
730+
subblocks(c⁻c⁻)
731731
```
732732

733733
```@example symmetric_tutorial
734734
N = zeros(ComplexF64, V ← V)
735735
for (s, f) in fusiontrees(N)
736736
N[s, f] .= f.coupled == odd ? 1 : 0
737737
end
738-
N
738+
subblocks(N)
739739
```
740740

741-
Again, you can easily verify that all the reduced tensor elements are correct by inspecting
742-
the `subblocks` of each tensor.
741+
We can easily all the reduced tensor elements are indeed correct.
743742

744743
!!! note
745744
Working with fermionic systems is inherently tricky, as can already be seen from something

0 commit comments

Comments
 (0)