Skip to content

Commit

Permalink
build based on 88f7d3e
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Dec 13, 2024
1 parent a305c61 commit 8c5a5bf
Show file tree
Hide file tree
Showing 45 changed files with 212 additions and 210 deletions.
6 changes: 4 additions & 2 deletions dev/AdvancedUsageGuide.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@
5.802053 seconds (24.56 M allocations: 1.200 GiB, 7.83% gc time)

julia> @time svd(A, i');
0.000177 seconds (450 allocations: 36.609 KiB)</code></pre><p>ITensors provides the command <code>ITensors.compile()</code> to create what is called a &quot;custom system image&quot;, a custom version of Julia that includes a compiled version of ITensors (see the <a href="https://julialang.github.io/PackageCompiler.jl/dev/">PackageCompiler documentation</a> for more details). Just run the command:</p><pre><code class="nohighlight hljs">julia&gt; ITensors.compile()
0.000177 seconds (450 allocations: 36.609 KiB)</code></pre><p>ITensors provides the command <code>ITensors.compile()</code> to create what is called a &quot;custom system image&quot;, a custom version of Julia that includes a compiled version of ITensors (see the <a href="https://julialang.github.io/PackageCompiler.jl/dev/">PackageCompiler documentation</a> for more details).</p><div class="admonition is-compat"><header class="admonition-header">ITensors 0.7</header><div class="admonition-body"><p>As of ITensors 0.7, you must now install and load the <a href="https://github.com/ITensor/ITensorMPS.jl">ITensorMPS.jl</a> package in order to use <code>ITensors.compile()</code>, since it relies on running MPS/MPO functionality as example code for Julia to compile.</p></div></div><p>Just run the commands:</p><pre><code class="nohighlight hljs">julia&gt; using ITensors, ITensorMPS

julia&gt; ITensors.compile()
[...]</code></pre><p>By default, this will create the file <code>sys_itensors.so</code> in the directory <code>~/.julia/sysimages</code>. Then if we start julia with:</p><pre><code class="nohighlight hljs">$ julia --sysimage ~/.julia/sysimages/sys_itensors.so</code></pre><p>then you should see something like:</p><pre><code class="language-julia hljs">julia&gt; @time using ITensors
0.330587 seconds (977.61 k allocations: 45.807 MiB, 1.89% gc time)

Expand Down Expand Up @@ -461,4 +463,4 @@
myscale2! (generic function with 1 method)

julia&gt; @btime myscale2!(A, 2) setup = (A = random_itensor(i));
3.549 μs (2 allocations: 112 bytes)</code></pre><p>A very efficient function is written for the Tensor type. Then, the ITensor version just wraps the Tensor function by calling it after converting the ITensor to a Tensor (without any copying) with the <code>tensor</code> function. This is the basis for the design of all performance critical ITensors.jl functions.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="Einsum.html">« ITensor indices and Einstein notation</a><a class="docs-footer-nextpage" href="Multithreading.html">Multithreading »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 13 December 2024 13:39">Friday 13 December 2024</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
3.549 μs (2 allocations: 112 bytes)</code></pre><p>A very efficient function is written for the Tensor type. Then, the ITensor version just wraps the Tensor function by calling it after converting the ITensor to a Tensor (without any copying) with the <code>tensor</code> function. This is the basis for the design of all performance critical ITensors.jl functions.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="Einsum.html">« ITensor indices and Einstein notation</a><a class="docs-footer-nextpage" href="Multithreading.html">Multithreading »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 13 December 2024 15:43">Friday 13 December 2024</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/CodeTiming.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dev/ContractionSequenceOptimization.html

Large diffs are not rendered by default.

Loading

0 comments on commit 8c5a5bf

Please sign in to comment.