Skip to content

Commit 318f921

Browse files
leburgellkdvosJuthoborisdevos
authored
Add symmetric tensor tutorial to docs as appendix (#316)
* Add symmetric tensor tutorial to docs as appendix * Add to landing page * Update docs/src/appendix/symmetric_tutorial.md Co-authored-by: Lukas Devos <[email protected]> * Fix equation references * Pick a different fusion tree * Updates on constructing symmetric tensor map from dense data * Reduce toc depths in index * Address review comments * Switch appendix order * Apply suggestions from code review Co-authored-by: Jutho <[email protected]> * Apply suggestions from code review Co-authored-by: Boris De Vos <[email protected]> * Add comment on the terms 'charge' and 'sector' * Add note on `FusionStyle`s * Show `subblocks` of fermionic operators * Some formatting * Un-specify `fusiontrees` * Apply suggestions from code review Co-authored-by: Lukas Devos <[email protected]> * Add note on fusion multiplicities and their implication for the Clebsch-Gordan decomposition * Change Ising model title * Remove unnecessary semicolon * Introduce `Z2Irrep` more gently and demonstrate its fusion rules programatically * Fix box to be technically correct. * Update docs/src/appendix/symmetric_tutorial.md Co-authored-by: Jutho <[email protected]> * Address more comments, add toc * Forgot to move the dims check * Add headers for toc and setup, and switch order --------- Co-authored-by: Lukas Devos <[email protected]> Co-authored-by: Jutho <[email protected]> Co-authored-by: Boris De Vos <[email protected]>
1 parent 3a06898 commit 318f921

27 files changed

+5812
-6
lines changed

docs/Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
4+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
45
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
6+
SUNRepresentations = "1a50b95c-7aac-476d-a9ce-2bfc675fc617"
57
TensorKit = "07d1fe3e-3e46-537d-9eac-e9e13d0d4cec"
8+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
9+
WignerSymbols = "9f57e263-0b3d-5e2e-b1be-24f2bb48858b"
610

711
[compat]
812
Documenter = "1"

docs/make.jl

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,27 @@ pages = [
2121
"lib/spaces.md", "lib/tensors.md",
2222
],
2323
"Index" => ["index/index.md"],
24-
"Appendix" => ["appendix/categories.md"],
24+
"Appendix" => ["appendix/symmetric_tutorial.md", "appendix/categories.md"],
2525
]
2626

27+
mathengine = MathJax3(
28+
Dict(
29+
:loader => Dict("load" => ["[tex]/physics"]),
30+
:tex => Dict(
31+
"inlineMath" => [["\$", "\$"], ["\\(", "\\)"]],
32+
"tags" => "ams",
33+
"packages" => ["base", "ams", "autoload", "physics"]
34+
)
35+
)
36+
)
37+
2738
makedocs(;
2839
modules = [TensorKit, TensorKitSectors],
2940
sitename = "TensorKit.jl",
3041
authors = "Jutho Haegeman",
3142
warnonly = [:missing_docs, :cross_references],
3243
format = Documenter.HTML(;
33-
prettyurls = true, mathengine = MathJax(), assets = ["assets/custom.css"]
44+
prettyurls = true, mathengine, assets = ["assets/custom.css"]
3445
),
3546
pages = pages,
3647
pagesonly = true,
Lines changed: 91 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)