|
300 | 300 | FusionTree{Irrep[SU₂]}((1/2, 1/2, 1/2, 1/2, 1/2), 1/2, (true, false, false, true, false), (1, 1/2, 0)) |
301 | 301 | FusionTree{Irrep[SU₂]}((1/2, 1/2, 1/2, 1/2, 1/2), 1/2, (true, false, false, true, false), (0, 1/2, 1)) |
302 | 302 | FusionTree{Irrep[SU₂]}((1/2, 1/2, 1/2, 1/2, 1/2), 1/2, (true, false, false, true, false), (1, 1/2, 1)) |
303 | | - FusionTree{Irrep[SU₂]}((1/2, 1/2, 1/2, 1/2, 1/2), 1/2, (true, false, false, true, false), (1, 3/2, 1))</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> iter = fusiontrees(ntuple(n -> s, 16))</code><code class="nohighlight hljs ansi" style="display:block;">TensorKit.FusionTreeIterator{SU2Irrep, 16, NTuple{16, Tuple{SU2Irrep}}}(((Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),)), Irrep[SU₂](0), (false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false))</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> sum(n -> 1, iter)</code><code class="nohighlight hljs ansi" style="display:block;">1430</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> length(iter)</code><code class="nohighlight hljs ansi" style="display:block;">1430</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> @elapsed sum(n -> 1, iter)</code><code class="nohighlight hljs ansi" style="display:block;">0.046957505</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> @elapsed length(iter)</code><code class="nohighlight hljs ansi" style="display:block;">5.6645e-5</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> s2 = s ⊠ s</code><code class="nohighlight hljs ansi" style="display:block;">Irrep[SU₂ × SU₂](1/2, 1/2)</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> collect(fusiontrees((s2, s2, s2, s2)))</code><code class="nohighlight hljs ansi" style="display:block;">4-element Vector{FusionTree{ProductSector{Tuple{SU2Irrep, SU2Irrep}}, 4, 2, 3}}: |
| 303 | + FusionTree{Irrep[SU₂]}((1/2, 1/2, 1/2, 1/2, 1/2), 1/2, (true, false, false, true, false), (1, 3/2, 1))</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> iter = fusiontrees(ntuple(n -> s, 16))</code><code class="nohighlight hljs ansi" style="display:block;">TensorKit.FusionTreeIterator{SU2Irrep, 16, NTuple{16, Tuple{SU2Irrep}}}(((Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),), (Irrep[SU₂](1/2),)), Irrep[SU₂](0), (false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false))</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> sum(n -> 1, iter)</code><code class="nohighlight hljs ansi" style="display:block;">1430</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> length(iter)</code><code class="nohighlight hljs ansi" style="display:block;">1430</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> @elapsed sum(n -> 1, iter)</code><code class="nohighlight hljs ansi" style="display:block;">0.052099187</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> @elapsed length(iter)</code><code class="nohighlight hljs ansi" style="display:block;">4.0546e-5</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> s2 = s ⊠ s</code><code class="nohighlight hljs ansi" style="display:block;">Irrep[SU₂ × SU₂](1/2, 1/2)</code><br/><code class="language-julia-repl hljs" style="display:block;">julia> collect(fusiontrees((s2, s2, s2, s2)))</code><code class="nohighlight hljs ansi" style="display:block;">4-element Vector{FusionTree{ProductSector{Tuple{SU2Irrep, SU2Irrep}}, 4, 2, 3}}: |
304 | 304 | FusionTree{Irrep[SU₂ × SU₂]}(((1/2, 1/2), (1/2, 1/2), (1/2, 1/2), (1/2, 1/2)), (0, 0), (false, false, false, false), ((0, 0), (1/2, 1/2))) |
305 | 305 | FusionTree{Irrep[SU₂ × SU₂]}(((1/2, 1/2), (1/2, 1/2), (1/2, 1/2), (1/2, 1/2)), (0, 0), (false, false, false, false), ((1, 0), (1/2, 1/2))) |
306 | 306 | FusionTree{Irrep[SU₂ × SU₂]}(((1/2, 1/2), (1/2, 1/2), (1/2, 1/2), (1/2, 1/2)), (0, 0), (false, false, false, false), ((0, 1), (1/2, 1/2))) |
|
0 commit comments