Skip to content

Commit

Permalink
build based on cf6575d
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jun 20, 2024
1 parent c5a6b13 commit 65b0a0d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 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-19T16:46:16","documenter_version":"1.4.1"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-20T00:13:42","documenter_version":"1.4.1"}}
10 changes: 5 additions & 5 deletions dev/API/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
BellState(Bool[0, 1])

julia> apply!(BellState([0,1,1,1]), NoisyBellMeasure(2,1))
(BellState(Bool[0, 0, 1, 1]), false)</code></pre></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="most_common/">Most Common Gates »</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.4.1 on <span class="colophon-date" title="Wednesday 19 June 2024 16:46">Wednesday 19 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
(BellState(Bool[0, 0, 1, 1]), false)</code></pre></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="most_common/">Most Common Gates »</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.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 00:13">Thursday 20 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/measurements/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
BellState(Bool[0, 0])
BellState(Bool[1, 1])</code><br/><code class="language-julia-repl hljs" style="display:block;">julia&gt; filter_true(BellMeasure(3,1))</code><code class="nohighlight hljs ansi" style="display:block;">2-element Vector{BellState}:
BellState(Bool[0, 0])
BellState(Bool[1, 0])</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../most_common/">« Most Common Gates</a><a class="docs-footer-nextpage" href="../noisy/">Noisy Gates »</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.4.1 on <span class="colophon-date" title="Wednesday 19 June 2024 16:46">Wednesday 19 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
BellState(Bool[1, 0])</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../most_common/">« Most Common Gates</a><a class="docs-footer-nextpage" href="../noisy/">Noisy Gates »</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.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 00:13">Thursday 20 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/most_common/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
+ZZ

11 = 3 = -XX
-ZZ</code></pre><p>If we consider purification circuits that preserve the <code>00</code> state, the majority of useful gates in purification circuits can be written in the form:</p><img style="width:50%" src="../a_good_bp_gate.png"><p>Above the entangled pairs are qubit 1&amp;3 and qubits 2&amp;4.</p><p>The main property of this type of circuits is that they always map the &quot;good&quot; state to itself, while they permute the rest of the Bell basis states.</p><p>The <span>$h_a\otimes h_b$</span> (and <span>$f_a\otimes f_b$</span>) can be one of the six permutations of <code>01, 10, 11</code>, implemented by single-qubit Clifford gates. There are 6 possible such operations. The hard-coded CNOT gate provides the necessary entangling.</p><p>These gates are implemented as <a href="../API/#BPGates.CNOTPerm"><code>CNOTPerm</code></a>.</p><p>The 6 permutations (i.e. the gates <span>$h_a\otimes h_b$</span> and <span>$f_a\otimes f_b$</span>) are:</p><pre><code class="language-julia-repl hljs" style="display:block;">julia&gt; BPGates.good_perm_tuple</code><code class="nohighlight hljs ansi" style="display:block;">((1, 2, 3, 4), (1, 2, 4, 3), (1, 3, 2, 4), (1, 3, 4, 2), (1, 4, 2, 3), (1, 4, 3, 2))</code></pre><p>The gates represented as Clifford operations are:</p><p>TODO finish this listing</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« BPGates.jl</a><a class="docs-footer-nextpage" href="../measurements/">Coincidence Measurements »</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.4.1 on <span class="colophon-date" title="Wednesday 19 June 2024 16:46">Wednesday 19 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
-ZZ</code></pre><p>If we consider purification circuits that preserve the <code>00</code> state, the majority of useful gates in purification circuits can be written in the form:</p><img style="width:50%" src="../a_good_bp_gate.png"><p>Above the entangled pairs are qubit 1&amp;3 and qubits 2&amp;4.</p><p>The main property of this type of circuits is that they always map the &quot;good&quot; state to itself, while they permute the rest of the Bell basis states.</p><p>The <span>$h_a\otimes h_b$</span> (and <span>$f_a\otimes f_b$</span>) can be one of the six permutations of <code>01, 10, 11</code>, implemented by single-qubit Clifford gates. There are 6 possible such operations. The hard-coded CNOT gate provides the necessary entangling.</p><p>These gates are implemented as <a href="../API/#BPGates.CNOTPerm"><code>CNOTPerm</code></a>.</p><p>The 6 permutations (i.e. the gates <span>$h_a\otimes h_b$</span> and <span>$f_a\otimes f_b$</span>) are:</p><pre><code class="language-julia-repl hljs" style="display:block;">julia&gt; BPGates.good_perm_tuple</code><code class="nohighlight hljs ansi" style="display:block;">((1, 2, 3, 4), (1, 2, 4, 3), (1, 3, 2, 4), (1, 3, 4, 2), (1, 4, 2, 3), (1, 4, 3, 2))</code></pre><p>The gates represented as Clifford operations are:</p><p>TODO finish this listing</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« BPGates.jl</a><a class="docs-footer-nextpage" href="../measurements/">Coincidence Measurements »</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.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 00:13">Thursday 20 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/noisy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
BellState(Bool[1, 1])

