Skip to content

Commit

Permalink
build based on b9139b2
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jun 12, 2024
1 parent 8a3a1d9 commit 8edacdb
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 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.10.4","generation_timestamp":"2024-06-07T19:40:40","documenter_version":"1.2.1"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-12T23:54:17","documenter_version":"1.2.1"}}
2 changes: 1 addition & 1 deletion dev/contribution_guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

solve!(prob, max_iter=100)
@test unitary_fidelity(prob) > 0.99
end</code></pre><p>Individual tests will populate in the Testing panel in VSCode. All tests are integrated into the base test system for CI, which occurs at each PR submission.</p><p>We organize our tests in two ways:</p><ol><li>Modules in single files (e.g. <code>quantum_utils.jl</code>, <code>direct_sums.jl</code>) should have a single test file in the <code>test/</code> directory.</li><li>Module directories containing templates (e.g. <code>quantum_system_templates/</code>, <code>problem_templates/</code>) should include tests in the same file that the template is defined, so <code>problem_templates/unitary_smooth_pulse_problem.jl</code> includes the test items for <code>UnitarySmoothPulseProblem</code>.</li></ol><h3 id="Reporting-Issues"><a class="docs-heading-anchor" href="#Reporting-Issues">Reporting Issues</a><a id="Reporting-Issues-1"></a><a class="docs-heading-anchor-permalink" href="#Reporting-Issues" title="Permalink"></a></h3><p>Issue templates are available on GitHub. We are happy to take feature requests!</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../generated/quickstart/">« Quickstart Guide</a><a class="docs-footer-nextpage" href="../generated/man/problem_templates/">Problem Templates »</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><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Friday 7 June 2024 19:40">Friday 7 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
end</code></pre><p>Individual tests will populate in the Testing panel in VSCode. All tests are integrated into the base test system for CI, which occurs at each PR submission.</p><p>We organize our tests in two ways:</p><ol><li>Modules in single files (e.g. <code>quantum_utils.jl</code>, <code>direct_sums.jl</code>) should have a single test file in the <code>test/</code> directory.</li><li>Module directories containing templates (e.g. <code>quantum_system_templates/</code>, <code>problem_templates/</code>) should include tests in the same file that the template is defined, so <code>problem_templates/unitary_smooth_pulse_problem.jl</code> includes the test items for <code>UnitarySmoothPulseProblem</code>.</li></ol><h3 id="Reporting-Issues"><a class="docs-heading-anchor" href="#Reporting-Issues">Reporting Issues</a><a id="Reporting-Issues-1"></a><a class="docs-heading-anchor-permalink" href="#Reporting-Issues" title="Permalink"></a></h3><p>Issue templates are available on GitHub. We are happy to take feature requests!</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../generated/quickstart/">« Quickstart Guide</a><a class="docs-footer-nextpage" href="../generated/man/problem_templates/">Problem Templates »</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><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Wednesday 12 June 2024 23:54">Wednesday 12 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
6 changes: 3 additions & 3 deletions dev/generated/examples/multilevel_transmon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
Number of equality constraint Jacobian evaluations = 51
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations = 50
Total seconds in IPOPT = 17.498
Total seconds in IPOPT = 15.301

EXIT: Maximum Number of Iterations Exceeded.</code></pre><p>Let&#39;s look at the fidelity in the subspace</p><pre><code class="language-julia hljs">println(&quot;Fidelity: &quot;, unitary_fidelity(prob; subspace=op.subspace_indices))</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Fidelity: 0.9999842782034291</code></pre><p>and plot the result using the <code>plot_unitary_populations</code> function.</p><pre><code class="language-julia hljs">plot_unitary_populations(prob; fig_size=(900, 700))</code></pre><img src="efb30bc2.png" alt="Example block output"/><h2 id="Leakage-suppresion"><a class="docs-heading-anchor" href="#Leakage-suppresion">Leakage suppresion</a><a id="Leakage-suppresion-1"></a><a class="docs-heading-anchor-permalink" href="#Leakage-suppresion" title="Permalink"></a></h2><p>As can be seen from the above plot, there is a substantial amount of leakage into the higher levels during the evolution. To mitigate this, we have implemented the ability to add a cost to populating the leakage levels, in particular this is an <span>$L_1$</span> norm cost, which is implemented via slack variables and should ideally drive those leakage populations down to zero. To implement this, pass <code>leakage_suppresion=true</code> and <code>R_leakage={value}</code> to the <code>UnitarySmoothPulseProblem</code> template.</p><pre><code class="language-julia hljs"># create the a leakage suppression problem, initializing with the previous solution

Expand Down Expand Up @@ -271,6 +271,6 @@
Number of equality constraint Jacobian evaluations = 51
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations = 50
Total seconds in IPOPT = 3.501
Total seconds in IPOPT = 3.470

EXIT: Maximum Number of Iterations Exceeded.</code></pre><p>Let&#39;s look at the fidelity in the subspace</p><pre><code class="language-julia hljs">println(&quot;Fidelity: &quot;, unitary_fidelity(prob_leakage; subspace=op.subspace_indices))</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Fidelity: 0.999884421231116</code></pre><p>and plot the result using the <code>plot_unitary_populations</code> function.</p><pre><code class="language-julia hljs">plot_unitary_populations(prob_leakage; fig_size=(900, 700))</code></pre><img src="18366b6e.png" alt="Example block output"/><p>Here we can see that the leakage populations have been driven substantially down.</p><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../man/losses/">« Losses</a><a class="docs-footer-nextpage" href="../../../lib/">Library »</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><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Friday 7 June 2024 19:40">Friday 7 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
EXIT: Maximum Number of Iterations Exceeded.</code></pre><p>Let&#39;s look at the fidelity in the subspace</p><pre><code class="language-julia hljs">println(&quot;Fidelity: &quot;, unitary_fidelity(prob_leakage; subspace=op.subspace_indices))</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Fidelity: 0.999884421231116</code></pre><p>and plot the result using the <code>plot_unitary_populations</code> function.</p><pre><code class="language-julia hljs">plot_unitary_populations(prob_leakage; fig_size=(900, 700))</code></pre><img src="18366b6e.png" alt="Example block output"/><p>Here we can see that the leakage populations have been driven substantially down.</p><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../man/losses/">« Losses</a><a class="docs-footer-nextpage" href="../../../lib/">Library »</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><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Wednesday 12 June 2024 23:54">Wednesday 12 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 8edacdb

Please sign in to comment.