Skip to content

Commit

Permalink
Deploying to gh-pages from @ fb8d9fa 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
grace-harper committed Feb 19, 2024
1 parent 5cea863 commit 91a2836
Show file tree
Hide file tree
Showing 168 changed files with 596 additions and 4,770 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: ac2b2b210e7591f91a11e0d3eab1318d
config: b35e2e0a8a46d66c8858ead2ca0b9e3b
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified .doctrees/apidocs/decoders.doctree
Binary file not shown.
Binary file modified .doctrees/apidocs/utils.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.circuits.ArcCircuit.doctree
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.circuits.CSSCodeCircuit.doctree
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.circuits.CodeCircuit.doctree
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.circuits.SurfaceCodeCircuit.doctree
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.decoders.DecodingGraph.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.decoders.UnionFindDecoder.doctree
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.utils.DecodingGraphEdge.doctree
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.utils.DecodingGraphNode.doctree
Binary file not shown.
8 changes: 1 addition & 7 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="../apidocs/decoders.html">Decoders (<code class="xref py py-mod docutils literal notranslate"><span class="pre">qiskit_qec.decoders</span></code>)</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of Decoders (qiskit_qec.decoders)</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="../stubs/qiskit_qec.decoders.DecodingGraph.html">DecodingGraph</a></li>
<li class="toctree-l3"><a class="reference internal" href="../stubs/qiskit_qec.decoders.CircuitModelMatchingDecoder.html">CircuitModelMatchingDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../stubs/qiskit_qec.decoders.RepetitionDecoder.html">RepetitionDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../stubs/qiskit_qec.decoders.ThreeBitDecoder.html">ThreeBitDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../stubs/qiskit_qec.decoders.UnionFindDecoder.html">UnionFindDecoder</a></li>
</ul>
</li>
Expand Down Expand Up @@ -336,11 +333,8 @@ <h1>All modules for which code is available</h1>
<li><a href="qiskit_qec/codes/codebase.html">qiskit_qec.codes.codebase</a></li>
<li><a href="qiskit_qec/codes/qec_code.html">qiskit_qec.codes.qec_code</a></li>
<li><a href="qiskit_qec/codes/stabsubsystemcodes.html">qiskit_qec.codes.stabsubsystemcodes</a></li>
<li><a href="qiskit_qec/decoders/circuit_matching_decoder.html">qiskit_qec.decoders.circuit_matching_decoder</a></li>
<li><a href="qiskit_qec/decoders/decoding_graph.html">qiskit_qec.decoders.decoding_graph</a></li>
<li><a href="qiskit_qec/decoders/hdrg_decoders.html">qiskit_qec.decoders.hdrg_decoders</a></li>
<li><a href="qiskit_qec/decoders/repetition_decoder.html">qiskit_qec.decoders.repetition_decoder</a></li>
<li><a href="qiskit_qec/decoders/three_bit_decoder.html">qiskit_qec.decoders.three_bit_decoder</a></li>
<li><a href="qiskit_qec/geometry/bounds.html">qiskit_qec.geometry.bounds</a></li>
<li><a href="qiskit_qec/geometry/lattice.html">qiskit_qec.geometry.lattice</a></li>
<li><a href="qiskit_qec/geometry/manifold.html">qiskit_qec.geometry.manifold</a></li>
Expand Down Expand Up @@ -391,7 +385,7 @@ <h1>All modules for which code is available</h1>

<a href="https://github.com/pradyunsg/furo">Furo</a>
<div class="last-updated">
Last updated on 2024/02/16</div>
Last updated on 2024/02/19</div>
</div>
<div class="right-details">

Expand Down
20 changes: 3 additions & 17 deletions _modules/qiskit_qec/circuits/code_circuit.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="../../../apidocs/decoders.html">Decoders (<code class="xref py py-mod docutils literal notranslate"><span class="pre">qiskit_qec.decoders</span></code>)</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of Decoders (qiskit_qec.decoders)</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.DecodingGraph.html">DecodingGraph</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.CircuitModelMatchingDecoder.html">CircuitModelMatchingDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.RepetitionDecoder.html">RepetitionDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.ThreeBitDecoder.html">ThreeBitDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.UnionFindDecoder.html">UnionFindDecoder</a></li>
</ul>
</li>
Expand Down Expand Up @@ -388,29 +385,18 @@ <h1>Source code for qiskit_qec.circuits.code_circuit</h1><div class="highlight">
<span class="k">pass</span></div>


<div class="viewcode-block" id="CodeCircuit.measured_logicals">
<a class="viewcode-back" href="../../../stubs/qiskit_qec.circuits.CodeCircuit.html#qiskit_qec.circuits.CodeCircuit.measured_logicals">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">measured_logicals</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Returns a list of logical operators, each expressed as a list of qubits for which</span>
<span class="sd"> the parity of the final readouts corresponds to the raw logical readout.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>


