Skip to content

Commit

Permalink
build based on 54e85c9
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Nov 5, 2024
1 parent f172135 commit e7974fc
Show file tree
Hide file tree
Showing 24 changed files with 380 additions and 380 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.1","generation_timestamp":"2024-11-05T07:42:02","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.11.1","generation_timestamp":"2024-11-05T13:08:48","documenter_version":"1.7.0"}}
110 changes: 55 additions & 55 deletions dev/api/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/bibliography/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/qutip_differences/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/search_index.js

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions dev/tutorials/logo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

cmap1 = cgrad(vcat(fill(julia_blue, n_repeats), fill(julia_green, n_repeats)))
cmap2 = cgrad(vcat(fill(julia_blue, n_repeats), fill(julia_red, n_repeats)))
cmap3 = cgrad(vcat(fill(julia_blue, n_repeats), fill(julia_purple, n_repeats)))</code></pre><img src="c697b948.svg" alt="Example block output"/><h3 id="Normalizing-the-Wigner-function-and-applying-the-custom-colormap"><a class="docs-heading-anchor" href="#Normalizing-the-Wigner-function-and-applying-the-custom-colormap">Normalizing the Wigner function and applying the custom colormap</a><a id="Normalizing-the-Wigner-function-and-applying-the-custom-colormap-1"></a><a class="docs-heading-anchor-permalink" href="#Normalizing-the-Wigner-function-and-applying-the-custom-colormap" title="Permalink"></a></h3><p>The colormaps require the input to be in the range <span>$[0, 1]$</span>. We normalize the Wigner function such that the maximum value is <span>$1$</span>and the zeros are set to <span>$0.5$</span>.</p><pre><code class="language-julia hljs">vmax = maximum(wig)
cmap3 = cgrad(vcat(fill(julia_blue, n_repeats), fill(julia_purple, n_repeats)))</code></pre><img src="c851a1a6.svg" alt="Example block output"/><h3 id="Normalizing-the-Wigner-function-and-applying-the-custom-colormap"><a class="docs-heading-anchor" href="#Normalizing-the-Wigner-function-and-applying-the-custom-colormap">Normalizing the Wigner function and applying the custom colormap</a><a id="Normalizing-the-Wigner-function-and-applying-the-custom-colormap-1"></a><a class="docs-heading-anchor-permalink" href="#Normalizing-the-Wigner-function-and-applying-the-custom-colormap" title="Permalink"></a></h3><p>The colormaps require the input to be in the range <span>$[0, 1]$</span>. We normalize the Wigner function such that the maximum value is <span>$1$</span>and the zeros are set to <span>$0.5$</span>.</p><pre><code class="language-julia hljs">vmax = maximum(wig)
wig_normalized = wig ./ (vmax * 2) .+ 1 / 2</code></pre><p>And we now apply this custom colormap to make an image (a <code>Matrix{RGBAf}</code>).</p><pre><code class="language-julia hljs">img = set_color_julia.(X, Y, wig_normalized, α1, α2, α3, Ref(cmap1), Ref(cmap2), Ref(cmap3), δ)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">500×500 Array{RGBA{Float32},2} with eltype ColorTypes.RGBA{Float32}:
RGBA{Float32}(0.523498,0.311502,0.523505,6.26417f-6) … RGBA{Float32}(0.417504,0.366499,0.772491,6.26426f-6)
RGBA{Float32}(0.523498,0.311502,0.523505,7.01657f-6) RGBA{Float32}(0.417504,0.366499,0.772491,7.01667f-6)
Expand All @@ -132,4 +132,4 @@
hidespines!(ax)
hidexdecorations!(ax)
hideydecorations!(ax)
fig</code></pre><img src="460466ec.svg" alt="Example block output"/><h2 id="Conclusion"><a class="docs-heading-anchor" href="#Conclusion">Conclusion</a><a id="Conclusion-1"></a><a class="docs-heading-anchor-permalink" href="#Conclusion" title="Permalink"></a></h2><p>This tutorial demonstrates how to generate the <a href="https://github.com/qutip/QuantumToolbox.jl">QuantumToolbox.jl</a> logo using the package itself and <a href="https://github.com/MakieOrg/Makie.jl">Makie.jl</a> for visualization. The logo is a visualization of the Wigner function of a triangular cat state, with a custom colormap that highlights the different coherent states with colors matching the Julia logo.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../lowrank/">« Low Rank Master Equation</a><a class="docs-footer-nextpage" href="../../api/">API »</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.7.0 on <span class="colophon-date" title="Tuesday 5 November 2024 07:42">Tuesday 5 November 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
fig</code></pre><img src="460466ec.svg" alt="Example block output"/><h2 id="Conclusion"><a class="docs-heading-anchor" href="#Conclusion">Conclusion</a><a id="Conclusion-1"></a><a class="docs-heading-anchor-permalink" href="#Conclusion" title="Permalink"></a></h2><p>This tutorial demonstrates how to generate the <a href="https://github.com/qutip/QuantumToolbox.jl">QuantumToolbox.jl</a> logo using the package itself and <a href="https://github.com/MakieOrg/Makie.jl">Makie.jl</a> for visualization. The logo is a visualization of the Wigner function of a triangular cat state, with a custom colormap that highlights the different coherent states with colors matching the Julia logo.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../lowrank/">« Low Rank Master Equation</a><a class="docs-footer-nextpage" href="../../api/">API »</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.7.0 on <span class="colophon-date" title="Tuesday 5 November 2024 13:08">Tuesday 5 November 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
4 changes: 2 additions & 2 deletions dev/tutorials/lowrank/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit e7974fc

Please sign in to comment.