Skip to content

Commit

Permalink
build based on 9f4749d
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Apr 15, 2024
1 parent a9ef408 commit 5e9ba55
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.6.7","generation_timestamp":"2024-04-04T21:49:39","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.6.7","generation_timestamp":"2024-04-15T21:53:48","documenter_version":"1.3.0"}}
4 changes: 2 additions & 2 deletions dev/guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
v=L/T;</code></pre><p>The package provided a simple encapsulation for the single spin shuttling, namely by <code>OneSpinModel</code>. We need to specify the discretization size and monte-carlo size to create a model.</p><pre><code class="language-julia hljs">M = 10000; # monte carlo sampling size
N=301; # discretization size
model=OneSpinModel(T,L,N,B)
println(model)</code></pre><p>The fidelity of the spin state after shuttling can be calculated using numerical integration of the covariance matrix. </p><pre><code class="language-julia hljs">f1=averagefidelity(model)</code></pre><p>The fidelity can also be obtained from Monte-Carlo sampling.</p><pre><code class="language-julia hljs">f2, f2_err=sampling(model, fidelity, M)</code></pre><p>For the single spin shuttling at constant velocity, analytical solution is also available. </p><pre><code class="language-julia hljs">f3=1/2*(1+φ(T,L,B))</code></pre><p>We can compare the results form the three methods.</p><pre><code class="language-julia hljs">@assert isapprox(f1, f3,rtol=1e-2)
println(model)</code></pre><p>The fidelity of the spin state after shuttling can be calculated using numerical integration of the covariance matrix. </p><pre><code class="language-julia hljs">f1=averagefidelity(model)</code></pre><p>The fidelity can also be obtained from Monte-Carlo sampling.</p><pre><code class="language-julia hljs">f2, f2_err=sampling(model, fidelity, M)</code></pre><p>For the single spin shuttling at constant velocity, analytical solution is also available. </p><pre><code class="language-julia hljs">f3=1/2*(1+W(T,L,B))</code></pre><p>We can compare the results form the three methods.</p><pre><code class="language-julia hljs">@assert isapprox(f1, f3,rtol=1e-2)
@assert isapprox(f2, f3, rtol=1e-2)
println(&quot;NI:&quot;, f1)
println(&quot;MC:&quot;, f2)
println(&quot;TH:&quot;, f3)</code></pre><h2 id="Shuttling-of-entangled-spin-pairs."><a class="docs-heading-anchor" href="#Shuttling-of-entangled-spin-pairs.">Shuttling of entangled spin pairs.</a><a id="Shuttling-of-entangled-spin-pairs.-1"></a><a class="docs-heading-anchor-permalink" href="#Shuttling-of-entangled-spin-pairs." title="Permalink"></a></h2></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</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="auto">Automatic (OS)</option><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 1.3.0 on <span class="colophon-date" title="Thursday 4 April 2024 21:49">Thursday 4 April 2024</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
println(&quot;TH:&quot;, f3)</code></pre><h2 id="Shuttling-of-entangled-spin-pairs."><a class="docs-heading-anchor" href="#Shuttling-of-entangled-spin-pairs.">Shuttling of entangled spin pairs.</a><a id="Shuttling-of-entangled-spin-pairs.-1"></a><a class="docs-heading-anchor-permalink" href="#Shuttling-of-entangled-spin-pairs." title="Permalink"></a></h2></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</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="auto">Automatic (OS)</option><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 1.3.0 on <span class="colophon-date" title="Monday 15 April 2024 21:53">Monday 15 April 2024</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
4 changes: 2 additions & 2 deletions dev/index.html

Large diffs are not rendered by default.

Binary file modified dev/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion dev/search_index.js

Large diffs are not rendered by default.

0 comments on commit 5e9ba55

Please sign in to comment.