Skip to content

Commit

Permalink
build based on fc1a92c
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Dec 6, 2024
1 parent a65ff61 commit 5fa383d
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 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.11.2","generation_timestamp":"2024-12-06T20:33:03","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2024-12-06T20:36:07","documenter_version":"1.8.0"}}
Binary file added dev/generated/quickstart/14cdffe4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed dev/generated/quickstart/841af0a6.png
Binary file not shown.
Binary file removed dev/generated/quickstart/a1fe5fc7.png
Binary file not shown.
Binary file added dev/generated/quickstart/be620e50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions dev/generated/quickstart/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
Δt = 0.1
ts = 0:Δt:Δt*(N-1)
A = 0.1 * randn(length(H_drives), length(ts))</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">2×100 Matrix{Float64}:
-0.0167557 -0.134574 -0.0694259 … 0.0712833 -0.0497943 0.0494271
-0.139497 -0.0480756 0.0348251 0.236042 0.115525 -0.141877</code></pre><p>Now we will generate the unitaries</p><pre><code class="language-julia hljs">Us = exp.(-im * [(H_drift + sum(A[:, k] .* H_drives)) * ts[k] for k = 1:N])
0.186767 0.0118095 0.025388 … 0.0182515 0.164189 -0.0207822
0.0303833 -0.181847 -0.0416261 0.0834587 0.0862389 -0.0480321</code></pre><p>Now we will generate the unitaries</p><pre><code class="language-julia hljs">Us = exp.(-im * [(H_drift + sum(A[:, k] .* H_drives)) * ts[k] for k = 1:N])
Us[1]</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">2×2 Matrix{ComplexF64}:
1.0+0.0im 0.0+0.0im
0.0-0.0im 1.0+0.0im</code></pre><p>And create the trajectory</p><pre><code class="language-julia hljs">traj = NamedTrajectory(
Expand All @@ -19,4 +19,4 @@
);
controls = :a,
timestep = Δt
)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">NamedTrajectories.StructNamedTrajectory.NamedTrajectory{Float64}([1.0 0.994902229951256 … -0.8993733498400864 -0.8329762395716878; 0.0 -0.004799387504618944 … -0.0501103312138384 0.07763079727690508; … ; -0.016755692392251137 -0.13457402551712958 … -0.049794265616801725 0.049427104699649664; -0.13949699927061296 -0.04807559562048287 … 0.11552477695243046 -0.14187749241405118], [1.0, 0.0, 0.0, -0.0, 0.0, 1.0, 0.0, 0.0, -0.016755692392251137, -0.13949699927061296 … -0.8329762395716878, 0.07763079727690508, 0.027044920794941005, 0.547167813273367, -0.07763079727690511, -0.8329762395716878, 0.547167813273367, -0.027044920794941113, 0.049427104699649664, -0.14187749241405118], 100, 0.1, 10, (Ũ⃗ = 8, a = 2, states = 8, controls = 2), NamedTuple(), NamedTuple(), NamedTuple(), NamedTuple(), (Ũ⃗ = 1:8, a = 9:10, states = [1, 2, 3, 4, 5, 6, 7, 8], controls = [9, 10]), NamedTuple(), 0, NamedTuple(), NamedTuple(), (:Ũ⃗, :a), (:Ũ⃗,), (:a,))</code></pre><p>Finally we will plot the populations</p><pre><code class="language-julia hljs">plot_unitary_populations(traj)</code></pre><img src="841af0a6.png" alt="Example block output"/><p>We can also only plot the first column (or any other subset of columns)</p><pre><code class="language-julia hljs">plot_unitary_populations(traj; unitary_columns=[1])</code></pre><img src="a1fe5fc7.png" alt="Example block output"/><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="../../">« Home</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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Friday 6 December 2024 20:33">Friday 6 December 2024</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">NamedTrajectories.StructNamedTrajectory.NamedTrajectory{Float64}([1.0 0.9948384076041551 … -0.8565068788303405 -0.882910718555336; 0.0 -0.018153395484774213 … -0.043764709944909386 0.022522202756662328; … ; 0.18676672501819339 0.01180945948004734 … 0.164188589986143 -0.020782238614711325; 0.03038325970650889 -0.1818469358957189 … 0.08623894771954982 -0.048032078350549796], [1.0, 0.0, 0.0, -0.0, 0.0, 1.0, 0.0, 0.0, 0.18676672501819339, 0.03038325970650889 … -0.882910718555336, 0.022522202756662328, -0.009744774906508043, 0.4688991925831277, -0.022522202756662325, -0.882910718555336, 0.46889919258312773, 0.009744774906508036, -0.020782238614711325, -0.048032078350549796], 100, 0.1, 10, (Ũ⃗ = 8, a = 2, states = 8, controls = 2), NamedTuple(), NamedTuple(), NamedTuple(), NamedTuple(), (Ũ⃗ = 1:8, a = 9:10, states = [1, 2, 3, 4, 5, 6, 7, 8], controls = [9, 10]), NamedTuple(), 0, NamedTuple(), NamedTuple(), (:Ũ⃗, :a), (:Ũ⃗,), (:a,))</code></pre><p>Finally we will plot the populations</p><pre><code class="language-julia hljs">plot_unitary_populations(traj)</code></pre><img src="be620e50.png" alt="Example block output"/><p>We can also only plot the first column (or any other subset of columns)</p><pre><code class="language-julia hljs">plot_unitary_populations(traj; unitary_columns=[1])</code></pre><img src="14cdffe4.png" alt="Example block output"/><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="../../">« Home</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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Friday 6 December 2024 20:36">Friday 6 December 2024</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 5fa383d

Please sign in to comment.