Skip to content

Commit

Permalink
Deploying to gh-pages from @ d61cb32 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
grace-harper committed Mar 13, 2024
1 parent b06e1bb commit 0d31093
Show file tree
Hide file tree
Showing 138 changed files with 151 additions and 139 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: 218bea1aedf0f8bb789acdd8ed586aec
config: 672de3b15caa36c0cff90ad8f2f3e9ff
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/stubs/qiskit_qec.decoders.DecodingGraph.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,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/03/07</div>
Last updated on 2024/03/13</div>
</div>
<div class="right-details">

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/circuits/code_circuit.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,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/03/07</div>
Last updated on 2024/03/13</div>
</div>
<div class="right-details">

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/circuits/css_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -761,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/03/07</div>
Last updated on 2024/03/13</div>
</div>
<div class="right-details">

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/circuits/repetition_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@ <h1>Source code for qiskit_qec.circuits.repetition_code</h1><div class="highligh

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/circuits/surface_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ <h1>Source code for qiskit_qec.circuits.surface_code</h1><div class="highlight">

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/codes/codebase.html
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ <h1>Source code for qiskit_qec.codes.codebase</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/codes/qec_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ <h1>Source code for qiskit_qec.codes.qec_code</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/codes/stabsubsystemcodes.html
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ <h1>Source code for qiskit_qec.codes.stabsubsystemcodes</h1><div class="highligh

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

Expand Down
16 changes: 13 additions & 3 deletions _modules/qiskit_qec/decoders/decoding_graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -647,22 +647,32 @@ <h1>Source code for qiskit_qec.decoders.decoding_graph</h1><div class="highlight

<div class="viewcode-block" id="DecodingGraph.weight_syndrome_graph">
<a class="viewcode-back" href="../../../stubs/qiskit_qec.decoders.DecodingGraph.html#qiskit_qec.decoders.DecodingGraph.weight_syndrome_graph">[docs]</a>
<span class="k">def</span> <span class="nf">weight_syndrome_graph</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">counts</span><span class="p">,</span> <span class="n">method</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="n">METHOD_SPITZ</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">weight_syndrome_graph</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span> <span class="n">counts</span><span class="p">:</span> <span class="nb">dict</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span> <span class="n">method</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="n">METHOD_SPITZ</span><span class="p">,</span> <span class="n">error_probs</span><span class="p">:</span> <span class="nb">dict</span> <span class="o">=</span> <span class="kc">None</span>
<span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Generate weighted syndrome graph from result counts.</span>

<span class="sd"> Args:</span>
<span class="sd"> counts (dict): Counts dictionary of the results used to calculate</span>
<span class="sd"> the weights.</span>
<span class="sd"> method (string): Method to used for calculation. Supported</span>
<span class="sd"> methods are &#39;spitz&#39; (default) and &#39;naive&#39;.</span>
<span class="sd"> error_probs (dict): probability that the syndrome contains the node pair</span>
<span class="sd"> of a given edge. Overridden by counts if both are given.</span>

<span class="sd"> Additional information:</span>
<span class="sd"> Uses `counts` to estimate the probability of the errors that</span>
<span class="sd"> create the pairs of nodes in graph. The edge weights are then</span>
<span class="sd"> replaced with the corresponding -log(p/(1-p).</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="n">error_probs</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_error_probs</span><span class="p">(</span><span class="n">counts</span><span class="p">,</span> <span class="n">method</span><span class="o">=</span><span class="n">method</span><span class="p">)</span>
<span class="k">if</span> <span class="n">counts</span><span class="p">:</span>
<span class="n">error_probs</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_error_probs</span><span class="p">(</span><span class="n">counts</span><span class="p">,</span> <span class="n">method</span><span class="o">=</span><span class="n">method</span><span class="p">)</span>
<span class="k">elif</span> <span class="ow">not</span> <span class="n">error_probs</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span><span class="p">(</span>
<span class="s2">&quot;No information provided to reweight the graph.&quot;</span>
<span class="o">+</span> <span class="s2">&quot;Specify either counts or error_probs.&quot;</span>
<span class="p">)</span>

<span class="n">boundary_nodes</span> <span class="o">=</span> <span class="p">[]</span>
<span class="k">for</span> <span class="n">n</span><span class="p">,</span> <span class="n">node</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">graph</span><span class="o">.</span><span class="n">nodes</span><span class="p">()):</span>
Expand Down Expand Up @@ -1038,7 +1048,7 @@ <h1>Source code for qiskit_qec.decoders.decoding_graph</h1><div class="highlight

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/decoders/hdrg_decoders.html
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ <h1>Source code for qiskit_qec.decoders.hdrg_decoders</h1><div class="highlight"

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/bounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ <h1>Source code for qiskit_qec.geometry.bounds</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/lattice.html
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ <h1>Source code for qiskit_qec.geometry.lattice</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/manifold.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ <h1>Source code for qiskit_qec.geometry.manifold</h1><div class="highlight"><pre

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/edge.html
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ <h1>Source code for qiskit_qec.geometry.model.edge</h1><div class="highlight"><p

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/face.html
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ <h1>Source code for qiskit_qec.geometry.model.face</h1><div class="highlight"><p

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/qubit_count.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ <h1>Source code for qiskit_qec.geometry.model.qubit_count</h1><div class="highli

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/qubit_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ <h1>Source code for qiskit_qec.geometry.model.qubit_data</h1><div class="highlig

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/shape_object.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ <h1>Source code for qiskit_qec.geometry.model.shape_object</h1><div class="highl

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ <h1>Source code for qiskit_qec.geometry.model.shell</h1><div class="highlight"><

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/vertex.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ <h1>Source code for qiskit_qec.geometry.model.vertex</h1><div class="highlight">

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/model/wireframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ <h1>Source code for qiskit_qec.geometry.model.wireframe</h1><div class="highligh

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/plane.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ <h1>Source code for qiskit_qec.geometry.plane</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/shape.html
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ <h1>Source code for qiskit_qec.geometry.shape</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/checkerboardtile.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.checkerboardtile</h1><div class="h

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/diagonalbartile.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.diagonalbartile</h1><div class="hi

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.diagonalhourglasstile</h1><div cla

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/hexagontile.html
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.hexagontile</h1><div class="highli

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/octasquaretile.html
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.octasquaretile</h1><div class="hig

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/squarediamondtile.html
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.squarediamondtile</h1><div class="

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/tile.html
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.tile</h1><div class="highlight"><p

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/tilefactory.html
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.tilefactory</h1><div class="highli

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/tiles/tiling.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ <h1>Source code for qiskit_qec.geometry.tiles.tiling</h1><div class="highlight">

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/geometry/two_manifold.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ <h1>Source code for qiskit_qec.geometry.two_manifold</h1><div class="highlight">

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/info/properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ <h1>Source code for qiskit_qec.info.properties</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/linear/matrix.html
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ <h1>Source code for qiskit_qec.linear.matrix</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/linear/symplectic.html
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ <h1>Source code for qiskit_qec.linear.symplectic</h1><div class="highlight"><pre

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/operators/base_pauli.html
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ <h1>Source code for qiskit_qec.operators.base_pauli</h1><div class="highlight"><

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/operators/pauli.html
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ <h1>Source code for qiskit_qec.operators.pauli</h1><div class="highlight"><pre>

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

Expand Down
2 changes: 1 addition & 1 deletion _modules/qiskit_qec/operators/pauli_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ <h1>Source code for qiskit_qec.operators.pauli_list</h1><div class="highlight"><

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

Expand Down
Loading

0 comments on commit 0d31093

Please sign in to comment.