<div class="viewcode-block" id="CodeCircuit.check_nodes">
<a class="viewcode-back" href="../../../stubs/qiskit_qec.circuits.CodeCircuit.html#qiskit_qec.circuits.CodeCircuit.check_nodes">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">check_nodes</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">nodes</span><span class="p">,</span> <span class="n">ignore_extra_boundary</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">minimal</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">check_nodes</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">nodes</span><span class="p">,</span> <span class="n">ignore_extra_logical</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">minimal</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Determines whether a given set of nodes are neutral. If so, also</span>
<span class="sd"> determines any additional logical readout qubits that would be</span>
<span class="sd"> flipped by the errors creating such a cluster and how many errors</span>
<span class="sd"> would be required to make the cluster.</span>
<span class="sd"> Args:</span>
<span class="sd"> nodes (list): List of nodes, of the type produced by `string2nodes`.</span>
<span class="sd"> ignore_extra_boundary (bool): If `True`, undeeded boundary nodes are</span>
<span class="sd"> ignore_extra_logical (bool): If `True`, undeeded logical nodes are</span>
<span class="sd"> ignored.</span>
<span class="sd"> minimal (bool): Whether output should only reflect the minimal error</span>
<span class="sd"> case.</span>
Expand Down Expand Up @@ -461,7 +447,7 @@ <h1>Source code for qiskit_qec.circuits.code_circuit</h1><div class="highlight">

<a href="https://github.com/pradyunsg/furo">Furo</a>
<div class="last-updated">
Last updated on 2024/02/16</div>
Last updated on 2024/02/19</div>
</div>
<div class="right-details">

Expand Down
20 changes: 2 additions & 18 deletions _modules/qiskit_qec/circuits/css_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="../../../apidocs/decoders.html">Decoders (<code class="xref py py-mod docutils literal notranslate"><span class="pre">qiskit_qec.decoders</span></code>)</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of Decoders (qiskit_qec.decoders)</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.DecodingGraph.html">DecodingGraph</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.CircuitModelMatchingDecoder.html">CircuitModelMatchingDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.RepetitionDecoder.html">RepetitionDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.ThreeBitDecoder.html">ThreeBitDecoder</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../stubs/qiskit_qec.decoders.UnionFindDecoder.html">UnionFindDecoder</a></li>
</ul>
</li>
Expand Down Expand Up @@ -516,19 +513,6 @@ <h1>Source code for qiskit_qec.circuits.css_code</h1><div class="highlight"><pre
<span class="bp">self</span><span class="o">.</span><span class="n">z_stabilizers</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">code</span><span class="o">.</span><span class="n">z_stabilizers</span>
<span class="bp">self</span><span class="o">.</span><span class="n">logical_x</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">code</span><span class="o">.</span><span class="n">logical_x</span>
<span class="bp">self</span><span class="o">.</span><span class="n">logical_z</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">code</span><span class="o">.</span><span class="n">logical_z</span>
<span class="c1"># for the unionfind decoder</span>
<span class="bp">self</span><span class="o">.</span><span class="n">css_x_logical</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">logical_x</span>
<span class="bp">self</span><span class="o">.</span><span class="n">css_z_logical</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">logical_z</span>

<div class="viewcode-block" id="CSSCodeCircuit.measured_logicals">
<a class="viewcode-back" href="../../../stubs/qiskit_qec.circuits.CSSCodeCircuit.html#qiskit_qec.circuits.CSSCodeCircuit.measured_logicals">[docs]</a>
<span class="k">def</span> <span class="nf">measured_logicals</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">basis</span> <span class="o">==</span> <span class="s2">&quot;x&quot;</span><span class="p">:</span>
<span class="n">measured_logicals</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">logical_x</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">measured_logicals</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">logical_z</span>
<span class="k">return</span> <span class="n">measured_logicals</span></div>


<span class="k">def</span> <span class="nf">_prepare_initial_state</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">qc</span><span class="p">,</span> <span class="n">qregs</span><span class="p">,</span> <span class="n">state</span><span class="p">):</span>
<span class="k">if</span> <span class="n">state</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;1&quot;</span><span class="p">:</span>
Expand Down Expand Up @@ -633,7 +617,7 @@ <h1>Source code for qiskit_qec.circuits.css_code</h1><div class="highlight"><pre

<div class="viewcode-block" id="CSSCodeCircuit.check_nodes">
<a class="viewcode-back" href="../../../stubs/qiskit_qec.circuits.CSSCodeCircuit.html#qiskit_qec.circuits.CSSCodeCircuit.check_nodes">[docs]</a>
<span class="k">def</span> <span class="nf">check_nodes</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">nodes</span><span class="p">,</span> <span class="n">ignore_extra_boundary</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">minimal</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">check_nodes</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">nodes</span><span class="p">,</span> <span class="n">ignore_extra_logical</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">minimal</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span></div>


Expand Down Expand Up @@ -777,7 +761,7 @@ <h1>Source code for qiskit_qec.circuits.css_code</h1><div class="highlight"><pre

<a href="https://github.com/pradyunsg/furo">Furo</a>
<div class="last-updated">
Last updated on 2024/02/16</div>
Last updated on 2024/02/19</div>
</div>
<div class="right-details">

Expand Down
Loading

0 comments on commit 91a2836

Please sign in to comment.