Skip to content

Commit 3fb5742

Browse files
committed
Move static images to imgur
1 parent 7edf727 commit 3fb5742

7 files changed

Lines changed: 8 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ circuit = CircuitWidget(stim=your_circuit)
5353
circuit
5454
```
5555

56-
<img src="./_static/images/circuit_epr_pair.png" alt="quantum circuit that creates EPR pair" width=175>
56+
<img src="https://i.imgur.com/AOM0soZ.png" alt="quantum circuit that creates EPR pair" width=175>
5757

5858
### Propagating Paulis
5959

@@ -76,7 +76,7 @@ z_error_on_qubit_2 = "#!pragma MARKZ(0) 2"
7676

7777
#### Legend
7878

79-
<img src="./_static/images/pauli_legend.svg" alt="jupyter notebook cell with quantum circuit diagram output" width=200>
79+
<img src="https://i.imgur.com/Zt0G5k8.png" alt="red Pauli X, green Pauli Y, blue Pauli Z markers" width=200>
8080

8181
#### Example
8282

@@ -92,7 +92,7 @@ H 0
9292
CircuitWidget(stim=circuit_with_error)
9393
```
9494

95-
<img src="./_static/images/circuit_with_marker.png" alt="quantum circuit with Pauli propagation markers" width=200>
95+
<img src="https://i.imgur.com/5CH1OFQ.png" alt="quantum circuit with Pauli propagation markers" width=200>
9696

9797
Notice how the single specified Pauli X marker propagates both through the
9898
control and across the connector of the CNOT, and gets transformed into a Pauli
-15.8 KB
Binary file not shown.
-4.5 KB
Binary file not shown.
-6.01 KB
Binary file not shown.

_static/images/pauli_legend.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131

3232
html_theme = "furo"
3333

34-
# Static files configuration
35-
html_static_path = ["../_static"]
36-
3734
html_theme_options: dict[str, Any] = {
3835
"footer_icons": [
3936
{

docs/notebooks/getting_started.ipynb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,12 @@
222222
"metadata": {},
223223
"source": [
224224
"#### Legend\n",
225-
"<img src=\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='46'><rect width='100%' height='100%' fill='white'/><text x='35' y='30' text-anchor='end' dominant-baseline='middle' fill='black'>Pauli</text><rect x='38' y='16' width='28' height='28' fill='white' stroke='black'></rect><text x='52' y='14' text-anchor='middle' dominant-baseline='auto' fill='black'>X</text><polygon points='56.8,22 52,33.2 47.2,22' fill='red'></polygon><line x1='52' y1='30' x2='66' y2='30' stroke='red' stroke-width='2'></line><rect x='70' y='16' width='28' height='28' fill='white' stroke='black'></rect><text x='84' y='14' text-anchor='middle' dominant-baseline='auto' fill='black'>Y</text><polygon points='88.8,22 84,33.2 79.2,22' fill='green'></polygon><line x1='84' y1='30' x2='98' y2='30' stroke='green' stroke-width='2'></line><rect x='102' y='16' width='28' height='28' fill='white' stroke='black'></rect><text x='116' y='14' text-anchor='middle' dominant-baseline='auto' fill='black'>Z</text><polygon points='120.8,22 116,33.2 111.2,22' fill='blue'></polygon><line x1='116' y1='30' x2='130' y2='30' stroke='blue' stroke-width='2'></line></svg>\"\n",
226-
"alt=\"red Pauli X, green Pauli Y, blue Pauli Z markers\" \n",
225+
"\n",
226+
"<img src=\"https://i.imgur.com/XphzpNf.png\"\n",
227+
"alt=\"red Pauli X, green Pauli Y, blue Pauli Z markers\"\n",
228+
"width=200 \n",
227229
"/>\n",
230+
"\n",
228231
"#### Example: `MARKX` Propagation"
229232
]
230233
},

0 commit comments

Comments
 (0)