julia&gt; apply!(BellState([0,0]), PauliNoiseOp(1,0,0,1))
BellState(Bool[1, 0])</code></pre><h2 id="Noisy-gate-wrapper"><a class="docs-heading-anchor" href="#Noisy-gate-wrapper">Noisy gate wrapper</a><a id="Noisy-gate-wrapper-1"></a><a class="docs-heading-anchor-permalink" href="#Noisy-gate-wrapper" title="Permalink"></a></h2><p><a href="../API/#BPGates.PauliNoiseBellGate"><code>PauliNoiseBellGate</code></a> can be used to wrap a normal gate with a noise process.</p><h2 id="Noisy-measurements"><a class="docs-heading-anchor" href="#Noisy-measurements">Noisy measurements</a><a id="Noisy-measurements-1"></a><a class="docs-heading-anchor-permalink" href="#Noisy-measurements" title="Permalink"></a></h2><p><a href="../API/#BPGates.NoisyBellMeasureNoisyReset"><code>NoisyBellMeasureNoisyReset</code></a> performs a <code>BellMeasurement</code> with a chance <code>p</code> to report the opposite result for a coincidence measurement, and chances <code>px</code>, <code>py</code>, and <code>pz</code> to flip the new Bell state to (respectively) one of the other 3 Bell states.</p><p>It implements <code>applywstatus!</code> which enables its use with <code>mctrajectories</code> from <code>QuantumClifford</code>.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../measurements/">« Coincidence Measurements</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Wednesday 19 June 2024 16:46">Wednesday 19 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
BellState(Bool[1, 0])</code></pre><h2 id="Noisy-gate-wrapper"><a class="docs-heading-anchor" href="#Noisy-gate-wrapper">Noisy gate wrapper</a><a id="Noisy-gate-wrapper-1"></a><a class="docs-heading-anchor-permalink" href="#Noisy-gate-wrapper" title="Permalink"></a></h2><p><a href="../API/#BPGates.PauliNoiseBellGate"><code>PauliNoiseBellGate</code></a> can be used to wrap a normal gate with a noise process.</p><h2 id="Noisy-measurements"><a class="docs-heading-anchor" href="#Noisy-measurements">Noisy measurements</a><a id="Noisy-measurements-1"></a><a class="docs-heading-anchor-permalink" href="#Noisy-measurements" title="Permalink"></a></h2><p><a href="../API/#BPGates.NoisyBellMeasureNoisyReset"><code>NoisyBellMeasureNoisyReset</code></a> performs a <code>BellMeasurement</code> with a chance <code>p</code> to report the opposite result for a coincidence measurement, and chances <code>px</code>, <code>py</code>, and <code>pz</code> to flip the new Bell state to (respectively) one of the other 3 Bell states.</p><p>It implements <code>applywstatus!</code> which enables its use with <code>mctrajectories</code> from <code>QuantumClifford</code>.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../measurements/">« Coincidence Measurements</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 00:13">Thursday 20 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

0 comments on commit 65b0a0d

Please sign in to comment.