microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.26.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

source/npm/qsharp/test/circuits-cases/conditionals.qsc.snapshot.html

8770lines · modecode

1<!doctype html>
2<html
3 xmlns="http://www.w3.org/1999/xhtml"
4 style="--minToolboxHeight: 150px; --minGateWidth: 40px; --gateHeight: 40px"
5>
6 <head>
7 <link rel="stylesheet" href="../../ux/qsharp-ux.css" />
8 <link rel="stylesheet" href="../../ux/qsharp-circuit.css" />
9 </head>
10 <body>
11 <div id="circuit" class="qs-circuit circuit-editor-container">
12 <div class="panel">
13 <div class="toolbox-panel">
14 <h2 class="title">Toolbox</h2>
15 <svg
16 xmlns="http://www.w3.org/2000/svg"
17 class="toolbox-panel-svg"
18 height="362"
19 width="100%"
20 >
21 <g class="gate" data-type="RX" toolbox-item="true">
22 <g>
23 <g>
24 <rect
25 class="gate-unitary"
26 x="1"
27 y="1"
28 width="40"
29 height="40"
30 data-wire-ys="[21]"
31 data-width="40"
32 />
33 <text font-size="14" x="21" y="21" class="qs-maintext">
34 <tspan class="qs-mathtext">Rx</tspan>
35 </text>
36 </g>
37 </g>
38 </g>
39 <g class="gate" data-type="X" toolbox-item="true">
40 <g class="oplus" data-wire-ys="[21]" data-width="30">
41 <circle cx="71" cy="21" r="15" />
42 <line x1="71" x2="71" y1="6" y2="36" />
43 <line x1="56" x2="86" y1="21" y2="21" />
44 </g>
45 </g>
46 <g class="gate" data-type="RY" toolbox-item="true">
47 <g>
48 <g>
49 <rect
50 class="gate-unitary"
51 x="1"
52 y="51"
53 width="40"
54 height="40"
55 data-wire-ys="[71]"
56 data-width="40"
57 />
58 <text font-size="14" x="21" y="71" class="qs-maintext">
59 <tspan class="qs-mathtext">Ry</tspan>
60 </text>
61 </g>
62 </g>
63 </g>
64 <g class="gate" data-type="Y" toolbox-item="true">
65 <g>
66 <g>
67 <rect
68 class="gate-unitary"
69 x="51"
70 y="51"
71 width="40"
72 height="40"
73 data-wire-ys="[71]"
74 data-width="40"
75 />
76 <text font-size="14" x="71" y="71" class="qs-maintext">
77 <tspan class="qs-mathtext">Y</tspan>
78 </text>
79 </g>
80 </g>
81 </g>
82 <g class="gate" data-type="RZ" toolbox-item="true">
83 <g>
84 <g>
85 <rect
86 class="gate-unitary"
87 x="1"
88 y="101"
89 width="40"
90 height="40"
91 data-wire-ys="[121]"
92 data-width="40"
93 />
94 <text font-size="14" x="21" y="121" class="qs-maintext">
95 <tspan class="qs-mathtext">Rz</tspan>
96 </text>
97 </g>
98 </g>
99 </g>
100 <g class="gate" data-type="Z" toolbox-item="true">
101 <g>
102 <g>
103 <rect
104 class="gate-unitary"
105 x="51"
106 y="101"
107 width="40"
108 height="40"
109 data-wire-ys="[121]"
110 data-width="40"
111 />
112 <text font-size="14" x="71" y="121" class="qs-maintext">
113 <tspan class="qs-mathtext">Z</tspan>
114 </text>
115 </g>
116 </g>
117 </g>
118 <g class="gate" data-type="S" toolbox-item="true">
119 <g>
120 <g>
121 <rect
122 class="gate-unitary"
123 x="1"
124 y="151"
125 width="40"
126 height="40"
127 data-wire-ys="[171]"
128 data-width="40"
129 />
130 <text font-size="14" x="21" y="171" class="qs-maintext">
131 <tspan class="qs-mathtext">S</tspan>
132 </text>
133 </g>
134 </g>
135 </g>
136 <g class="gate" data-type="T" toolbox-item="true">
137 <g>
138 <g>
139 <rect
140 class="gate-unitary"
141 x="51"
142 y="151"
143 width="40"
144 height="40"
145 data-wire-ys="[171]"
146 data-width="40"
147 />
148 <text font-size="14" x="71" y="171" class="qs-maintext">
149 <tspan class="qs-mathtext">T</tspan>
150 </text>
151 </g>
152 </g>
153 </g>
154 <g class="gate" data-type="H" toolbox-item="true">
155 <g>
156 <g>
157 <rect
158 class="gate-unitary"
159 x="1"
160 y="201"
161 width="40"
162 height="40"
163 data-wire-ys="[221]"
164 data-width="40"
165 />
166 <text font-size="14" x="21" y="221" class="qs-maintext">
167 <tspan class="qs-mathtext">H</tspan>
168 </text>
169 </g>
170 </g>
171 </g>
172 <g class="gate" data-type="SX" toolbox-item="true">
173 <g>
174 <g>
175 <rect
176 class="gate-unitary"
177 x="51"
178 y="201"
179 width="40"
180 height="40"
181 data-wire-ys="[221]"
182 data-width="40"
183 />
184 <text font-size="14" x="71" y="221" class="qs-maintext">
185 <tspan class="qs-mathtext">SX</tspan>
186 </text>
187 </g>
188 </g>
189 </g>
190 <g class="gate" data-type="Reset" toolbox-item="true">
191 <g>
192 <g>
193 <rect
194 class="gate-ket"
195 x="1"
196 y="251"
197 width="40"
198 height="40"
199 data-wire-ys="[271]"
200 data-width="40"
201 />
202 <text
203 font-size="14"
204 x="21"
205 y="271"
206 class="qs-maintext ket-text"
207 >
208 |0⟩
209 </text>
210 </g>
211 </g>
212 </g>
213 <g class="gate" data-type="Measure" toolbox-item="true">
214 <g>
215 <rect
216 class="gate-measure"
217 x="51"
218 y="251"
219 width="40"
220 height="40"
221 data-wire-ys="[271]"
222 data-width="40"
223 />
224 <path
225 class="arc-measure"
226 d="M 86 273 A 15 12 0 0 0 56 273"
227 style="pointer-events: none"
228 />
229 <line
230 x1="71"
231 x2="83"
232 y1="279"
233 y2="259"
234 class="qs-line-measure"
235 style="pointer-events: none"
236 />
237 </g>
238 </g>
239 <g
240 class="svg-run-button"
241 tabindex="0"
242 role="button"
243 visibility="hidden"
244 >
245 <rect
246 x="1"
247 y="310"
248 width="90"
249 height="40"
250 class="svg-run-button-rect"
251 />
252 <text x="46" y="330" class="svg-run-button-text">Run</text>
253 </g>
254 </svg>
255 </div>
256 </div>
257 <div class="circuit-wrapper">
258 <svg
259 xmlns="http://www.w3.org/2000/svg"
260 class="qviz"
261 width="1386"
262 height="4852"
263 viewBox="0 0 1386 4852"
264 >
265 <g class="qubit-input-states">
266 <text
267 font-size="16"
268 x="20"
269 y="144"
270 text-anchor="start"
271 dominant-baseline="middle"
272 data-wire="0"
273 class="qs-maintext qs-qubit-label"
274 style="pointer-events: all"
275 >
276 |
277 <tspan class="qs-mathtext">ψ</tspan>
278 <tspan baseline-shift="sub" font-size="65%">0</tspan>
279
280 </text>
281 <text
282 font-size="16"
283 x="20"
284 y="424"
285 text-anchor="start"
286 dominant-baseline="middle"
287 data-wire="1"
288 class="qs-maintext qs-qubit-label"
289 style="pointer-events: all"
290 >
291 |
292 <tspan class="qs-mathtext">ψ</tspan>
293 <tspan baseline-shift="sub" font-size="65%">1</tspan>
294
295 </text>
296 <text
297 font-size="16"
298 x="20"
299 y="600"
300 text-anchor="start"
301 dominant-baseline="middle"
302 data-wire="2"
303 class="qs-maintext qs-qubit-label"
304 style="pointer-events: all"
305 >
306 |
307 <tspan class="qs-mathtext">ψ</tspan>
308 <tspan baseline-shift="sub" font-size="65%">2</tspan>
309
310 </text>
311 <text
312 font-size="16"
313 x="20"
314 y="776"
315 text-anchor="start"
316 dominant-baseline="middle"
317 data-wire="3"
318 class="qs-maintext qs-qubit-label"
319 style="pointer-events: all"
320 >
321 |
322 <tspan class="qs-mathtext">ψ</tspan>
323 <tspan baseline-shift="sub" font-size="65%">3</tspan>
324
325 </text>
326 <text
327 font-size="16"
328 x="20"
329 y="880"
330 text-anchor="start"
331 dominant-baseline="middle"
332 data-wire="4"
333 class="qs-maintext qs-qubit-label"
334 style="pointer-events: all"
335 >
336 |
337 <tspan class="qs-mathtext">ψ</tspan>
338 <tspan baseline-shift="sub" font-size="65%">4</tspan>
339
340 </text>
341 <text
342 font-size="16"
343 x="20"
344 y="1030"
345 text-anchor="start"
346 dominant-baseline="middle"
347 data-wire="5"
348 class="qs-maintext qs-qubit-label"
349 style="pointer-events: all"
350 >
351 |
352 <tspan class="qs-mathtext">ψ</tspan>
353 <tspan baseline-shift="sub" font-size="65%">5</tspan>
354
355 </text>
356 <text
357 font-size="16"
358 x="20"
359 y="1134"
360 text-anchor="start"
361 dominant-baseline="middle"
362 data-wire="6"
363 class="qs-maintext qs-qubit-label"
364 style="pointer-events: all"
365 >
366 |
367 <tspan class="qs-mathtext">ψ</tspan>
368 <tspan baseline-shift="sub" font-size="65%">6</tspan>
369
370 </text>
371 <text
372 font-size="16"
373 x="20"
374 y="1300"
375 text-anchor="start"
376 dominant-baseline="middle"
377 data-wire="7"
378 class="qs-maintext qs-qubit-label"
379 style="pointer-events: all"
380 >
381 |
382 <tspan class="qs-mathtext">ψ</tspan>
383 <tspan baseline-shift="sub" font-size="65%">7</tspan>
384
385 </text>
386 <text
387 font-size="16"
388 x="20"
389 y="1404"
390 text-anchor="start"
391 dominant-baseline="middle"
392 data-wire="8"
393 class="qs-maintext qs-qubit-label"
394 style="pointer-events: all"
395 >
396 |
397 <tspan class="qs-mathtext">ψ</tspan>
398 <tspan baseline-shift="sub" font-size="65%">8</tspan>
399
400 </text>
401 <text
402 font-size="16"
403 x="20"
404 y="1580"
405 text-anchor="start"
406 dominant-baseline="middle"
407 data-wire="9"
408 class="qs-maintext qs-qubit-label"
409 style="pointer-events: all"
410 >
411 |
412 <tspan class="qs-mathtext">ψ</tspan>
413 <tspan baseline-shift="sub" font-size="65%">9</tspan>
414
415 </text>
416 <text
417 font-size="16"
418 x="20"
419 y="1710"
420 text-anchor="start"
421 dominant-baseline="middle"
422 data-wire="10"
423 class="qs-maintext qs-qubit-label"
424 style="pointer-events: all"
425 >
426 |
427 <tspan class="qs-mathtext">ψ</tspan>
428 <tspan baseline-shift="sub" font-size="65%">10</tspan>
429
430 </text>
431 <text
432 font-size="16"
433 x="20"
434 y="1814"
435 text-anchor="start"
436 dominant-baseline="middle"
437 data-wire="11"
438 class="qs-maintext qs-qubit-label"
439 style="pointer-events: all"
440 >
441 |
442 <tspan class="qs-mathtext">ψ</tspan>
443 <tspan baseline-shift="sub" font-size="65%">11</tspan>
444
445 </text>
446 <text
447 font-size="16"
448 x="20"
449 y="2016"
450 text-anchor="start"
451 dominant-baseline="middle"
452 data-wire="12"
453 class="qs-maintext qs-qubit-label"
454 style="pointer-events: all"
455 >
456 |
457 <tspan class="qs-mathtext">ψ</tspan>
458 <tspan baseline-shift="sub" font-size="65%">12</tspan>
459
460 </text>
461 <text
462 font-size="16"
463 x="20"
464 y="2120"
465 text-anchor="start"
466 dominant-baseline="middle"
467 data-wire="13"
468 class="qs-maintext qs-qubit-label"
469 style="pointer-events: all"
470 >
471 |
472 <tspan class="qs-mathtext">ψ</tspan>
473 <tspan baseline-shift="sub" font-size="65%">13</tspan>
474
475 </text>
476 <text
477 font-size="16"
478 x="20"
479 y="2224"
480 text-anchor="start"
481 dominant-baseline="middle"
482 data-wire="14"
483 class="qs-maintext qs-qubit-label"
484 style="pointer-events: all"
485 >
486 |
487 <tspan class="qs-mathtext">ψ</tspan>
488 <tspan baseline-shift="sub" font-size="65%">14</tspan>
489
490 </text>
491 <text
492 font-size="16"
493 x="20"
494 y="2410"
495 text-anchor="start"
496 dominant-baseline="middle"
497 data-wire="15"
498 class="qs-maintext qs-qubit-label"
499 style="pointer-events: all"
500 >
501 |
502 <tspan class="qs-mathtext">ψ</tspan>
503 <tspan baseline-shift="sub" font-size="65%">15</tspan>
504
505 </text>
506 <text
507 font-size="16"
508 x="20"
509 y="2514"
510 text-anchor="start"
511 dominant-baseline="middle"
512 data-wire="16"
513 class="qs-maintext qs-qubit-label"
514 style="pointer-events: all"
515 >
516 |
517 <tspan class="qs-mathtext">ψ</tspan>
518 <tspan baseline-shift="sub" font-size="65%">16</tspan>
519
520 </text>
521 <text
522 font-size="16"
523 x="20"
524 y="2690"
525 text-anchor="start"
526 dominant-baseline="middle"
527 data-wire="17"
528 class="qs-maintext qs-qubit-label"
529 style="pointer-events: all"
530 >
531 |
532 <tspan class="qs-mathtext">ψ</tspan>
533 <tspan baseline-shift="sub" font-size="65%">17</tspan>
534
535 </text>
536 <text
537 font-size="16"
538 x="20"
539 y="2866"
540 text-anchor="start"
541 dominant-baseline="middle"
542 data-wire="18"
543 class="qs-maintext qs-qubit-label"
544 style="pointer-events: all"
545 >
546 |
547 <tspan class="qs-mathtext">ψ</tspan>
548 <tspan baseline-shift="sub" font-size="65%">18</tspan>
549
550 </text>
551 <text
552 font-size="16"
553 x="20"
554 y="2970"
555 text-anchor="start"
556 dominant-baseline="middle"
557 data-wire="19"
558 class="qs-maintext qs-qubit-label"
559 style="pointer-events: all"
560 >
561 |
562 <tspan class="qs-mathtext">ψ</tspan>
563 <tspan baseline-shift="sub" font-size="65%">19</tspan>
564
565 </text>
566 <text
567 font-size="16"
568 x="20"
569 y="3146"
570 text-anchor="start"
571 dominant-baseline="middle"
572 data-wire="20"
573 class="qs-maintext qs-qubit-label"
574 style="pointer-events: all"
575 >
576 |
577 <tspan class="qs-mathtext">ψ</tspan>
578 <tspan baseline-shift="sub" font-size="65%">20</tspan>
579
580 </text>
581 <text
582 font-size="16"
583 x="20"
584 y="3250"
585 text-anchor="start"
586 dominant-baseline="middle"
587 data-wire="21"
588 class="qs-maintext qs-qubit-label"
589 style="pointer-events: all"
590 >
591 |
592 <tspan class="qs-mathtext">ψ</tspan>
593 <tspan baseline-shift="sub" font-size="65%">21</tspan>
594
595 </text>
596 <text
597 font-size="16"
598 x="20"
599 y="3478"
600 text-anchor="start"
601 dominant-baseline="middle"
602 data-wire="22"
603 class="qs-maintext qs-qubit-label"
604 style="pointer-events: all"
605 >
606 |
607 <tspan class="qs-mathtext">ψ</tspan>
608 <tspan baseline-shift="sub" font-size="65%">22</tspan>
609
610 </text>
611 <text
612 font-size="16"
613 x="20"
614 y="3550"
615 text-anchor="start"
616 dominant-baseline="middle"
617 data-wire="23"
618 class="qs-maintext qs-qubit-label"
619 style="pointer-events: all"
620 >
621 |
622 <tspan class="qs-mathtext">ψ</tspan>
623 <tspan baseline-shift="sub" font-size="65%">23</tspan>
624
625 </text>
626 <text
627 font-size="16"
628 x="20"
629 y="3778"
630 text-anchor="start"
631 dominant-baseline="middle"
632 data-wire="24"
633 class="qs-maintext qs-qubit-label"
634 style="pointer-events: all"
635 >
636 |
637 <tspan class="qs-mathtext">ψ</tspan>
638 <tspan baseline-shift="sub" font-size="65%">24</tspan>
639
640 </text>
641 <text
642 font-size="16"
643 x="20"
644 y="3860"
645 text-anchor="start"
646 dominant-baseline="middle"
647 data-wire="25"
648 class="qs-maintext qs-qubit-label"
649 style="pointer-events: all"
650 >
651 |
652 <tspan class="qs-mathtext">ψ</tspan>
653 <tspan baseline-shift="sub" font-size="65%">25</tspan>
654
655 </text>
656 <text
657 font-size="16"
658 x="20"
659 y="4160"
660 text-anchor="start"
661 dominant-baseline="middle"
662 data-wire="26"
663 class="qs-maintext qs-qubit-label"
664 style="pointer-events: all"
665 >
666 |
667 <tspan class="qs-mathtext">ψ</tspan>
668 <tspan baseline-shift="sub" font-size="65%">26</tspan>
669
670 </text>
671 <text
672 font-size="16"
673 x="20"
674 y="4212"
675 text-anchor="start"
676 dominant-baseline="middle"
677 data-wire="27"
678 class="qs-maintext qs-qubit-label"
679 style="pointer-events: all"
680 >
681 |
682 <tspan class="qs-mathtext">ψ</tspan>
683 <tspan baseline-shift="sub" font-size="65%">27</tspan>
684
685 </text>
686 <text
687 font-size="16"
688 x="20"
689 y="4316"
690 text-anchor="start"
691 dominant-baseline="middle"
692 data-wire="28"
693 class="qs-maintext qs-qubit-label"
694 style="pointer-events: all"
695 >
696 |
697 <tspan class="qs-mathtext">ψ</tspan>
698 <tspan baseline-shift="sub" font-size="65%">28</tspan>
699
700 </text>
701 <text
702 font-size="16"
703 x="20"
704 y="4512"
705 text-anchor="start"
706 dominant-baseline="middle"
707 data-wire="29"
708 class="qs-maintext qs-qubit-label"
709 style="pointer-events: all"
710 >
711 |
712 <tspan class="qs-mathtext">ψ</tspan>
713 <tspan baseline-shift="sub" font-size="65%">29</tspan>
714
715 </text>
716 <text
717 font-size="16"
718 x="20"
719 y="4564"
720 text-anchor="start"
721 dominant-baseline="middle"
722 data-wire="30"
723 class="qs-maintext qs-qubit-label"
724 style="pointer-events: all"
725 >
726 |
727 <tspan class="qs-mathtext">ψ</tspan>
728 <tspan baseline-shift="sub" font-size="65%">30</tspan>
729
730 </text>
731 <text
732 font-size="16"
733 x="20"
734 y="4668"
735 text-anchor="start"
736 dominant-baseline="middle"
737 data-wire="31"
738 class="qs-maintext qs-qubit-label"
739 style="pointer-events: all"
740 >
741 |
742 <tspan class="qs-mathtext">ψ</tspan>
743 <tspan baseline-shift="sub" font-size="65%">31</tspan>
744
745 </text>
746 </g>
747 <g class="wires">
748 <line x1="40" x2="1386" y1="144" y2="144" class="qubit-wire" />
749 <line x1="40" x2="1386" y1="424" y2="424" class="qubit-wire" />
750 <line x1="40" x2="1386" y1="600" y2="600" class="qubit-wire" />
751 <line x1="40" x2="1386" y1="776" y2="776" class="qubit-wire" />
752 <line x1="40" x2="1386" y1="880" y2="880" class="qubit-wire" />
753 <line x1="40" x2="1386" y1="1030" y2="1030" class="qubit-wire" />
754 <line x1="40" x2="1386" y1="1134" y2="1134" class="qubit-wire" />
755 <line x1="40" x2="1386" y1="1300" y2="1300" class="qubit-wire" />
756 <line x1="40" x2="1386" y1="1404" y2="1404" class="qubit-wire" />
757 <line x1="40" x2="1386" y1="1580" y2="1580" class="qubit-wire" />
758 <line x1="40" x2="1386" y1="1710" y2="1710" class="qubit-wire" />
759 <line x1="40" x2="1386" y1="1814" y2="1814" class="qubit-wire" />
760 <line x1="40" x2="1386" y1="2016" y2="2016" class="qubit-wire" />
761 <line x1="40" x2="1386" y1="2120" y2="2120" class="qubit-wire" />
762 <line x1="40" x2="1386" y1="2224" y2="2224" class="qubit-wire" />
763 <line x1="40" x2="1386" y1="2410" y2="2410" class="qubit-wire" />
764 <line x1="40" x2="1386" y1="2514" y2="2514" class="qubit-wire" />
765 <line x1="40" x2="1386" y1="2690" y2="2690" class="qubit-wire" />
766 <line x1="40" x2="1386" y1="2866" y2="2866" class="qubit-wire" />
767 <line x1="40" x2="1386" y1="2970" y2="2970" class="qubit-wire" />
768 <line x1="40" x2="1386" y1="3146" y2="3146" class="qubit-wire" />
769 <line x1="40" x2="1386" y1="3250" y2="3250" class="qubit-wire" />
770 <line x1="40" x2="1386" y1="3478" y2="3478" class="qubit-wire" />
771 <line x1="40" x2="1386" y1="3550" y2="3550" class="qubit-wire" />
772 <line x1="40" x2="1386" y1="3778" y2="3778" class="qubit-wire" />
773 <line x1="40" x2="1386" y1="3860" y2="3860" class="qubit-wire" />
774 <line x1="40" x2="1386" y1="4160" y2="4160" class="qubit-wire" />
775 <line x1="40" x2="1386" y1="4212" y2="4212" class="qubit-wire" />
776 <line x1="40" x2="1386" y1="4316" y2="4316" class="qubit-wire" />
777 <line x1="40" x2="1386" y1="4512" y2="4512" class="qubit-wire" />
778 <line x1="40" x2="1386" y1="4564" y2="4564" class="qubit-wire" />
779 <line x1="40" x2="1386" y1="4668" y2="4668" class="qubit-wire" />
780 <g>
781 <line
782 x1="173"
783 x2="173"
784 y1="144"
785 y2="195"
786 class="register-classical"
787 />
788 <line
789 x1="171"
790 x2="171"
791 y1="144"
792 y2="197"
793 class="register-classical"
794 />
795 <line
796 x1="173"
797 x2="1386"
798 y1="195"
799 y2="195"
800 class="register-classical"
801 />
802 <line
803 x1="171"
804 x2="1386"
805 y1="197"
806 y2="197"
807 class="register-classical"
808 />
809 </g>
810 <g>
811 <line
812 x1="979"
813 x2="979"
814 y1="144"
815 y2="247"
816 class="register-classical"
817 />
818 <line
819 x1="977"
820 x2="977"
821 y1="144"
822 y2="249"
823 class="register-classical"
824 />
825 <line
826 x1="979"
827 x2="1386"
828 y1="247"
829 y2="247"
830 class="register-classical"
831 />
832 <line
833 x1="977"
834 x2="1386"
835 y1="249"
836 y2="249"
837 class="register-classical"
838 />
839 </g>
840 <g>
841 <line
842 x1="1031"
843 x2="1031"
844 y1="144"
845 y2="299"
846 class="register-classical"
847 />
848 <line
849 x1="1029"
850 x2="1029"
851 y1="144"
852 y2="301"
853 class="register-classical"
854 />
855 <line
856 x1="1031"
857 x2="1386"
858 y1="299"
859 y2="299"
860 class="register-classical"
861 />
862 <line
863 x1="1029"
864 x2="1386"
865 y1="301"
866 y2="301"
867 class="register-classical"
868 />
869 </g>
870 <g>
871 <line
872 x1="173"
873 x2="173"
874 y1="424"
875 y2="475"
876 class="register-classical"
877 />
878 <line
879 x1="171"
880 x2="171"
881 y1="424"
882 y2="477"
883 class="register-classical"
884 />
885 <line
886 x1="173"
887 x2="1386"
888 y1="475"
889 y2="475"
890 class="register-classical"
891 />
892 <line
893 x1="171"
894 x2="1386"
895 y1="477"
896 y2="477"
897 class="register-classical"
898 />
899 </g>
900 <g>
901 <line
902 x1="173"
903 x2="173"
904 y1="600"
905 y2="651"
906 class="register-classical"
907 />
908 <line
909 x1="171"
910 x2="171"
911 y1="600"
912 y2="653"
913 class="register-classical"
914 />
915 <line
916 x1="173"
917 x2="1386"
918 y1="651"
919 y2="651"
920 class="register-classical"
921 />
922 <line
923 x1="171"
924 x2="1386"
925 y1="653"
926 y2="653"
927 class="register-classical"
928 />
929 </g>
930 <g>
931 <line
932 x1="173"
933 x2="173"
934 y1="776"
935 y2="827"
936 class="register-classical"
937 />
938 <line
939 x1="171"
940 x2="171"
941 y1="776"
942 y2="829"
943 class="register-classical"
944 />
945 <line
946 x1="173"
947 x2="1386"
948 y1="827"
949 y2="827"
950 class="register-classical"
951 />
952 <line
953 x1="171"
954 x2="1386"
955 y1="829"
956 y2="829"
957 class="register-classical"
958 />
959 </g>
960 <g>
961 <line
962 x1="173"
963 x2="173"
964 y1="880"
965 y2="931"
966 class="register-classical"
967 />
968 <line
969 x1="171"
970 x2="171"
971 y1="880"
972 y2="933"
973 class="register-classical"
974 />
975 <line
976 x1="173"
977 x2="1386"
978 y1="931"
979 y2="931"
980 class="register-classical"
981 />
982 <line
983 x1="171"
984 x2="1386"
985 y1="933"
986 y2="933"
987 class="register-classical"
988 />
989 </g>
990 <g>
991 <line
992 x1="173"
993 x2="173"
994 y1="1030"
995 y2="1081"
996 class="register-classical"
997 />
998 <line
999 x1="171"
1000 x2="171"
1001 y1="1030"
1002 y2="1083"
1003 class="register-classical"
1004 />
1005 <line
1006 x1="173"
1007 x2="1386"
1008 y1="1081"
1009 y2="1081"
1010 class="register-classical"
1011 />
1012 <line
1013 x1="171"
1014 x2="1386"
1015 y1="1083"
1016 y2="1083"
1017 class="register-classical"
1018 />
1019 </g>
1020 <g>
1021 <line
1022 x1="173"
1023 x2="173"
1024 y1="1134"
1025 y2="1185"
1026 class="register-classical"
1027 />
1028 <line
1029 x1="171"
1030 x2="171"
1031 y1="1134"
1032 y2="1187"
1033 class="register-classical"
1034 />
1035 <line
1036 x1="173"
1037 x2="1386"
1038 y1="1185"
1039 y2="1185"
1040 class="register-classical"
1041 />
1042 <line
1043 x1="171"
1044 x2="1386"
1045 y1="1187"
1046 y2="1187"
1047 class="register-classical"
1048 />
1049 </g>
1050 <g>
1051 <line
1052 x1="173"
1053 x2="173"
1054 y1="1300"
1055 y2="1351"
1056 class="register-classical"
1057 />
1058 <line
1059 x1="171"
1060 x2="171"
1061 y1="1300"
1062 y2="1353"
1063 class="register-classical"
1064 />
1065 <line
1066 x1="173"
1067 x2="1386"
1068 y1="1351"
1069 y2="1351"
1070 class="register-classical"
1071 />
1072 <line
1073 x1="171"
1074 x2="1386"
1075 y1="1353"
1076 y2="1353"
1077 class="register-classical"
1078 />
1079 </g>
1080 <g>
1081 <line
1082 x1="523"
1083 x2="523"
1084 y1="1404"
1085 y2="1455"
1086 class="register-classical"
1087 />
1088 <line
1089 x1="521"
1090 x2="521"
1091 y1="1404"
1092 y2="1457"
1093 class="register-classical"
1094 />
1095 <line
1096 x1="523"
1097 x2="1386"
1098 y1="1455"
1099 y2="1455"
1100 class="register-classical"
1101 />
1102 <line
1103 x1="521"
1104 x2="1386"
1105 y1="1457"
1106 y2="1457"
1107 class="register-classical"
1108 />
1109 </g>
1110 <g>
1111 <line
1112 x1="173"
1113 x2="173"
1114 y1="1580"
1115 y2="1631"
1116 class="register-classical"
1117 />
1118 <line
1119 x1="171"
1120 x2="171"
1121 y1="1580"
1122 y2="1633"
1123 class="register-classical"
1124 />
1125 <line
1126 x1="173"
1127 x2="1386"
1128 y1="1631"
1129 y2="1631"
1130 class="register-classical"
1131 />
1132 <line
1133 x1="171"
1134 x2="1386"
1135 y1="1633"
1136 y2="1633"
1137 class="register-classical"
1138 />
1139 </g>
1140 <g>
1141 <line
1142 x1="173"
1143 x2="173"
1144 y1="1710"
1145 y2="1761"
1146 class="register-classical"
1147 />
1148 <line
1149 x1="171"
1150 x2="171"
1151 y1="1710"
1152 y2="1763"
1153 class="register-classical"
1154 />
1155 <line
1156 x1="173"
1157 x2="1386"
1158 y1="1761"
1159 y2="1761"
1160 class="register-classical"
1161 />
1162 <line
1163 x1="171"
1164 x2="1386"
1165 y1="1763"
1166 y2="1763"
1167 class="register-classical"
1168 />
1169 </g>
1170 <g>
1171 <line
1172 x1="837"
1173 x2="837"
1174 y1="1814"
1175 y2="1865"
1176 class="register-classical"
1177 />
1178 <line
1179 x1="835"
1180 x2="835"
1181 y1="1814"
1182 y2="1867"
1183 class="register-classical"
1184 />
1185 <line
1186 x1="837"
1187 x2="1386"
1188 y1="1865"
1189 y2="1865"
1190 class="register-classical"
1191 />
1192 <line
1193 x1="835"
1194 x2="1386"
1195 y1="1867"
1196 y2="1867"
1197 class="register-classical"
1198 />
1199 </g>
1200 <g>
1201 <line
1202 x1="173"
1203 x2="173"
1204 y1="2016"
1205 y2="2067"
1206 class="register-classical"
1207 />
1208 <line
1209 x1="171"
1210 x2="171"
1211 y1="2016"
1212 y2="2069"
1213 class="register-classical"
1214 />
1215 <line
1216 x1="173"
1217 x2="1386"
1218 y1="2067"
1219 y2="2067"
1220 class="register-classical"
1221 />
1222 <line
1223 x1="171"
1224 x2="1386"
1225 y1="2069"
1226 y2="2069"
1227 class="register-classical"
1228 />
1229 </g>
1230 <g>
1231 <line
1232 x1="173"
1233 x2="173"
1234 y1="2120"
1235 y2="2171"
1236 class="register-classical"
1237 />
1238 <line
1239 x1="171"
1240 x2="171"
1241 y1="2120"
1242 y2="2173"
1243 class="register-classical"
1244 />
1245 <line
1246 x1="173"
1247 x2="1386"
1248 y1="2171"
1249 y2="2171"
1250 class="register-classical"
1251 />
1252 <line
1253 x1="171"
1254 x2="1386"
1255 y1="2173"
1256 y2="2173"
1257 class="register-classical"
1258 />
1259 </g>
1260 <g>
1261 <line
1262 x1="756"
1263 x2="756"
1264 y1="2224"
1265 y2="2275"
1266 class="register-classical"
1267 />
1268 <line
1269 x1="754"
1270 x2="754"
1271 y1="2224"
1272 y2="2277"
1273 class="register-classical"
1274 />
1275 <line
1276 x1="756"
1277 x2="1386"
1278 y1="2275"
1279 y2="2275"
1280 class="register-classical"
1281 />
1282 <line
1283 x1="754"
1284 x2="1386"
1285 y1="2277"
1286 y2="2277"
1287 class="register-classical"
1288 />
1289 </g>
1290 <g>
1291 <line
1292 x1="173"
1293 x2="173"
1294 y1="2410"
1295 y2="2461"
1296 class="register-classical"
1297 />
1298 <line
1299 x1="171"
1300 x2="171"
1301 y1="2410"
1302 y2="2463"
1303 class="register-classical"
1304 />
1305 <line
1306 x1="173"
1307 x2="1386"
1308 y1="2461"
1309 y2="2461"
1310 class="register-classical"
1311 />
1312 <line
1313 x1="171"
1314 x2="1386"
1315 y1="2463"
1316 y2="2463"
1317 class="register-classical"
1318 />
1319 </g>
1320 <g>
1321 <line
1322 x1="367"
1323 x2="367"
1324 y1="2514"
1325 y2="2565"
1326 class="register-classical"
1327 />
1328 <line
1329 x1="365"
1330 x2="365"
1331 y1="2514"
1332 y2="2567"
1333 class="register-classical"
1334 />
1335 <line
1336 x1="367"
1337 x2="1386"
1338 y1="2565"
1339 y2="2565"
1340 class="register-classical"
1341 />
1342 <line
1343 x1="365"
1344 x2="1386"
1345 y1="2567"
1346 y2="2567"
1347 class="register-classical"
1348 />
1349 </g>
1350 <g>
1351 <line
1352 x1="173"
1353 x2="173"
1354 y1="2690"
1355 y2="2741"
1356 class="register-classical"
1357 />
1358 <line
1359 x1="171"
1360 x2="171"
1361 y1="2690"
1362 y2="2743"
1363 class="register-classical"
1364 />
1365 <line
1366 x1="173"
1367 x2="1386"
1368 y1="2741"
1369 y2="2741"
1370 class="register-classical"
1371 />
1372 <line
1373 x1="171"
1374 x2="1386"
1375 y1="2743"
1376 y2="2743"
1377 class="register-classical"
1378 />
1379 </g>
1380 <g>
1381 <line
1382 x1="173"
1383 x2="173"
1384 y1="2866"
1385 y2="2917"
1386 class="register-classical"
1387 />
1388 <line
1389 x1="171"
1390 x2="171"
1391 y1="2866"
1392 y2="2919"
1393 class="register-classical"
1394 />
1395 <line
1396 x1="173"
1397 x2="1386"
1398 y1="2917"
1399 y2="2917"
1400 class="register-classical"
1401 />
1402 <line
1403 x1="171"
1404 x2="1386"
1405 y1="2919"
1406 y2="2919"
1407 class="register-classical"
1408 />
1409 </g>
1410 <g>
1411 <line
1412 x1="367"
1413 x2="367"
1414 y1="2970"
1415 y2="3021"
1416 class="register-classical"
1417 />
1418 <line
1419 x1="365"
1420 x2="365"
1421 y1="2970"
1422 y2="3023"
1423 class="register-classical"
1424 />
1425 <line
1426 x1="367"
1427 x2="1386"
1428 y1="3021"
1429 y2="3021"
1430 class="register-classical"
1431 />
1432 <line
1433 x1="365"
1434 x2="1386"
1435 y1="3023"
1436 y2="3023"
1437 class="register-classical"
1438 />
1439 </g>
1440 <g>
1441 <line
1442 x1="173"
1443 x2="173"
1444 y1="3146"
1445 y2="3197"
1446 class="register-classical"
1447 />
1448 <line
1449 x1="171"
1450 x2="171"
1451 y1="3146"
1452 y2="3199"
1453 class="register-classical"
1454 />
1455 <line
1456 x1="173"
1457 x2="1386"
1458 y1="3197"
1459 y2="3197"
1460 class="register-classical"
1461 />
1462 <line
1463 x1="171"
1464 x2="1386"
1465 y1="3199"
1466 y2="3199"
1467 class="register-classical"
1468 />
1469 </g>
1470 <g>
1471 <line
1472 x1="369"
1473 x2="369"
1474 y1="3250"
1475 y2="3301"
1476 class="register-classical"
1477 />
1478 <line
1479 x1="367"
1480 x2="367"
1481 y1="3250"
1482 y2="3303"
1483 class="register-classical"
1484 />
1485 <line
1486 x1="369"
1487 x2="1386"
1488 y1="3301"
1489 y2="3301"
1490 class="register-classical"
1491 />
1492 <line
1493 x1="367"
1494 x2="1386"
1495 y1="3303"
1496 y2="3303"
1497 class="register-classical"
1498 />
1499 </g>
1500 <g>
1501 <line
1502 x1="265"
1503 x2="265"
1504 y1="3550"
1505 y2="3601"
1506 class="register-classical"
1507 />
1508 <line
1509 x1="263"
1510 x2="263"
1511 y1="3550"
1512 y2="3603"
1513 class="register-classical"
1514 />
1515 <line
1516 x1="265"
1517 x2="1386"
1518 y1="3601"
1519 y2="3601"
1520 class="register-classical"
1521 />
1522 <line
1523 x1="263"
1524 x2="1386"
1525 y1="3603"
1526 y2="3603"
1527 class="register-classical"
1528 />
1529 </g>
1530 <g>
1531 <line
1532 x1="121"
1533 x2="121"
1534 y1="3860"
1535 y2="3911"
1536 class="register-classical"
1537 />
1538 <line
1539 x1="119"
1540 x2="119"
1541 y1="3860"
1542 y2="3913"
1543 class="register-classical"
1544 />
1545 <line
1546 x1="121"
1547 x2="1386"
1548 y1="3911"
1549 y2="3911"
1550 class="register-classical"
1551 />
1552 <line
1553 x1="119"
1554 x2="1386"
1555 y1="3913"
1556 y2="3913"
1557 class="register-classical"
1558 />
1559 </g>
1560 <g>
1561 <line
1562 x1="225"
1563 x2="225"
1564 y1="3860"
1565 y2="3963"
1566 class="register-classical"
1567 />
1568 <line
1569 x1="223"
1570 x2="223"
1571 y1="3860"
1572 y2="3965"
1573 class="register-classical"
1574 />
1575 <line
1576 x1="225"
1577 x2="1386"
1578 y1="3963"
1579 y2="3963"
1580 class="register-classical"
1581 />
1582 <line
1583 x1="223"
1584 x2="1386"
1585 y1="3965"
1586 y2="3965"
1587 class="register-classical"
1588 />
1589 </g>
1590 <g>
1591 <line
1592 x1="121"
1593 x2="121"
1594 y1="4212"
1595 y2="4263"
1596 class="register-classical"
1597 />
1598 <line
1599 x1="119"
1600 x2="119"
1601 y1="4212"
1602 y2="4265"
1603 class="register-classical"
1604 />
1605 <line
1606 x1="121"
1607 x2="1386"
1608 y1="4263"
1609 y2="4263"
1610 class="register-classical"
1611 />
1612 <line
1613 x1="119"
1614 x2="1386"
1615 y1="4265"
1616 y2="4265"
1617 class="register-classical"
1618 />
1619 </g>
1620 <g>
1621 <line
1622 x1="121"
1623 x2="121"
1624 y1="4316"
1625 y2="4367"
1626 class="register-classical"
1627 />
1628 <line
1629 x1="119"
1630 x2="119"
1631 y1="4316"
1632 y2="4369"
1633 class="register-classical"
1634 />
1635 <line
1636 x1="121"
1637 x2="1386"
1638 y1="4367"
1639 y2="4367"
1640 class="register-classical"
1641 />
1642 <line
1643 x1="119"
1644 x2="1386"
1645 y1="4369"
1646 y2="4369"
1647 class="register-classical"
1648 />
1649 </g>
1650 <g>
1651 <line
1652 x1="277"
1653 x2="277"
1654 y1="4564"
1655 y2="4615"
1656 class="register-classical"
1657 />
1658 <line
1659 x1="275"
1660 x2="275"
1661 y1="4564"
1662 y2="4617"
1663 class="register-classical"
1664 />
1665 <line
1666 x1="277"
1667 x2="1386"
1668 y1="4615"
1669 y2="4615"
1670 class="register-classical"
1671 />
1672 <line
1673 x1="275"
1674 x2="1386"
1675 y1="4617"
1676 y2="4617"
1677 class="register-classical"
1678 />
1679 </g>
1680 <g>
1681 <line
1682 x1="379"
1683 x2="379"
1684 y1="4668"
1685 y2="4719"
1686 class="register-classical"
1687 />
1688 <line
1689 x1="377"
1690 x2="377"
1691 y1="4668"
1692 y2="4721"
1693 class="register-classical"
1694 />
1695 <line
1696 x1="379"
1697 x2="1386"
1698 y1="4719"
1699 y2="4719"
1700 class="register-classical"
1701 />
1702 <line
1703 x1="377"
1704 x2="1386"
1705 y1="4721"
1706 y2="4721"
1707 class="register-classical"
1708 />
1709 </g>
1710 </g>
1711 <g>
1712 <g
1713 class="gate"
1714 data-expanded="true"
1715 data-location="0,0"
1716 data-zoom-out="false"
1717 data-zoom-in="true"
1718 >
1719 <rect
1720 class="gate-unitary"
1721 x="80"
1722 y="46"
1723 width="1288"
1724 height="4724"
1725 fill-opacity="0"
1726 stroke-dasharray="8, 8"
1727 style="cursor: grab"
1728 />
1729 <g>
1730 <g
1731 class="gate"
1732 data-expanded="true"
1733 data-location="0,0-0,0"
1734 data-zoom-out="true"
1735 data-zoom-in="true"
1736 >
1737 <rect
1738 class="gate-unitary"
1739 x="90"
1740 y="72"
1741 width="261"
1742 height="164"
1743 fill-opacity="0"
1744 stroke-dasharray="8, 8"
1745 style="cursor: grab"
1746 />
1747 <g>
1748 <g
1749 class="gate"
1750 data-location="0,0-0,0-0,0"
1751 data-zoom-out="true"
1752 data-zoom-in="false"
1753 >
1754 <g>
1755 <g>
1756 <rect
1757 class="gate-unitary"
1758 x="100"
1759 y="124"
1760 width="40"
1761 height="40"
1762 data-wire-ys="[144]"
1763 data-width="40"
1764 style="cursor: grab"
1765 data-wire="0"
1766 />
1767 <text
1768 font-size="14"
1769 x="120"
1770 y="144"
1771 class="qs-maintext"
1772 >
1773 <tspan class="qs-mathtext">H</tspan>
1774 </text>
1775 </g>
1776 </g>
1777 </g>
1778 <g
1779 class="gate"
1780 data-location="0,0-0,0-1,0"
1781 data-zoom-out="true"
1782 data-zoom-in="false"
1783 >
1784 <g>
1785 <rect
1786 class="gate-measure"
1787 x="152"
1788 y="124"
1789 width="40"
1790 height="40"
1791 data-wire-ys="[144]"
1792 data-width="40"
1793 style="cursor: grab"
1794 data-wire="0"
1795 />
1796 <path
1797 class="arc-measure"
1798 d="M 187 146 A 15 12 0 0 0 157 146"
1799 style="pointer-events: none"
1800 />
1801 <line
1802 x1="172"
1803 x2="184"
1804 y1="152"
1805 y2="132"
1806 class="qs-line-measure"
1807 style="pointer-events: none"
1808 />
1809 </g>
1810 </g>
1811 <g
1812 class="classically-controlled-group"
1813 data-location="0,0-0,0-2,0"
1814 data-zoom-out="true"
1815 data-zoom-in="true"
1816 data-expanded="true"
1817 >
1818 <line
1819 x1="219"
1820 x2="244"
1821 y1="216"
1822 y2="216"
1823 class="classical-line"
1824 stroke-dasharray="8, 8"
1825 />
1826 <line
1827 x1="219"
1828 x2="219"
1829 y1="211"
1830 y2="216"
1831 class="classical-line"
1832 stroke-dasharray="8, 8"
1833 />
1834 <g class="classically-controlled-btn">
1835 <circle cx="219" cy="196" r="15" />
1836 <text
1837 font-size="14"
1838 x="219"
1839 y="196"
1840 text-anchor="start"
1841 dominant-baseline="middle"
1842 class="qs-maintext"
1843 >
1844 c
1845 <tspan baseline-shift="sub" font-size="65%">0</tspan>
1846 </text>
1847 </g>
1848 <rect
1849 class="classical-container"
1850 x="244"
1851 y="98"
1852 width="97"
1853 height="128"
1854 fill-opacity="0"
1855 stroke-dasharray="8, 8"
1856 />
1857 <text
1858 font-size="14"
1859 x="254"
1860 y="113"
1861 class="qs-maintext qs-group-label"
1862 >
1863 <tspan class="qs-mathtext">if</tspan>
1864 :
1865 <tspan class="qs-mathtext">c</tspan>
1866 <tspan baseline-shift="sub" font-size="65%">0</tspan>
1867 = |1〉
1868 </text>
1869 <g>
1870 <g
1871 class="gate"
1872 data-location="0,0-0,0-2,0-0,0"
1873 data-zoom-out="true"
1874 data-zoom-in="false"
1875 >
1876 <g
1877 class="oplus"
1878 data-wire-ys="[144]"
1879 data-width="30"
1880 style="cursor: grab"
1881 data-wire="0"
1882 >
1883 <circle cx="274" cy="144" r="15" />
1884 <line x1="274" x2="274" y1="129" y2="159" />
1885 <line x1="259" x2="289" y1="144" y2="144" />
1886 </g>
1887 </g>
1888 </g>
1889 </g>
1890 </g>
1891 <text
1892 font-size="14"
1893 x="100"
1894 y="87"
1895 class="qs-maintext qs-group-label"
1896 >
1897 <tspan class="qs-mathtext">ResultComparisonToLiteral</tspan>
1898 </text>
1899 <g class="gate-control gate-collapse">
1900 <circle cx="92" cy="74" r="10" />
1901 <path d="M85,74 h14" />
1902 </g>
1903 </g>
1904 <g
1905 class="gate"
1906 data-expanded="true"
1907 data-location="0,0-0,1"
1908 data-zoom-out="true"
1909 data-zoom-in="true"
1910 >
1911 <rect
1912 class="gate-unitary"
1913 x="90"
1914 y="352"
1915 width="261"
1916 height="164"
1917 fill-opacity="0"
1918 stroke-dasharray="8, 8"
1919 style="cursor: grab"
1920 />
1921 <g>
1922 <g
1923 class="gate"
1924 data-location="0,0-0,1-0,0"
1925 data-zoom-out="true"
1926 data-zoom-in="false"
1927 >
1928 <g>
1929 <g>
1930 <rect
1931 class="gate-unitary"
1932 x="100"
1933 y="404"
1934 width="40"
1935 height="40"
1936 data-wire-ys="[424]"
1937 data-width="40"
1938 style="cursor: grab"
1939 data-wire="1"
1940 />
1941 <text
1942 font-size="14"
1943 x="120"
1944 y="424"
1945 class="qs-maintext"
1946 >
1947 <tspan class="qs-mathtext">H</tspan>
1948 </text>
1949 </g>
1950 </g>
1951 </g>
1952 <g
1953 class="gate"
1954 data-location="0,0-0,1-1,0"
1955 data-zoom-out="true"
1956 data-zoom-in="false"
1957 >
1958 <g>
1959 <rect
1960 class="gate-measure"
1961 x="152"
1962 y="404"
1963 width="40"
1964 height="40"
1965 data-wire-ys="[424]"
1966 data-width="40"
1967 style="cursor: grab"
1968 data-wire="1"
1969 />
1970 <path
1971 class="arc-measure"
1972 d="M 187 426 A 15 12 0 0 0 157 426"
1973 style="pointer-events: none"
1974 />
1975 <line
1976 x1="172"
1977 x2="184"
1978 y1="432"
1979 y2="412"
1980 class="qs-line-measure"
1981 style="pointer-events: none"
1982 />
1983 </g>
1984 </g>
1985 <g
1986 class="classically-controlled-group"
1987 data-location="0,0-0,1-2,0"
1988 data-zoom-out="true"
1989 data-zoom-in="true"
1990 data-expanded="true"
1991 >
1992 <line
1993 x1="219"
1994 x2="244"
1995 y1="496"
1996 y2="496"
1997 class="classical-line"
1998 stroke-dasharray="8, 8"
1999 />
2000 <line
2001 x1="219"
2002 x2="219"
2003 y1="491"
2004 y2="496"
2005 class="classical-line"
2006 stroke-dasharray="8, 8"
2007 />
2008 <g class="classically-controlled-btn">
2009 <circle cx="219" cy="476" r="15" />
2010 <text
2011 font-size="14"
2012 x="219"
2013 y="476"
2014 text-anchor="start"
2015 dominant-baseline="middle"
2016 class="qs-maintext"
2017 >
2018 c
2019 <tspan baseline-shift="sub" font-size="65%">1</tspan>
2020 </text>
2021 </g>
2022 <rect
2023 class="classical-container"
2024 x="244"
2025 y="378"
2026 width="97"
2027 height="128"
2028 fill-opacity="0"
2029 stroke-dasharray="8, 8"
2030 />
2031 <text
2032 font-size="14"
2033 x="254"
2034 y="393"
2035 class="qs-maintext qs-group-label"
2036 >
2037 <tspan class="qs-mathtext">if</tspan>
2038 :
2039 <tspan class="qs-mathtext">c</tspan>
2040 <tspan baseline-shift="sub" font-size="65%">1</tspan>
2041 = |0〉
2042 </text>
2043 <g>
2044 <g
2045 class="gate"
2046 data-location="0,0-0,1-2,0-0,0"
2047 data-zoom-out="true"
2048 data-zoom-in="false"
2049 >
2050 <g
2051 class="oplus"
2052 data-wire-ys="[424]"
2053 data-width="30"
2054 style="cursor: grab"
2055 data-wire="1"
2056 >
2057 <circle cx="274" cy="424" r="15" />
2058 <line x1="274" x2="274" y1="409" y2="439" />
2059 <line x1="259" x2="289" y1="424" y2="424" />
2060 </g>
2061 </g>
2062 </g>
2063 </g>
2064 </g>
2065 <text
2066 font-size="14"
2067 x="100"
2068 y="367"
2069 class="qs-maintext qs-group-label"
2070 >
2071 <tspan class="qs-mathtext">
2072 ResultComparisonToLiteralZero
2073 </tspan>
2074 </text>
2075 <g class="gate-control gate-collapse">
2076 <circle cx="92" cy="354" r="10" />
2077 <path d="M85,354 h14" />
2078 </g>
2079 </g>
2080 <g
2081 class="gate"
2082 data-expanded="true"
2083 data-location="0,0-0,2"
2084 data-zoom-out="true"
2085 data-zoom-in="true"
2086 >
2087 <rect
2088 class="gate-unitary"
2089 x="90"
2090 y="528"
2091 width="261"
2092 height="164"
2093 fill-opacity="0"
2094 stroke-dasharray="8, 8"
2095 style="cursor: grab"
2096 />
2097 <g>
2098 <g
2099 class="gate"
2100 data-location="0,0-0,2-0,0"
2101 data-zoom-out="true"
2102 data-zoom-in="false"
2103 >
2104 <g>
2105 <g>
2106 <rect
2107 class="gate-unitary"
2108 x="100"
2109 y="580"
2110 width="40"
2111 height="40"
2112 data-wire-ys="[600]"
2113 data-width="40"
2114 style="cursor: grab"
2115 data-wire="2"
2116 />
2117 <text
2118 font-size="14"
2119 x="120"
2120 y="600"
2121 class="qs-maintext"
2122 >
2123 <tspan class="qs-mathtext">H</tspan>
2124 </text>
2125 </g>
2126 </g>
2127 </g>
2128 <g
2129 class="gate"
2130 data-location="0,0-0,2-1,0"
2131 data-zoom-out="true"
2132 data-zoom-in="false"
2133 >
2134 <g>
2135 <rect
2136 class="gate-measure"
2137 x="152"
2138 y="580"
2139 width="40"
2140 height="40"
2141 data-wire-ys="[600]"
2142 data-width="40"
2143 style="cursor: grab"
2144 data-wire="2"
2145 />
2146 <path
2147 class="arc-measure"
2148 d="M 187 602 A 15 12 0 0 0 157 602"
2149 style="pointer-events: none"
2150 />
2151 <line
2152 x1="172"
2153 x2="184"
2154 y1="608"
2155 y2="588"
2156 class="qs-line-measure"
2157 style="pointer-events: none"
2158 />
2159 </g>
2160 </g>
2161 <g
2162 class="classically-controlled-group"
2163 data-location="0,0-0,2-2,0"
2164 data-zoom-out="true"
2165 data-zoom-in="true"
2166 data-expanded="true"
2167 >
2168 <line
2169 x1="219"
2170 x2="244"
2171 y1="672"
2172 y2="672"
2173 class="classical-line"
2174 stroke-dasharray="8, 8"
2175 />
2176 <line
2177 x1="219"
2178 x2="219"
2179 y1="667"
2180 y2="672"
2181 class="classical-line"
2182 stroke-dasharray="8, 8"
2183 />
2184 <g class="classically-controlled-btn">
2185 <circle cx="219" cy="652" r="15" />
2186 <text
2187 font-size="14"
2188 x="219"
2189 y="652"
2190 text-anchor="start"
2191 dominant-baseline="middle"
2192 class="qs-maintext"
2193 >
2194 c
2195 <tspan baseline-shift="sub" font-size="65%">2</tspan>
2196 </text>
2197 </g>
2198 <rect
2199 class="classical-container"
2200 x="244"
2201 y="554"
2202 width="97"
2203 height="128"
2204 fill-opacity="0"
2205 stroke-dasharray="8, 8"
2206 />
2207 <text
2208 font-size="14"
2209 x="254"
2210 y="569"
2211 class="qs-maintext qs-group-label"
2212 >
2213 <tspan class="qs-mathtext">if</tspan>
2214 :
2215 <tspan class="qs-mathtext">c</tspan>
2216 <tspan baseline-shift="sub" font-size="65%">2</tspan>
2217 = |1〉
2218 </text>
2219 <g>
2220 <g
2221 class="gate"
2222 data-location="0,0-0,2-2,0-0,0"
2223 data-zoom-out="true"
2224 data-zoom-in="false"
2225 >
2226 <g
2227 class="oplus"
2228 data-wire-ys="[600]"
2229 data-width="30"
2230 style="cursor: grab"
2231 data-wire="2"
2232 >
2233 <circle cx="274" cy="600" r="15" />
2234 <line x1="274" x2="274" y1="585" y2="615" />
2235 <line x1="259" x2="289" y1="600" y2="600" />
2236 </g>
2237 </g>
2238 </g>
2239 </g>
2240 </g>
2241 <text
2242 font-size="14"
2243 x="100"
2244 y="543"
2245 class="qs-maintext qs-group-label"
2246 >
2247 <tspan class="qs-mathtext">ElseBlockOnly</tspan>
2248 </text>
2249 <g class="gate-control gate-collapse">
2250 <circle cx="92" cy="530" r="10" />
2251 <path d="M85,530 h14" />
2252 </g>
2253 </g>
2254 <g
2255 class="gate"
2256 data-expanded="true"
2257 data-location="0,0-0,3"
2258 data-zoom-out="true"
2259 data-zoom-in="true"
2260 >
2261 <rect
2262 class="gate-unitary"
2263 x="90"
2264 y="704"
2265 width="402"
2266 height="268"
2267 fill-opacity="0"
2268 stroke-dasharray="8, 8"
2269 style="cursor: grab"
2270 />
2271 <g>
2272 <g
2273 class="gate"
2274 data-location="0,0-0,3-0,0"
2275 data-zoom-out="true"
2276 data-zoom-in="false"
2277 >
2278 <g>
2279 <g>
2280 <rect
2281 class="gate-unitary"
2282 x="100"
2283 y="756"
2284 width="40"
2285 height="40"
2286 data-wire-ys="[776]"
2287 data-width="40"
2288 style="cursor: grab"
2289 data-wire="3"
2290 />
2291 <text
2292 font-size="14"
2293 x="120"
2294 y="776"
2295 class="qs-maintext"
2296 >
2297 <tspan class="qs-mathtext">H</tspan>
2298 </text>
2299 </g>
2300 </g>
2301 </g>
2302 <g
2303 class="gate"
2304 data-location="0,0-0,3-0,1"
2305 data-zoom-out="true"
2306 data-zoom-in="false"
2307 >
2308 <g>
2309 <g>
2310 <rect
2311 class="gate-unitary"
2312 x="100"
2313 y="860"
2314 width="40"
2315 height="40"
2316 data-wire-ys="[880]"
2317 data-width="40"
2318 style="cursor: grab"
2319 data-wire="4"
2320 />
2321 <text
2322 font-size="14"
2323 x="120"
2324 y="880"
2325 class="qs-maintext"
2326 >
2327 <tspan class="qs-mathtext">H</tspan>
2328 </text>
2329 </g>
2330 </g>
2331 </g>
2332 <g
2333 class="gate"
2334 data-location="0,0-0,3-1,0"
2335 data-zoom-out="true"
2336 data-zoom-in="false"
2337 >
2338 <g>
2339 <rect
2340 class="gate-measure"
2341 x="152"
2342 y="756"
2343 width="40"
2344 height="40"
2345 data-wire-ys="[776]"
2346 data-width="40"
2347 style="cursor: grab"
2348 data-wire="3"
2349 />
2350 <path
2351 class="arc-measure"
2352 d="M 187 778 A 15 12 0 0 0 157 778"
2353 style="pointer-events: none"
2354 />
2355 <line
2356 x1="172"
2357 x2="184"
2358 y1="784"
2359 y2="764"
2360 class="qs-line-measure"
2361 style="pointer-events: none"
2362 />
2363 </g>
2364 </g>
2365 <g
2366 class="gate"
2367 data-location="0,0-0,3-1,1"
2368 data-zoom-out="true"
2369 data-zoom-in="false"
2370 >
2371 <g>
2372 <rect
2373 class="gate-measure"
2374 x="152"
2375 y="860"
2376 width="40"
2377 height="40"
2378 data-wire-ys="[880]"
2379 data-width="40"
2380 style="cursor: grab"
2381 data-wire="4"
2382 />
2383 <path
2384 class="arc-measure"
2385 d="M 187 882 A 15 12 0 0 0 157 882"
2386 style="pointer-events: none"
2387 />
2388 <line
2389 x1="172"
2390 x2="184"
2391 y1="888"
2392 y2="868"
2393 class="qs-line-measure"
2394 style="pointer-events: none"
2395 />
2396 </g>
2397 </g>
2398 <g
2399 class="classically-controlled-group"
2400 data-location="0,0-0,3-2,0"
2401 data-zoom-out="true"
2402 data-zoom-in="true"
2403 data-expanded="true"
2404 >
2405 <line
2406 x1="219"
2407 x2="244"
2408 y1="848"
2409 y2="848"
2410 class="classical-line"
2411 stroke-dasharray="8, 8"
2412 />
2413 <line
2414 x1="219"
2415 x2="219"
2416 y1="843"
2417 y2="848"
2418 class="classical-line"
2419 stroke-dasharray="8, 8"
2420 />
2421 <g class="classically-controlled-btn">
2422 <circle cx="219" cy="828" r="15" />
2423 <text
2424 font-size="14"
2425 x="219"
2426 y="828"
2427 text-anchor="start"
2428 dominant-baseline="middle"
2429 class="qs-maintext"
2430 >
2431 c
2432 <tspan baseline-shift="sub" font-size="65%">3</tspan>
2433 </text>
2434 </g>
2435 <line
2436 x1="219"
2437 x2="244"
2438 y1="952"
2439 y2="952"
2440 class="classical-line"
2441 stroke-dasharray="8, 8"
2442 />
2443 <line
2444 x1="219"
2445 x2="219"
2446 y1="947"
2447 y2="952"
2448 class="classical-line"
2449 stroke-dasharray="8, 8"
2450 />
2451 <g class="classically-controlled-btn">
2452 <circle cx="219" cy="932" r="15" />
2453 <text
2454 font-size="14"
2455 x="219"
2456 y="932"
2457 text-anchor="start"
2458 dominant-baseline="middle"
2459 class="qs-maintext"
2460 >
2461 c
2462 <tspan baseline-shift="sub" font-size="65%">4</tspan>
2463 </text>
2464 </g>
2465 <rect
2466 class="classical-container"
2467 x="244"
2468 y="730"
2469 width="238"
2470 height="232"
2471 fill-opacity="0"
2472 stroke-dasharray="8, 8"
2473 />
2474 <text
2475 font-size="14"
2476 x="254"
2477 y="745"
2478 class="qs-maintext qs-group-label"
2479 >
2480 <tspan class="qs-mathtext">if</tspan>
2481 :
2482 <tspan class="qs-mathtext">c</tspan>
2483 <tspan baseline-shift="sub" font-size="65%">3</tspan>
2484 <tspan class="qs-mathtext">c</tspan>
2485 <tspan baseline-shift="sub" font-size="65%">4</tspan>
2486 = |00〉
2487 <tspan class="qs-mathtext">or</tspan>
2488 <tspan class="qs-mathtext">c</tspan>
2489 <tspan baseline-shift="sub" font-size="65%">3</tspan>
2490 <tspan class="qs-mathtext">c</tspan>
2491 <tspan baseline-shift="sub" font-size="65%">4</tspan>
2492 = |11〉
2493 </text>
2494 <g>
2495 <g
2496 class="gate"
2497 data-location="0,0-0,3-2,0-0,0"
2498 data-zoom-out="true"
2499 data-zoom-in="false"
2500 >
2501 <g
2502 class="oplus"
2503 data-wire-ys="[776]"
2504 data-width="30"
2505 style="cursor: grab"
2506 data-wire="3"
2507 >
2508 <circle cx="274" cy="776" r="15" />
2509 <line x1="274" x2="274" y1="761" y2="791" />
2510 <line x1="259" x2="289" y1="776" y2="776" />
2511 </g>
2512 </g>
2513 </g>
2514 </g>
2515 </g>
2516 <text
2517 font-size="14"
2518 x="100"
2519 y="719"
2520 class="qs-maintext qs-group-label"
2521 >
2522 <tspan class="qs-mathtext">ResultComparisonToResult</tspan>
2523 </text>
2524 <g class="gate-control gate-collapse">
2525 <circle cx="92" cy="706" r="10" />
2526 <path d="M85,706 h14" />
2527 </g>
2528 </g>
2529 <g
2530 class="gate"
2531 data-expanded="true"
2532 data-location="0,0-0,4"
2533 data-zoom-out="true"
2534 data-zoom-in="true"
2535 >
2536 <rect
2537 class="gate-unitary"
2538 x="90"
2539 y="984"
2540 width="204"
2541 height="232"
2542 fill-opacity="0"
2543 stroke-dasharray="8, 8"
2544 style="cursor: grab"
2545 />
2546 <g>
2547 <g
2548 class="gate"
2549 data-location="0,0-0,4-0,0"
2550 data-zoom-out="true"
2551 data-zoom-in="false"
2552 >
2553 <g>
2554 <g>
2555 <rect
2556 class="gate-unitary"
2557 x="100"
2558 y="1010"
2559 width="40"
2560 height="40"
2561 data-wire-ys="[1030]"
2562 data-width="40"
2563 style="cursor: grab"
2564 data-wire="5"
2565 />
2566 <text
2567 font-size="14"
2568 x="120"
2569 y="1030"
2570 class="qs-maintext"
2571 >
2572 <tspan class="qs-mathtext">H</tspan>
2573 </text>
2574 </g>
2575 </g>
2576 </g>
2577 <g
2578 class="gate"
2579 data-location="0,0-0,4-0,1"
2580 data-zoom-out="true"
2581 data-zoom-in="false"
2582 >
2583 <g>
2584 <g>
2585 <rect
2586 class="gate-unitary"
2587 x="100"
2588 y="1114"
2589 width="40"
2590 height="40"
2591 data-wire-ys="[1134]"
2592 data-width="40"
2593 style="cursor: grab"
2594 data-wire="6"
2595 />
2596 <text
2597 font-size="14"
2598 x="120"
2599 y="1134"
2600 class="qs-maintext"
2601 >
2602 <tspan class="qs-mathtext">H</tspan>
2603 </text>
2604 </g>
2605 </g>
2606 </g>
2607 <g
2608 class="gate"
2609 data-location="0,0-0,4-1,0"
2610 data-zoom-out="true"
2611 data-zoom-in="false"
2612 >
2613 <g>
2614 <rect
2615 class="gate-measure"
2616 x="152"
2617 y="1010"
2618 width="40"
2619 height="40"
2620 data-wire-ys="[1030]"
2621 data-width="40"
2622 style="cursor: grab"
2623 data-wire="5"
2624 />
2625 <path
2626 class="arc-measure"
2627 d="M 187 1032 A 15 12 0 0 0 157 1032"
2628 style="pointer-events: none"
2629 />
2630 <line
2631 x1="172"
2632 x2="184"
2633 y1="1038"
2634 y2="1018"
2635 class="qs-line-measure"
2636 style="pointer-events: none"
2637 />
2638 </g>
2639 </g>
2640 <g
2641 class="gate"
2642 data-location="0,0-0,4-1,1"
2643 data-zoom-out="true"
2644 data-zoom-in="false"
2645 >
2646 <g>
2647 <rect
2648 class="gate-measure"
2649 x="152"
2650 y="1114"
2651 width="40"
2652 height="40"
2653 data-wire-ys="[1134]"
2654 data-width="40"
2655 style="cursor: grab"
2656 data-wire="6"
2657 />
2658 <path
2659 class="arc-measure"
2660 d="M 187 1136 A 15 12 0 0 0 157 1136"
2661 style="pointer-events: none"
2662 />
2663 <line
2664 x1="172"
2665 x2="184"
2666 y1="1142"
2667 y2="1122"
2668 class="qs-line-measure"
2669 style="pointer-events: none"
2670 />
2671 </g>
2672 </g>
2673 </g>
2674 <text
2675 font-size="14"
2676 x="100"
2677 y="999"
2678 class="qs-maintext qs-group-label"
2679 >
2680 <tspan class="qs-mathtext">
2681 ResultComparisonEmptyBlock
2682 </tspan>
2683 </text>
2684 <g class="gate-control gate-collapse">
2685 <circle cx="92" cy="986" r="10" />
2686 <path d="M85,986 h14" />
2687 </g>
2688 </g>
2689 <g
2690 class="gate"
2691 data-expanded="true"
2692 data-location="0,0-0,5"
2693 data-zoom-out="true"
2694 data-zoom-in="true"
2695 >
2696 <rect
2697 class="gate-unitary"
2698 x="90"
2699 y="1254"
2700 width="462"
2701 height="232"
2702 fill-opacity="0"
2703 stroke-dasharray="8, 8"
2704 style="cursor: grab"
2705 />
2706 <g>
2707 <g
2708 class="gate"
2709 data-location="0,0-0,5-0,0"
2710 data-zoom-out="true"
2711 data-zoom-in="false"
2712 >
2713 <g>
2714 <g>
2715 <rect
2716 class="gate-unitary"
2717 x="100"
2718 y="1280"
2719 width="40"
2720 height="40"
2721 data-wire-ys="[1300]"
2722 data-width="40"
2723 style="cursor: grab"
2724 data-wire="7"
2725 />
2726 <text
2727 font-size="14"
2728 x="120"
2729 y="1300"
2730 class="qs-maintext"
2731 >
2732 <tspan class="qs-mathtext">H</tspan>
2733 </text>
2734 </g>
2735 </g>
2736 </g>
2737 <g
2738 class="gate"
2739 data-location="0,0-0,5-1,0"
2740 data-zoom-out="true"
2741 data-zoom-in="false"
2742 >
2743 <g>
2744 <rect
2745 class="gate-measure"
2746 x="152"
2747 y="1280"
2748 width="40"
2749 height="40"
2750 data-wire-ys="[1300]"
2751 data-width="40"
2752 style="cursor: grab"
2753 data-wire="7"
2754 />
2755 <path
2756 class="arc-measure"
2757 d="M 187 1302 A 15 12 0 0 0 157 1302"
2758 style="pointer-events: none"
2759 />
2760 <line
2761 x1="172"
2762 x2="184"
2763 y1="1308"
2764 y2="1288"
2765 class="qs-line-measure"
2766 style="pointer-events: none"
2767 />
2768 </g>
2769 </g>
2770 <g
2771 class="classically-controlled-group"
2772 data-location="0,0-0,5-2,0"
2773 data-zoom-out="true"
2774 data-zoom-in="true"
2775 data-expanded="true"
2776 >
2777 <line
2778 x1="219"
2779 x2="244"
2780 y1="1372"
2781 y2="1372"
2782 class="classical-line"
2783 stroke-dasharray="8, 8"
2784 />
2785 <line
2786 x1="219"
2787 x2="219"
2788 y1="1367"
2789 y2="1372"
2790 class="classical-line"
2791 stroke-dasharray="8, 8"
2792 />
2793 <g class="classically-controlled-btn">
2794 <circle cx="219" cy="1352" r="15" />
2795 <text
2796 font-size="14"
2797 x="219"
2798 y="1352"
2799 text-anchor="start"
2800 dominant-baseline="middle"
2801 class="qs-maintext"
2802 >
2803 c
2804 <tspan baseline-shift="sub" font-size="65%">7</tspan>
2805 </text>
2806 </g>
2807 <rect
2808 class="classical-container"
2809 x="244"
2810 y="1306"
2811 width="97"
2812 height="128"
2813 fill-opacity="0"
2814 stroke-dasharray="8, 8"
2815 />
2816 <text
2817 font-size="14"
2818 x="254"
2819 y="1321"
2820 class="qs-maintext qs-group-label"
2821 >
2822 <tspan class="qs-mathtext">if</tspan>
2823 :
2824 <tspan class="qs-mathtext">c</tspan>
2825 <tspan baseline-shift="sub" font-size="65%">7</tspan>
2826 = |1〉
2827 </text>
2828 <g>
2829 <g
2830 class="gate"
2831 data-location="0,0-0,5-2,0-0,0"
2832 data-zoom-out="true"
2833 data-zoom-in="false"
2834 >
2835 <g
2836 class="oplus"
2837 data-wire-ys="[1404]"
2838 data-width="30"
2839 style="cursor: grab"
2840 data-wire="8"
2841 >
2842 <circle cx="274" cy="1404" r="15" />
2843 <line x1="274" x2="274" y1="1389" y2="1419" />
2844 <line x1="259" x2="289" y1="1404" y2="1404" />
2845 </g>
2846 </g>
2847 </g>
2848 </g>
2849 <g
2850 class="classically-controlled-group"
2851 data-location="0,0-0,5-3,0"
2852 data-zoom-out="true"
2853 data-zoom-in="true"
2854 data-expanded="true"
2855 >
2856 <line
2857 x1="368"
2858 x2="393"
2859 y1="1372"
2860 y2="1372"
2861 class="classical-line"
2862 stroke-dasharray="8, 8"
2863 />
2864 <line
2865 x1="368"
2866 x2="368"
2867 y1="1367"
2868 y2="1372"
2869 class="classical-line"
2870 stroke-dasharray="8, 8"
2871 />
2872 <g class="classically-controlled-btn">
2873 <circle cx="368" cy="1352" r="15" />
2874 <text
2875 font-size="14"
2876 x="368"
2877 y="1352"
2878 text-anchor="start"
2879 dominant-baseline="middle"
2880 class="qs-maintext"
2881 >
2882 c
2883 <tspan baseline-shift="sub" font-size="65%">7</tspan>
2884 </text>
2885 </g>
2886 <rect
2887 class="classical-container"
2888 x="393"
2889 y="1306"
2890 width="97"
2891 height="128"
2892 fill-opacity="0"
2893 stroke-dasharray="8, 8"
2894 />
2895 <text
2896 font-size="14"
2897 x="403"
2898 y="1321"
2899 class="qs-maintext qs-group-label"
2900 >
2901 <tspan class="qs-mathtext">if</tspan>
2902 :
2903 <tspan class="qs-mathtext">c</tspan>
2904 <tspan baseline-shift="sub" font-size="65%">7</tspan>
2905 = |0〉
2906 </text>
2907 <g>
2908 <g
2909 class="gate"
2910 data-location="0,0-0,5-3,0-0,0"
2911 data-zoom-out="true"
2912 data-zoom-in="false"
2913 >
2914 <g>
2915 <g>
2916 <rect
2917 class="gate-unitary"
2918 x="403"
2919 y="1384"
2920 width="40"
2921 height="40"
2922 data-wire-ys="[1404]"
2923 data-width="40"
2924 style="cursor: grab"
2925 data-wire="8"
2926 />
2927 <text
2928 font-size="14"
2929 x="423"
2930 y="1404"
2931 class="qs-maintext"
2932 >
2933 <tspan class="qs-mathtext">Y</tspan>
2934 </text>
2935 </g>
2936 </g>
2937 </g>
2938 </g>
2939 </g>
2940 <g
2941 class="gate"
2942 data-location="0,0-0,5-4,0"
2943 data-zoom-out="true"
2944 data-zoom-in="false"
2945 >
2946 <g>
2947 <rect
2948 class="gate-measure"
2949 x="502"
2950 y="1384"
2951 width="40"
2952 height="40"
2953 data-wire-ys="[1404]"
2954 data-width="40"
2955 style="cursor: grab"
2956 data-wire="8"
2957 />
2958 <path
2959 class="arc-measure"
2960 d="M 537 1406 A 15 12 0 0 0 507 1406"
2961 style="pointer-events: none"
2962 />
2963 <line
2964 x1="522"
2965 x2="534"
2966 y1="1412"
2967 y2="1392"
2968 class="qs-line-measure"
2969 style="pointer-events: none"
2970 />
2971 </g>
2972 </g>
2973 </g>
2974 <text
2975 font-size="14"
2976 x="100"
2977 y="1269"
2978 class="qs-maintext qs-group-label"
2979 >
2980 <tspan class="qs-mathtext">IfElse</tspan>
2981 </text>
2982 <g class="gate-control gate-collapse">
2983 <circle cx="92" cy="1256" r="10" />
2984 <path d="M85,1256 h14" />
2985 </g>
2986 </g>
2987 <g
2988 class="gate"
2989 data-expanded="true"
2990 data-location="0,0-0,6"
2991 data-zoom-out="true"
2992 data-zoom-in="true"
2993 >
2994 <rect
2995 class="gate-unitary"
2996 x="90"
2997 y="1534"
2998 width="776"
2999 height="362"
3000 fill-opacity="0"
3001 stroke-dasharray="8, 8"
3002 style="cursor: grab"
3003 />
3004 <g>
3005 <g
3006 class="gate"
3007 data-location="0,0-0,6-0,0"
3008 data-zoom-out="true"
3009 data-zoom-in="false"
3010 >
3011 <g>
3012 <g>
3013 <rect
3014 class="gate-unitary"
3015 x="100"
3016 y="1560"
3017 width="40"
3018 height="40"
3019 data-wire-ys="[1580]"
3020 data-width="40"
3021 style="cursor: grab"
3022 data-wire="9"
3023 />
3024 <text
3025 font-size="14"
3026 x="120"
3027 y="1580"
3028 class="qs-maintext"
3029 >
3030 <tspan class="qs-mathtext">H</tspan>
3031 </text>
3032 </g>
3033 </g>
3034 </g>
3035 <g
3036 class="gate"
3037 data-location="0,0-0,6-0,1"
3038 data-zoom-out="true"
3039 data-zoom-in="false"
3040 >
3041 <g>
3042 <g>
3043 <rect
3044 class="gate-unitary"
3045 x="100"
3046 y="1690"
3047 width="40"
3048 height="40"
3049 data-wire-ys="[1710]"
3050 data-width="40"
3051 style="cursor: grab"
3052 data-wire="10"
3053 />
3054 <text
3055 font-size="14"
3056 x="120"
3057 y="1710"
3058 class="qs-maintext"
3059 >
3060 <tspan class="qs-mathtext">H</tspan>
3061 </text>
3062 </g>
3063 </g>
3064 </g>
3065 <g
3066 class="gate"
3067 data-location="0,0-0,6-1,0"
3068 data-zoom-out="true"
3069 data-zoom-in="false"
3070 >
3071 <g>
3072 <rect
3073 class="gate-measure"
3074 x="152"
3075 y="1560"
3076 width="40"
3077 height="40"
3078 data-wire-ys="[1580]"
3079 data-width="40"
3080 style="cursor: grab"
3081 data-wire="9"
3082 />
3083 <path
3084 class="arc-measure"
3085 d="M 187 1582 A 15 12 0 0 0 157 1582"
3086 style="pointer-events: none"
3087 />
3088 <line
3089 x1="172"
3090 x2="184"
3091 y1="1588"
3092 y2="1568"
3093 class="qs-line-measure"
3094 style="pointer-events: none"
3095 />
3096 </g>
3097 </g>
3098 <g
3099 class="gate"
3100 data-location="0,0-0,6-1,1"
3101 data-zoom-out="true"
3102 data-zoom-in="false"
3103 >
3104 <g>
3105 <rect
3106 class="gate-measure"
3107 x="152"
3108 y="1690"
3109 width="40"
3110 height="40"
3111 data-wire-ys="[1710]"
3112 data-width="40"
3113 style="cursor: grab"
3114 data-wire="10"
3115 />
3116 <path
3117 class="arc-measure"
3118 d="M 187 1712 A 15 12 0 0 0 157 1712"
3119 style="pointer-events: none"
3120 />
3121 <line
3122 x1="172"
3123 x2="184"
3124 y1="1718"
3125 y2="1698"
3126 class="qs-line-measure"
3127 style="pointer-events: none"
3128 />
3129 </g>
3130 </g>
3131 <g
3132 class="classically-controlled-group"
3133 data-location="0,0-0,6-2,0"
3134 data-zoom-out="true"
3135 data-zoom-in="true"
3136 data-expanded="true"
3137 >
3138 <line
3139 x1="219"
3140 x2="244"
3141 y1="1652"
3142 y2="1652"
3143 class="classical-line"
3144 stroke-dasharray="8, 8"
3145 />
3146 <line
3147 x1="219"
3148 x2="219"
3149 y1="1647"
3150 y2="1652"
3151 class="classical-line"
3152 stroke-dasharray="8, 8"
3153 />
3154 <g class="classically-controlled-btn">
3155 <circle cx="219" cy="1632" r="15" />
3156 <text
3157 font-size="14"
3158 x="219"
3159 y="1632"
3160 text-anchor="start"
3161 dominant-baseline="middle"
3162 class="qs-maintext"
3163 >
3164 c
3165 <tspan baseline-shift="sub" font-size="65%">9</tspan>
3166 </text>
3167 </g>
3168 <rect
3169 class="classical-container"
3170 x="244"
3171 y="1586"
3172 width="97"
3173 height="258"
3174 fill-opacity="0"
3175 stroke-dasharray="8, 8"
3176 />
3177 <text
3178 font-size="14"
3179 x="254"
3180 y="1601"
3181 class="qs-maintext qs-group-label"
3182 >
3183 <tspan class="qs-mathtext">if</tspan>
3184 :
3185 <tspan class="qs-mathtext">c</tspan>
3186 <tspan baseline-shift="sub" font-size="65%">9</tspan>
3187 = |1〉
3188 </text>
3189 <g>
3190 <g
3191 class="gate"
3192 data-location="0,0-0,6-2,0-0,0"
3193 data-zoom-out="true"
3194 data-zoom-in="false"
3195 >
3196 <g
3197 class="oplus"
3198 data-wire-ys="[1814]"
3199 data-width="30"
3200 style="cursor: grab"
3201 data-wire="11"
3202 >
3203 <circle cx="274" cy="1814" r="15" />
3204 <line x1="274" x2="274" y1="1799" y2="1829" />
3205 <line x1="259" x2="289" y1="1814" y2="1814" />
3206 </g>
3207 </g>
3208 </g>
3209 </g>
3210 <g
3211 class="classically-controlled-group"
3212 data-location="0,0-0,6-3,0"
3213 data-zoom-out="true"
3214 data-zoom-in="true"
3215 data-expanded="true"
3216 >
3217 <line
3218 x1="368"
3219 x2="393"
3220 y1="1652"
3221 y2="1652"
3222 class="classical-line"
3223 stroke-dasharray="8, 8"
3224 />
3225 <line
3226 x1="368"
3227 x2="368"
3228 y1="1647"
3229 y2="1652"
3230 class="classical-line"
3231 stroke-dasharray="8, 8"
3232 />
3233 <g class="classically-controlled-btn">
3234 <circle cx="368" cy="1632" r="15" />
3235 <text
3236 font-size="14"
3237 x="368"
3238 y="1632"
3239 text-anchor="start"
3240 dominant-baseline="middle"
3241 class="qs-maintext"
3242 >
3243 c
3244 <tspan baseline-shift="sub" font-size="65%">9</tspan>
3245 </text>
3246 </g>
3247 <rect
3248 class="classical-container"
3249 x="393"
3250 y="1586"
3251 width="97"
3252 height="258"
3253 fill-opacity="0"
3254 stroke-dasharray="8, 8"
3255 />
3256 <text
3257 font-size="14"
3258 x="403"
3259 y="1601"
3260 class="qs-maintext qs-group-label"
3261 >
3262 <tspan class="qs-mathtext">if</tspan>
3263 :
3264 <tspan class="qs-mathtext">c</tspan>
3265 <tspan baseline-shift="sub" font-size="65%">9</tspan>
3266 = |0〉
3267 </text>
3268 <g>
3269 <g
3270 class="gate"
3271 data-location="0,0-0,6-3,0-0,0"
3272 data-zoom-out="true"
3273 data-zoom-in="false"
3274 >
3275 <g>
3276 <g>
3277 <rect
3278 class="gate-unitary"
3279 x="403"
3280 y="1794"
3281 width="40"
3282 height="40"
3283 data-wire-ys="[1814]"
3284 data-width="40"
3285 style="cursor: grab"
3286 data-wire="11"
3287 />
3288 <text
3289 font-size="14"
3290 x="423"
3291 y="1814"
3292 class="qs-maintext"
3293 >
3294 <tspan class="qs-mathtext">Z</tspan>
3295 </text>
3296 </g>
3297 </g>
3298 </g>
3299 </g>
3300 </g>
3301 <g
3302 class="classically-controlled-group"
3303 data-location="0,0-0,6-4,0"
3304 data-zoom-out="true"
3305 data-zoom-in="true"
3306 data-expanded="true"
3307 >
3308 <line
3309 x1="517"
3310 x2="542"
3311 y1="1782"
3312 y2="1782"
3313 class="classical-line"
3314 stroke-dasharray="8, 8"
3315 />
3316 <line
3317 x1="517"
3318 x2="517"
3319 y1="1777"
3320 y2="1782"
3321 class="classical-line"
3322 stroke-dasharray="8, 8"
3323 />
3324 <g class="classically-controlled-btn">
3325 <circle cx="517" cy="1762" r="15" />
3326 <text
3327 font-size="14"
3328 x="517"
3329 y="1762"
3330 text-anchor="start"
3331 dominant-baseline="middle"
3332 class="qs-maintext"
3333 >
3334 c
3335 <tspan baseline-shift="sub" font-size="65%">10</tspan>
3336 </text>
3337 </g>
3338 <rect
3339 class="classical-container"
3340 x="542"
3341 y="1716"
3342 width="105"
3343 height="128"
3344 fill-opacity="0"
3345 stroke-dasharray="8, 8"
3346 />
3347 <text
3348 font-size="14"
3349 x="552"
3350 y="1731"
3351 class="qs-maintext qs-group-label"
3352 >
3353 <tspan class="qs-mathtext">if</tspan>
3354 :
3355 <tspan class="qs-mathtext">c</tspan>
3356 <tspan baseline-shift="sub" font-size="65%">10</tspan>
3357 = |1〉
3358 </text>
3359 <g>
3360 <g
3361 class="gate"
3362 data-location="0,0-0,6-4,0-0,0"
3363 data-zoom-out="true"
3364 data-zoom-in="false"
3365 >
3366 <g
3367 class="oplus"
3368 data-wire-ys="[1814]"
3369 data-width="30"
3370 style="cursor: grab"
3371 data-wire="11"
3372 >
3373 <circle cx="572" cy="1814" r="15" />
3374 <line x1="572" x2="572" y1="1799" y2="1829" />
3375 <line x1="557" x2="587" y1="1814" y2="1814" />
3376 </g>
3377 </g>
3378 </g>
3379 </g>
3380 <g
3381 class="classically-controlled-group"
3382 data-location="0,0-0,6-5,0"
3383 data-zoom-out="true"
3384 data-zoom-in="true"
3385 data-expanded="true"
3386 >
3387 <line
3388 x1="674"
3389 x2="699"
3390 y1="1782"
3391 y2="1782"
3392 class="classical-line"
3393 stroke-dasharray="8, 8"
3394 />
3395 <line
3396 x1="674"
3397 x2="674"
3398 y1="1777"
3399 y2="1782"
3400 class="classical-line"
3401 stroke-dasharray="8, 8"
3402 />
3403 <g class="classically-controlled-btn">
3404 <circle cx="674" cy="1762" r="15" />
3405 <text
3406 font-size="14"
3407 x="674"
3408 y="1762"
3409 text-anchor="start"
3410 dominant-baseline="middle"
3411 class="qs-maintext"
3412 >
3413 c
3414 <tspan baseline-shift="sub" font-size="65%">10</tspan>
3415 </text>
3416 </g>
3417 <rect
3418 class="classical-container"
3419 x="699"
3420 y="1716"
3421 width="105"
3422 height="128"
3423 fill-opacity="0"
3424 stroke-dasharray="8, 8"
3425 />
3426 <text
3427 font-size="14"
3428 x="709"
3429 y="1731"
3430 class="qs-maintext qs-group-label"
3431 >
3432 <tspan class="qs-mathtext">if</tspan>
3433 :
3434 <tspan class="qs-mathtext">c</tspan>
3435 <tspan baseline-shift="sub" font-size="65%">10</tspan>
3436 = |0〉
3437 </text>
3438 <g>
3439 <g
3440 class="gate"
3441 data-location="0,0-0,6-5,0-0,0"
3442 data-zoom-out="true"
3443 data-zoom-in="false"
3444 >
3445 <g>
3446 <g>
3447 <rect
3448 class="gate-unitary"
3449 x="709"
3450 y="1794"
3451 width="40"
3452 height="40"
3453 data-wire-ys="[1814]"
3454 data-width="40"
3455 style="cursor: grab"
3456 data-wire="11"
3457 />
3458 <text
3459 font-size="14"
3460 x="729"
3461 y="1814"
3462 class="qs-maintext"
3463 >
3464 <tspan class="qs-mathtext">Y</tspan>
3465 </text>
3466 </g>
3467 </g>
3468 </g>
3469 </g>
3470 </g>
3471 <g
3472 class="gate"
3473 data-location="0,0-0,6-6,0"
3474 data-zoom-out="true"
3475 data-zoom-in="false"
3476 >
3477 <g>
3478 <rect
3479 class="gate-measure"
3480 x="816"
3481 y="1794"
3482 width="40"
3483 height="40"
3484 data-wire-ys="[1814]"
3485 data-width="40"
3486 style="cursor: grab"
3487 data-wire="11"
3488 />
3489 <path
3490 class="arc-measure"
3491 d="M 851 1816 A 15 12 0 0 0 821 1816"
3492 style="pointer-events: none"
3493 />
3494 <line
3495 x1="836"
3496 x2="848"
3497 y1="1822"
3498 y2="1802"
3499 class="qs-line-measure"
3500 style="pointer-events: none"
3501 />
3502 </g>
3503 </g>
3504 </g>
3505 <text
3506 font-size="14"
3507 x="100"
3508 y="1549"
3509 class="qs-maintext qs-group-label"
3510 >
3511 <tspan class="qs-mathtext">SequentialIfs</tspan>
3512 </text>
3513 <g class="gate-control gate-collapse">
3514 <circle cx="92" cy="1536" r="10" />
3515 <path d="M85,1536 h14" />
3516 </g>
3517 </g>
3518 <g
3519 class="gate"
3520 data-expanded="true"
3521 data-location="0,0-0,7"
3522 data-zoom-out="true"
3523 data-zoom-in="true"
3524 >
3525 <rect
3526 class="gate-unitary"
3527 x="90"
3528 y="1970"
3529 width="695"
3530 height="336"
3531 fill-opacity="0"
3532 stroke-dasharray="8, 8"
3533 style="cursor: grab"
3534 />
3535 <g>
3536 <g
3537 class="gate"
3538 data-location="0,0-0,7-0,0"
3539 data-zoom-out="true"
3540 data-zoom-in="false"
3541 >
3542 <g>
3543 <g>
3544 <rect
3545 class="gate-unitary"
3546 x="100"
3547 y="1996"
3548 width="40"
3549 height="40"
3550 data-wire-ys="[2016]"
3551 data-width="40"
3552 style="cursor: grab"
3553 data-wire="12"
3554 />
3555 <text
3556 font-size="14"
3557 x="120"
3558 y="2016"
3559 class="qs-maintext"
3560 >
3561 <tspan class="qs-mathtext">H</tspan>
3562 </text>
3563 </g>
3564 </g>
3565 </g>
3566 <g
3567 class="gate"
3568 data-location="0,0-0,7-0,1"
3569 data-zoom-out="true"
3570 data-zoom-in="false"
3571 >
3572 <g>
3573 <g>
3574 <rect
3575 class="gate-unitary"
3576 x="100"
3577 y="2100"
3578 width="40"
3579 height="40"
3580 data-wire-ys="[2120]"
3581 data-width="40"
3582 style="cursor: grab"
3583 data-wire="13"
3584 />
3585 <text
3586 font-size="14"
3587 x="120"
3588 y="2120"
3589 class="qs-maintext"
3590 >
3591 <tspan class="qs-mathtext">H</tspan>
3592 </text>
3593 </g>
3594 </g>
3595 </g>
3596 <g
3597 class="gate"
3598 data-location="0,0-0,7-1,0"
3599 data-zoom-out="true"
3600 data-zoom-in="false"
3601 >
3602 <g>
3603 <rect
3604 class="gate-measure"
3605 x="152"
3606 y="1996"
3607 width="40"
3608 height="40"
3609 data-wire-ys="[2016]"
3610 data-width="40"
3611 style="cursor: grab"
3612 data-wire="12"
3613 />
3614 <path
3615 class="arc-measure"
3616 d="M 187 2018 A 15 12 0 0 0 157 2018"
3617 style="pointer-events: none"
3618 />
3619 <line
3620 x1="172"
3621 x2="184"
3622 y1="2024"
3623 y2="2004"
3624 class="qs-line-measure"
3625 style="pointer-events: none"
3626 />
3627 </g>
3628 </g>
3629 <g
3630 class="gate"
3631 data-location="0,0-0,7-1,1"
3632 data-zoom-out="true"
3633 data-zoom-in="false"
3634 >
3635 <g>
3636 <rect
3637 class="gate-measure"
3638 x="152"
3639 y="2100"
3640 width="40"
3641 height="40"
3642 data-wire-ys="[2120]"
3643 data-width="40"
3644 style="cursor: grab"
3645 data-wire="13"
3646 />
3647 <path
3648 class="arc-measure"
3649 d="M 187 2122 A 15 12 0 0 0 157 2122"
3650 style="pointer-events: none"
3651 />
3652 <line
3653 x1="172"
3654 x2="184"
3655 y1="2128"
3656 y2="2108"
3657 class="qs-line-measure"
3658 style="pointer-events: none"
3659 />
3660 </g>
3661 </g>
3662 <g
3663 class="classically-controlled-group"
3664 data-location="0,0-0,7-2,0"
3665 data-zoom-out="true"
3666 data-zoom-in="true"
3667 data-expanded="true"
3668 >
3669 <line
3670 x1="219"
3671 x2="244"
3672 y1="2088"
3673 y2="2088"
3674 class="classical-line"
3675 stroke-dasharray="8, 8"
3676 />
3677 <line
3678 x1="219"
3679 x2="219"
3680 y1="2083"
3681 y2="2088"
3682 class="classical-line"
3683 stroke-dasharray="8, 8"
3684 />
3685 <g class="classically-controlled-btn">
3686 <circle cx="219" cy="2068" r="15" />
3687 <text
3688 font-size="14"
3689 x="219"
3690 y="2068"
3691 text-anchor="start"
3692 dominant-baseline="middle"
3693 class="qs-maintext"
3694 >
3695 c
3696 <tspan baseline-shift="sub" font-size="65%">12</tspan>
3697 </text>
3698 </g>
3699 <rect
3700 class="classical-container"
3701 x="244"
3702 y="1996"
3703 width="322"
3704 height="268"
3705 fill-opacity="0"
3706 stroke-dasharray="8, 8"
3707 />
3708 <text
3709 font-size="14"
3710 x="254"
3711 y="2011"
3712 class="qs-maintext qs-group-label"
3713 >
3714 <tspan class="qs-mathtext">if</tspan>
3715 :
3716 <tspan class="qs-mathtext">c</tspan>
3717 <tspan baseline-shift="sub" font-size="65%">12</tspan>
3718 = |1〉
3719 </text>
3720 <g>
3721 <g
3722 class="classically-controlled-group"
3723 data-location="0,0-0,7-2,0-0,0"
3724 data-zoom-out="true"
3725 data-zoom-in="true"
3726 data-expanded="true"
3727 >
3728 <line
3729 x1="269"
3730 x2="294"
3731 y1="2088"
3732 y2="2088"
3733 class="classical-line"
3734 stroke-dasharray="8, 8"
3735 />
3736 <line
3737 x1="269"
3738 x2="269"
3739 y1="2083"
3740 y2="2088"
3741 class="classical-line"
3742 stroke-dasharray="8, 8"
3743 />
3744 <g class="classically-controlled-btn">
3745 <circle cx="269" cy="2068" r="15" />
3746 <text
3747 font-size="14"
3748 x="269"
3749 y="2068"
3750 text-anchor="start"
3751 dominant-baseline="middle"
3752 class="qs-maintext"
3753 >
3754 c
3755 <tspan baseline-shift="sub" font-size="65%">
3756 12
3757 </tspan>
3758 </text>
3759 </g>
3760 <line
3761 x1="269"
3762 x2="294"
3763 y1="2192"
3764 y2="2192"
3765 class="classical-line"
3766 stroke-dasharray="8, 8"
3767 />
3768 <line
3769 x1="269"
3770 x2="269"
3771 y1="2187"
3772 y2="2192"
3773 class="classical-line"
3774 stroke-dasharray="8, 8"
3775 />
3776 <g class="classically-controlled-btn">
3777 <circle cx="269" cy="2172" r="15" />
3778 <text
3779 font-size="14"
3780 x="269"
3781 y="2172"
3782 text-anchor="start"
3783 dominant-baseline="middle"
3784 class="qs-maintext"
3785 >
3786 c
3787 <tspan baseline-shift="sub" font-size="65%">
3788 13
3789 </tspan>
3790 </text>
3791 </g>
3792 <rect
3793 class="classical-container"
3794 x="294"
3795 y="2022"
3796 width="105"
3797 height="232"
3798 fill-opacity="0"
3799 stroke-dasharray="8, 8"
3800 />
3801 <text
3802 font-size="14"
3803 x="304"
3804 y="2037"
3805 class="qs-maintext qs-group-label"
3806 >
3807 <tspan class="qs-mathtext">if</tspan>
3808 :
3809 <tspan class="qs-mathtext">c</tspan>
3810 <tspan baseline-shift="sub" font-size="65%">
3811 13
3812 </tspan>
3813 = |1〉
3814 </text>
3815 <g>
3816 <g
3817 class="gate"
3818 data-location="0,0-0,7-2,0-0,0-0,0"
3819 data-zoom-out="true"
3820 data-zoom-in="false"
3821 >
3822 <g
3823 class="oplus"
3824 data-wire-ys="[2224]"
3825 data-width="30"
3826 style="cursor: grab"
3827 data-wire="14"
3828 >
3829 <circle cx="324" cy="2224" r="15" />
3830 <line x1="324" x2="324" y1="2209" y2="2239" />
3831 <line x1="309" x2="339" y1="2224" y2="2224" />
3832 </g>
3833 </g>
3834 </g>
3835 </g>
3836 <g
3837 class="classically-controlled-group"
3838 data-location="0,0-0,7-2,0-1,0"
3839 data-zoom-out="true"
3840 data-zoom-in="true"
3841 data-expanded="true"
3842 >
3843 <line
3844 x1="426"
3845 x2="451"
3846 y1="2088"
3847 y2="2088"
3848 class="classical-line"
3849 stroke-dasharray="8, 8"
3850 />
3851 <line
3852 x1="426"
3853 x2="426"
3854 y1="2083"
3855 y2="2088"
3856 class="classical-line"
3857 stroke-dasharray="8, 8"
3858 />
3859 <g class="classically-controlled-btn">
3860 <circle cx="426" cy="2068" r="15" />
3861 <text
3862 font-size="14"
3863 x="426"
3864 y="2068"
3865 text-anchor="start"
3866 dominant-baseline="middle"
3867 class="qs-maintext"
3868 >
3869 c
3870 <tspan baseline-shift="sub" font-size="65%">
3871 12
3872 </tspan>
3873 </text>
3874 </g>
3875 <line
3876 x1="426"
3877 x2="451"
3878 y1="2192"
3879 y2="2192"
3880 class="classical-line"
3881 stroke-dasharray="8, 8"
3882 />
3883 <line
3884 x1="426"
3885 x2="426"
3886 y1="2187"
3887 y2="2192"
3888 class="classical-line"
3889 stroke-dasharray="8, 8"
3890 />
3891 <g class="classically-controlled-btn">
3892 <circle cx="426" cy="2172" r="15" />
3893 <text
3894 font-size="14"
3895 x="426"
3896 y="2172"
3897 text-anchor="start"
3898 dominant-baseline="middle"
3899 class="qs-maintext"
3900 >
3901 c
3902 <tspan baseline-shift="sub" font-size="65%">
3903 13
3904 </tspan>
3905 </text>
3906 </g>
3907 <rect
3908 class="classical-container"
3909 x="451"
3910 y="2022"
3911 width="105"
3912 height="232"
3913 fill-opacity="0"
3914 stroke-dasharray="8, 8"
3915 />
3916 <text
3917 font-size="14"
3918 x="461"
3919 y="2037"
3920 class="qs-maintext qs-group-label"
3921 >
3922 <tspan class="qs-mathtext">if</tspan>
3923 :
3924 <tspan class="qs-mathtext">c</tspan>
3925 <tspan baseline-shift="sub" font-size="65%">
3926 13
3927 </tspan>
3928 = |0〉
3929 </text>
3930 <g>
3931 <g
3932 class="gate"
3933 data-location="0,0-0,7-2,0-1,0-0,0"
3934 data-zoom-out="true"
3935 data-zoom-in="false"
3936 >
3937 <g>
3938 <g>
3939 <rect
3940 class="gate-unitary"
3941 x="461"
3942 y="2204"
3943 width="40"
3944 height="40"
3945 data-wire-ys="[2224]"
3946 data-width="40"
3947 style="cursor: grab"
3948 data-wire="14"
3949 />
3950 <text
3951 font-size="14"
3952 x="481"
3953 y="2224"
3954 class="qs-maintext"
3955 >
3956 <tspan class="qs-mathtext">Y</tspan>
3957 </text>
3958 </g>
3959 </g>
3960 </g>
3961 </g>
3962 </g>
3963 </g>
3964 </g>
3965 <g
3966 class="classically-controlled-group"
3967 data-location="0,0-0,7-3,0"
3968 data-zoom-out="true"
3969 data-zoom-in="true"
3970 data-expanded="true"
3971 >
3972 <line
3973 x1="593"
3974 x2="618"
3975 y1="2088"
3976 y2="2088"
3977 class="classical-line"
3978 stroke-dasharray="8, 8"
3979 />
3980 <line
3981 x1="593"
3982 x2="593"
3983 y1="2083"
3984 y2="2088"
3985 class="classical-line"
3986 stroke-dasharray="8, 8"
3987 />
3988 <g class="classically-controlled-btn">
3989 <circle cx="593" cy="2068" r="15" />
3990 <text
3991 font-size="14"
3992 x="593"
3993 y="2068"
3994 text-anchor="start"
3995 dominant-baseline="middle"
3996 class="qs-maintext"
3997 >
3998 c
3999 <tspan baseline-shift="sub" font-size="65%">12</tspan>
4000 </text>
4001 </g>
4002 <rect
4003 class="classical-container"
4004 x="618"
4005 y="2022"
4006 width="105"
4007 height="232"
4008 fill-opacity="0"
4009 stroke-dasharray="8, 8"
4010 />
4011 <text
4012 font-size="14"
4013 x="628"
4014 y="2037"
4015 class="qs-maintext qs-group-label"
4016 >
4017 <tspan class="qs-mathtext">if</tspan>
4018 :
4019 <tspan class="qs-mathtext">c</tspan>
4020 <tspan baseline-shift="sub" font-size="65%">12</tspan>
4021 = |0〉
4022 </text>
4023 <g>
4024 <g
4025 class="gate"
4026 data-location="0,0-0,7-3,0-0,0"
4027 data-zoom-out="true"
4028 data-zoom-in="false"
4029 >
4030 <g>
4031 <g>
4032 <rect
4033 class="gate-unitary"
4034 x="628"
4035 y="2204"
4036 width="40"
4037 height="40"
4038 data-wire-ys="[2224]"
4039 data-width="40"
4040 style="cursor: grab"
4041 data-wire="14"
4042 />
4043 <text
4044 font-size="14"
4045 x="648"
4046 y="2224"
4047 class="qs-maintext"
4048 >
4049 <tspan class="qs-mathtext">Z</tspan>
4050 </text>
4051 </g>
4052 </g>
4053 </g>
4054 </g>
4055 </g>
4056 <g
4057 class="gate"
4058 data-location="0,0-0,7-4,0"
4059 data-zoom-out="true"
4060 data-zoom-in="false"
4061 >
4062 <g>
4063 <rect
4064 class="gate-measure"
4065 x="735"
4066 y="2204"
4067 width="40"
4068 height="40"
4069 data-wire-ys="[2224]"
4070 data-width="40"
4071 style="cursor: grab"
4072 data-wire="14"
4073 />
4074 <path
4075 class="arc-measure"
4076 d="M 770 2226 A 15 12 0 0 0 740 2226"
4077 style="pointer-events: none"
4078 />
4079 <line
4080 x1="755"
4081 x2="767"
4082 y1="2232"
4083 y2="2212"
4084 class="qs-line-measure"
4085 style="pointer-events: none"
4086 />
4087 </g>
4088 </g>
4089 </g>
4090 <text
4091 font-size="14"
4092 x="100"
4093 y="1985"
4094 class="qs-maintext qs-group-label"
4095 >
4096 <tspan class="qs-mathtext">NestedIfs</tspan>
4097 </text>
4098 <g class="gate-control gate-collapse">
4099 <circle cx="92" cy="1972" r="10" />
4100 <path d="M85,1972 h14" />
4101 </g>
4102 </g>
4103 <g
4104 class="gate"
4105 data-expanded="true"
4106 data-location="0,0-0,8"
4107 data-zoom-out="true"
4108 data-zoom-in="true"
4109 >
4110 <rect
4111 class="gate-unitary"
4112 x="90"
4113 y="2364"
4114 width="306"
4115 height="232"
4116 fill-opacity="0"
4117 stroke-dasharray="8, 8"
4118 style="cursor: grab"
4119 />
4120 <g>
4121 <g
4122 class="gate"
4123 data-location="0,0-0,8-0,0"
4124 data-zoom-out="true"
4125 data-zoom-in="false"
4126 >
4127 <g>
4128 <g>
4129 <rect
4130 class="gate-unitary"
4131 x="100"
4132 y="2390"
4133 width="40"
4134 height="40"
4135 data-wire-ys="[2410]"
4136 data-width="40"
4137 style="cursor: grab"
4138 data-wire="15"
4139 />
4140 <text
4141 font-size="14"
4142 x="120"
4143 y="2410"
4144 class="qs-maintext"
4145 >
4146 <tspan class="qs-mathtext">H</tspan>
4147 </text>
4148 </g>
4149 </g>
4150 </g>
4151 <g
4152 class="gate"
4153 data-location="0,0-0,8-1,0"
4154 data-zoom-out="true"
4155 data-zoom-in="false"
4156 >
4157 <g>
4158 <rect
4159 class="gate-measure"
4160 x="152"
4161 y="2390"
4162 width="40"
4163 height="40"
4164 data-wire-ys="[2410]"
4165 data-width="40"
4166 style="cursor: grab"
4167 data-wire="15"
4168 />
4169 <path
4170 class="arc-measure"
4171 d="M 187 2412 A 15 12 0 0 0 157 2412"
4172 style="pointer-events: none"
4173 />
4174 <line
4175 x1="172"
4176 x2="184"
4177 y1="2418"
4178 y2="2398"
4179 class="qs-line-measure"
4180 style="pointer-events: none"
4181 />
4182 </g>
4183 </g>
4184 <g
4185 class="classically-controlled-group"
4186 data-location="0,0-0,8-2,0"
4187 data-zoom-out="true"
4188 data-zoom-in="true"
4189 data-expanded="true"
4190 >
4191 <line
4192 x1="219"
4193 x2="244"
4194 y1="2482"
4195 y2="2482"
4196 class="classical-line"
4197 stroke-dasharray="8, 8"
4198 />
4199 <line
4200 x1="219"
4201 x2="219"
4202 y1="2477"
4203 y2="2482"
4204 class="classical-line"
4205 stroke-dasharray="8, 8"
4206 />
4207 <g class="classically-controlled-btn">
4208 <circle cx="219" cy="2462" r="15" />
4209 <text
4210 font-size="14"
4211 x="219"
4212 y="2462"
4213 text-anchor="start"
4214 dominant-baseline="middle"
4215 class="qs-maintext"
4216 >
4217 c
4218 <tspan baseline-shift="sub" font-size="65%">15</tspan>
4219 </text>
4220 </g>
4221 <rect
4222 class="classical-container"
4223 x="244"
4224 y="2416"
4225 width="90"
4226 height="128"
4227 fill-opacity="0"
4228 stroke-dasharray="8, 8"
4229 />
4230 <text
4231 font-size="14"
4232 x="254"
4233 y="2431"
4234 class="qs-maintext qs-group-label"
4235 >
4236 <tspan class="qs-mathtext">using</tspan>
4237 :
4238 <tspan class="qs-mathtext">c</tspan>
4239 <tspan baseline-shift="sub" font-size="65%">15</tspan>
4240 </text>
4241 <g>
4242 <g
4243 class="gate"
4244 data-location="0,0-0,8-2,0-0,0"
4245 data-zoom-out="true"
4246 data-zoom-in="false"
4247 >
4248 <g>
4249 <g>
4250 <rect
4251 class="gate-unitary"
4252 x="254"
4253 y="2494"
4254 width="65"
4255 height="40"
4256 data-wire-ys="[2514]"
4257 data-width="65"
4258 style="cursor: grab"
4259 data-wire="16"
4260 />
4261 <text
4262 font-size="14"
4263 x="286.5"
4264 y="2507"
4265 class="qs-maintext"
4266 >
4267 <tspan class="qs-mathtext">Rx</tspan>
4268 </text>
4269 <text
4270 font-size="12"
4271 x="286.5"
4272 y="2522"
4273 class="arg-button edit-mode"
4274 >
4275 <tspan class="qs-mathtext">f</tspan>
4276 (
4277 <tspan class="qs-mathtext">c</tspan>
4278 <tspan baseline-shift="sub" font-size="65%">
4279 15
4280 </tspan>
4281 )
4282 </text>
4283 </g>
4284 </g>
4285 </g>
4286 </g>
4287 </g>
4288 <g
4289 class="gate"
4290 data-location="0,0-0,8-3,0"
4291 data-zoom-out="true"
4292 data-zoom-in="false"
4293 >
4294 <g>
4295 <rect
4296 class="gate-measure"
4297 x="346"
4298 y="2494"
4299 width="40"
4300 height="40"
4301 data-wire-ys="[2514]"
4302 data-width="40"
4303 style="cursor: grab"
4304 data-wire="16"
4305 />
4306 <path
4307 class="arc-measure"
4308 d="M 381 2516 A 15 12 0 0 0 351 2516"
4309 style="pointer-events: none"
4310 />
4311 <line
4312 x1="366"
4313 x2="378"
4314 y1="2522"
4315 y2="2502"
4316 class="qs-line-measure"
4317 style="pointer-events: none"
4318 />
4319 </g>
4320 </g>
4321 </g>
4322 <text
4323 font-size="14"
4324 x="100"
4325 y="2379"
4326 class="qs-maintext qs-group-label"
4327 >
4328 <tspan class="qs-mathtext">
4329 MultiplePossibleFloatValuesInUnitaryArg
4330 </tspan>
4331 </text>
4332 <g class="gate-control gate-collapse">
4333 <circle cx="92" cy="2366" r="10" />
4334 <path d="M85,2366 h14" />
4335 </g>
4336 </g>
4337 <g
4338 class="gate"
4339 data-expanded="true"
4340 data-location="0,0-0,9"
4341 data-zoom-out="true"
4342 data-zoom-in="true"
4343 >
4344 <rect
4345 class="gate-unitary"
4346 x="90"
4347 y="2618"
4348 width="254"
4349 height="164"
4350 fill-opacity="0"
4351 stroke-dasharray="8, 8"
4352 style="cursor: grab"
4353 />
4354 <g>
4355 <g
4356 class="gate"
4357 data-location="0,0-0,9-0,0"
4358 data-zoom-out="true"
4359 data-zoom-in="false"
4360 >
4361 <g>
4362 <g>
4363 <rect
4364 class="gate-unitary"
4365 x="100"
4366 y="2670"
4367 width="40"
4368 height="40"
4369 data-wire-ys="[2690]"
4370 data-width="40"
4371 style="cursor: grab"
4372 data-wire="17"
4373 />
4374 <text
4375 font-size="14"
4376 x="120"
4377 y="2690"
4378 class="qs-maintext"
4379 >
4380 <tspan class="qs-mathtext">H</tspan>
4381 </text>
4382 </g>
4383 </g>
4384 </g>
4385 <g
4386 class="gate"
4387 data-location="0,0-0,9-1,0"
4388 data-zoom-out="true"
4389 data-zoom-in="false"
4390 >
4391 <g>
4392 <rect
4393 class="gate-measure"
4394 x="152"
4395 y="2670"
4396 width="40"
4397 height="40"
4398 data-wire-ys="[2690]"
4399 data-width="40"
4400 style="cursor: grab"
4401 data-wire="17"
4402 />
4403 <path
4404 class="arc-measure"
4405 d="M 187 2692 A 15 12 0 0 0 157 2692"
4406 style="pointer-events: none"
4407 />
4408 <line
4409 x1="172"
4410 x2="184"
4411 y1="2698"
4412 y2="2678"
4413 class="qs-line-measure"
4414 style="pointer-events: none"
4415 />
4416 </g>
4417 </g>
4418 <g
4419 class="classically-controlled-group"
4420 data-location="0,0-0,9-2,0"
4421 data-zoom-out="true"
4422 data-zoom-in="true"
4423 data-expanded="true"
4424 >
4425 <line
4426 x1="219"
4427 x2="244"
4428 y1="2762"
4429 y2="2762"
4430 class="classical-line"
4431 stroke-dasharray="8, 8"
4432 />
4433 <line
4434 x1="219"
4435 x2="219"
4436 y1="2757"
4437 y2="2762"
4438 class="classical-line"
4439 stroke-dasharray="8, 8"
4440 />
4441 <g class="classically-controlled-btn">
4442 <circle cx="219" cy="2742" r="15" />
4443 <text
4444 font-size="14"
4445 x="219"
4446 y="2742"
4447 text-anchor="start"
4448 dominant-baseline="middle"
4449 class="qs-maintext"
4450 >
4451 c
4452 <tspan baseline-shift="sub" font-size="65%">17</tspan>
4453 </text>
4454 </g>
4455 <rect
4456 class="classical-container"
4457 x="244"
4458 y="2644"
4459 width="90"
4460 height="128"
4461 fill-opacity="0"
4462 stroke-dasharray="8, 8"
4463 />
4464 <text
4465 font-size="14"
4466 x="254"
4467 y="2659"
4468 class="qs-maintext qs-group-label"
4469 >
4470 <tspan class="qs-mathtext">using</tspan>
4471 :
4472 <tspan class="qs-mathtext">c</tspan>
4473 <tspan baseline-shift="sub" font-size="65%">17</tspan>
4474 </text>
4475 <g>
4476 <g
4477 class="gate"
4478 data-location="0,0-0,9-2,0-0,0"
4479 data-zoom-out="true"
4480 data-zoom-in="false"
4481 >
4482 <g>
4483 <g>
4484 <rect
4485 class="gate-unitary"
4486 x="254"
4487 y="2670"
4488 width="65"
4489 height="40"
4490 data-wire-ys="[2690]"
4491 data-width="65"
4492 style="cursor: grab"
4493 data-wire="17"
4494 />
4495 <text
4496 font-size="14"
4497 x="286.5"
4498 y="2683"
4499 class="qs-maintext"
4500 >
4501 <tspan class="qs-mathtext">foo</tspan>
4502 </text>
4503 <text
4504 font-size="12"
4505 x="286.5"
4506 y="2698"
4507 class="arg-button edit-mode"
4508 >
4509 <tspan class="qs-mathtext">f</tspan>
4510 (
4511 <tspan class="qs-mathtext">c</tspan>
4512 <tspan baseline-shift="sub" font-size="65%">
4513 17
4514 </tspan>
4515 )
4516 </text>
4517 </g>
4518 </g>
4519 </g>
4520 </g>
4521 </g>
4522 </g>
4523 <text
4524 font-size="14"
4525 x="100"
4526 y="2633"
4527 class="qs-maintext qs-group-label"
4528 >
4529 <tspan class="qs-mathtext">
4530 CustomIntrinsicVariableArg
4531 </tspan>
4532 </text>
4533 <g class="gate-control gate-collapse">
4534 <circle cx="92" cy="2620" r="10" />
4535 <path d="M85,2620 h14" />
4536 </g>
4537 </g>
4538 <g
4539 class="gate"
4540 data-expanded="true"
4541 data-location="0,0-0,10"
4542 data-zoom-out="true"
4543 data-zoom-in="true"
4544 >
4545 <rect
4546 class="gate-unitary"
4547 x="90"
4548 y="2820"
4549 width="306"
4550 height="232"
4551 fill-opacity="0"
4552 stroke-dasharray="8, 8"
4553 style="cursor: grab"
4554 />
4555 <g>
4556 <g
4557 class="gate"
4558 data-location="0,0-0,10-0,0"
4559 data-zoom-out="true"
4560 data-zoom-in="false"
4561 >
4562 <g>
4563 <g>
4564 <rect
4565 class="gate-unitary"
4566 x="100"
4567 y="2846"
4568 width="40"
4569 height="40"
4570 data-wire-ys="[2866]"
4571 data-width="40"
4572 style="cursor: grab"
4573 data-wire="18"
4574 />
4575 <text
4576 font-size="14"
4577 x="120"
4578 y="2866"
4579 class="qs-maintext"
4580 >
4581 <tspan class="qs-mathtext">H</tspan>
4582 </text>
4583 </g>
4584 </g>
4585 </g>
4586 <g
4587 class="gate"
4588 data-location="0,0-0,10-1,0"
4589 data-zoom-out="true"
4590 data-zoom-in="false"
4591 >
4592 <g>
4593 <rect
4594 class="gate-measure"
4595 x="152"
4596 y="2846"
4597 width="40"
4598 height="40"
4599 data-wire-ys="[2866]"
4600 data-width="40"
4601 style="cursor: grab"
4602 data-wire="18"
4603 />
4604 <path
4605 class="arc-measure"
4606 d="M 187 2868 A 15 12 0 0 0 157 2868"
4607 style="pointer-events: none"
4608 />
4609 <line
4610 x1="172"
4611 x2="184"
4612 y1="2874"
4613 y2="2854"
4614 class="qs-line-measure"
4615 style="pointer-events: none"
4616 />
4617 </g>
4618 </g>
4619 <g
4620 class="classically-controlled-group"
4621 data-location="0,0-0,10-2,0"
4622 data-zoom-out="true"
4623 data-zoom-in="true"
4624 data-expanded="true"
4625 >
4626 <line
4627 x1="219"
4628 x2="244"
4629 y1="2938"
4630 y2="2938"
4631 class="classical-line"
4632 stroke-dasharray="8, 8"
4633 />
4634 <line
4635 x1="219"
4636 x2="219"
4637 y1="2933"
4638 y2="2938"
4639 class="classical-line"
4640 stroke-dasharray="8, 8"
4641 />
4642 <g class="classically-controlled-btn">
4643 <circle cx="219" cy="2918" r="15" />
4644 <text
4645 font-size="14"
4646 x="219"
4647 y="2918"
4648 text-anchor="start"
4649 dominant-baseline="middle"
4650 class="qs-maintext"
4651 >
4652 c
4653 <tspan baseline-shift="sub" font-size="65%">18</tspan>
4654 </text>
4655 </g>
4656 <rect
4657 class="classical-container"
4658 x="244"
4659 y="2872"
4660 width="90"
4661 height="128"
4662 fill-opacity="0"
4663 stroke-dasharray="8, 8"
4664 />
4665 <text
4666 font-size="14"
4667 x="254"
4668 y="2887"
4669 class="qs-maintext qs-group-label"
4670 >
4671 <tspan class="qs-mathtext">using</tspan>
4672 :
4673 <tspan class="qs-mathtext">c</tspan>
4674 <tspan baseline-shift="sub" font-size="65%">18</tspan>
4675 </text>
4676 <g>
4677 <g
4678 class="gate"
4679 data-location="0,0-0,10-2,0-0,0"
4680 data-zoom-out="true"
4681 data-zoom-in="false"
4682 >
4683 <g>
4684 <g>
4685 <rect
4686 class="gate-unitary"
4687 x="254"
4688 y="2950"
4689 width="65"
4690 height="40"
4691 data-wire-ys="[2970]"
4692 data-width="65"
4693 style="cursor: grab"
4694 data-wire="19"
4695 />
4696 <text
4697 font-size="14"
4698 x="286.5"
4699 y="2963"
4700 class="qs-maintext"
4701 >
4702 <tspan class="qs-mathtext">Rx</tspan>
4703 </text>
4704 <text
4705 font-size="12"
4706 x="286.5"
4707 y="2978"
4708 class="arg-button edit-mode"
4709 >
4710 <tspan class="qs-mathtext">f</tspan>
4711 (
4712 <tspan class="qs-mathtext">c</tspan>
4713 <tspan baseline-shift="sub" font-size="65%">
4714 18
4715 </tspan>
4716 )
4717 </text>
4718 </g>
4719 </g>
4720 </g>
4721 </g>
4722 </g>
4723 <g
4724 class="gate"
4725 data-location="0,0-0,10-3,0"
4726 data-zoom-out="true"
4727 data-zoom-in="false"
4728 >
4729 <g>
4730 <rect
4731 class="gate-measure"
4732 x="346"
4733 y="2950"
4734 width="40"
4735 height="40"
4736 data-wire-ys="[2970]"
4737 data-width="40"
4738 style="cursor: grab"
4739 data-wire="19"
4740 />
4741 <path
4742 class="arc-measure"
4743 d="M 381 2972 A 15 12 0 0 0 351 2972"
4744 style="pointer-events: none"
4745 />
4746 <line
4747 x1="366"
4748 x2="378"
4749 y1="2978"
4750 y2="2958"
4751 class="qs-line-measure"
4752 style="pointer-events: none"
4753 />
4754 </g>
4755 </g>
4756 </g>
4757 <text
4758 font-size="14"
4759 x="100"
4760 y="2835"
4761 class="qs-maintext qs-group-label"
4762 >
4763 <tspan class="qs-mathtext">BranchOnDynamicDouble</tspan>
4764 </text>
4765 <g class="gate-control gate-collapse">
4766 <circle cx="92" cy="2822" r="10" />
4767 <path d="M85,2822 h14" />
4768 </g>
4769 </g>
4770 <g
4771 class="gate"
4772 data-expanded="true"
4773 data-location="0,0-0,11"
4774 data-zoom-out="true"
4775 data-zoom-in="true"
4776 >
4777 <rect
4778 class="gate-unitary"
4779 x="90"
4780 y="3100"
4781 width="308"
4782 height="232"
4783 fill-opacity="0"
4784 stroke-dasharray="8, 8"
4785 style="cursor: grab"
4786 />
4787 <g>
4788 <g
4789 class="gate"
4790 data-location="0,0-0,11-0,0"
4791 data-zoom-out="true"
4792 data-zoom-in="false"
4793 >
4794 <g>
4795 <g>
4796 <rect
4797 class="gate-unitary"
4798 x="100"
4799 y="3126"
4800 width="40"
4801 height="40"
4802 data-wire-ys="[3146]"
4803 data-width="40"
4804 style="cursor: grab"
4805 data-wire="20"
4806 />
4807 <text
4808 font-size="14"
4809 x="120"
4810 y="3146"
4811 class="qs-maintext"
4812 >
4813 <tspan class="qs-mathtext">H</tspan>
4814 </text>
4815 </g>
4816 </g>
4817 </g>
4818 <g
4819 class="gate"
4820 data-location="0,0-0,11-1,0"
4821 data-zoom-out="true"
4822 data-zoom-in="false"
4823 >
4824 <g>
4825 <rect
4826 class="gate-measure"
4827 x="152"
4828 y="3126"
4829 width="40"
4830 height="40"
4831 data-wire-ys="[3146]"
4832 data-width="40"
4833 style="cursor: grab"
4834 data-wire="20"
4835 />
4836 <path
4837 class="arc-measure"
4838 d="M 187 3148 A 15 12 0 0 0 157 3148"
4839 style="pointer-events: none"
4840 />
4841 <line
4842 x1="172"
4843 x2="184"
4844 y1="3154"
4845 y2="3134"
4846 class="qs-line-measure"
4847 style="pointer-events: none"
4848 />
4849 </g>
4850 </g>
4851 <g
4852 class="classically-controlled-group"
4853 data-location="0,0-0,11-2,0"
4854 data-zoom-out="true"
4855 data-zoom-in="true"
4856 data-expanded="true"
4857 >
4858 <line
4859 x1="219"
4860 x2="244"
4861 y1="3218"
4862 y2="3218"
4863 class="classical-line"
4864 stroke-dasharray="8, 8"
4865 />
4866 <line
4867 x1="219"
4868 x2="219"
4869 y1="3213"
4870 y2="3218"
4871 class="classical-line"
4872 stroke-dasharray="8, 8"
4873 />
4874 <g class="classically-controlled-btn">
4875 <circle cx="219" cy="3198" r="15" />
4876 <text
4877 font-size="14"
4878 x="219"
4879 y="3198"
4880 text-anchor="start"
4881 dominant-baseline="middle"
4882 class="qs-maintext"
4883 >
4884 c
4885 <tspan baseline-shift="sub" font-size="65%">20</tspan>
4886 </text>
4887 </g>
4888 <rect
4889 class="classical-container"
4890 x="244"
4891 y="3152"
4892 width="92"
4893 height="128"
4894 fill-opacity="0"
4895 stroke-dasharray="8, 8"
4896 />
4897 <text
4898 font-size="14"
4899 x="254"
4900 y="3167"
4901 class="qs-maintext qs-group-label"
4902 >
4903 <tspan class="qs-mathtext">if</tspan>
4904 :
4905 <tspan class="qs-mathtext">f</tspan>
4906 (
4907 <tspan class="qs-mathtext">c</tspan>
4908 <tspan baseline-shift="sub" font-size="65%">20</tspan>
4909 )
4910 </text>
4911 <g>
4912 <g
4913 class="gate"
4914 data-location="0,0-0,11-2,0-0,0"
4915 data-zoom-out="true"
4916 data-zoom-in="false"
4917 >
4918 <g
4919 class="oplus"
4920 data-wire-ys="[3250]"
4921 data-width="30"
4922 style="cursor: grab"
4923 data-wire="21"
4924 >
4925 <circle cx="274" cy="3250" r="15" />
4926 <line x1="274" x2="274" y1="3235" y2="3265" />
4927 <line x1="259" x2="289" y1="3250" y2="3250" />
4928 </g>
4929 </g>
4930 </g>
4931 </g>
4932 <g
4933 class="gate"
4934 data-location="0,0-0,11-3,0"
4935 data-zoom-out="true"
4936 data-zoom-in="false"
4937 >
4938 <g>
4939 <rect
4940 class="gate-measure"
4941 x="348"
4942 y="3230"
4943 width="40"
4944 height="40"
4945 data-wire-ys="[3250]"
4946 data-width="40"
4947 style="cursor: grab"
4948 data-wire="21"
4949 />
4950 <path
4951 class="arc-measure"
4952 d="M 383 3252 A 15 12 0 0 0 353 3252"
4953 style="pointer-events: none"
4954 />
4955 <line
4956 x1="368"
4957 x2="380"
4958 y1="3258"
4959 y2="3238"
4960 class="qs-line-measure"
4961 style="pointer-events: none"
4962 />
4963 </g>
4964 </g>
4965 </g>
4966 <text
4967 font-size="14"
4968 x="100"
4969 y="3115"
4970 class="qs-maintext qs-group-label"
4971 >
4972 <tspan class="qs-mathtext">BranchOnDynamicBool</tspan>
4973 </text>
4974 <g class="gate-control gate-collapse">
4975 <circle cx="92" cy="3102" r="10" />
4976 <path d="M85,3102 h14" />
4977 </g>
4978 </g>
4979 <g
4980 class="gate"
4981 data-expanded="true"
4982 data-location="0,0-0,12"
4983 data-zoom-out="true"
4984 data-zoom-in="true"
4985 >
4986 <rect
4987 class="gate-unitary"
4988 x="90"
4989 y="3354"
4990 width="408"
4991 height="288"
4992 fill-opacity="0"
4993 stroke-dasharray="8, 8"
4994 style="cursor: grab"
4995 />
4996 <g>
4997 <g
4998 class="gate"
4999 data-expanded="true"
5000 data-location="0,0-0,12-0,0"
5001 data-zoom-out="true"
5002 data-zoom-in="true"
5003 >
5004 <rect
5005 class="gate-unitary"
5006 x="100"
5007 y="3406"
5008 width="132"
5009 height="112"
5010 fill-opacity="0"
5011 stroke-dasharray="8, 8"
5012 style="cursor: grab"
5013 />
5014 <g>
5015 <g
5016 class="gate"
5017 data-expanded="true"
5018 data-location="0,0-0,12-0,0-0,0"
5019 data-zoom-out="true"
5020 data-zoom-in="true"
5021 >
5022 <rect
5023 class="gate-unitary"
5024 x="110"
5025 y="3432"
5026 width="112"
5027 height="76"
5028 fill-opacity="0"
5029 stroke-dasharray="8, 8"
5030 style="cursor: grab"
5031 />
5032 <g>
5033 <g
5034 class="gate"
5035 data-location="0,0-0,12-0,0-0,0-0,0"
5036 data-zoom-out="true"
5037 data-zoom-in="false"
5038 >
5039 <g
5040 class="oplus"
5041 data-wire-ys="[3478]"
5042 data-width="30"
5043 style="cursor: grab"
5044 data-wire="22"
5045 >
5046 <circle cx="140" cy="3478" r="15" />
5047 <line x1="140" x2="140" y1="3463" y2="3493" />
5048 <line x1="125" x2="155" y1="3478" y2="3478" />
5049 </g>
5050 </g>
5051 <g
5052 class="gate"
5053 data-location="0,0-0,12-0,0-0,0-1,0"
5054 data-zoom-out="true"
5055 data-zoom-in="false"
5056 >
5057 <g>
5058 <g>
5059 <rect
5060 class="gate-unitary"
5061 x="172"
5062 y="3458"
5063 width="40"
5064 height="40"
5065 data-wire-ys="[3478]"
5066 data-width="40"
5067 style="cursor: grab"
5068 data-wire="22"
5069 />
5070 <text
5071 font-size="14"
5072 x="192"
5073 y="3478"
5074 class="qs-maintext"
5075 >
5076 <tspan class="qs-mathtext">Y</tspan>
5077 </text>
5078 </g>
5079 </g>
5080 </g>
5081 </g>
5082 <text
5083 font-size="14"
5084 x="120"
5085 y="3447"
5086 class="qs-maintext qs-group-label"
5087 >
5088 <tspan class="qs-mathtext">Bar</tspan>
5089 </text>
5090 <g class="gate-control gate-collapse">
5091 <circle cx="112" cy="3434" r="10" />
5092 <path d="M105,3434 h14" />
5093 </g>
5094 </g>
5095 </g>
5096 <text
5097 font-size="14"
5098 x="110"
5099 y="3421"
5100 class="qs-maintext qs-group-label"
5101 >
5102 <tspan class="qs-mathtext">Foo</tspan>
5103 </text>
5104 <g class="gate-control gate-collapse">
5105 <circle cx="102" cy="3408" r="10" />
5106 <path d="M95,3408 h14" />
5107 </g>
5108 </g>
5109 <g
5110 class="gate"
5111 data-location="0,0-0,12-0,1"
5112 data-zoom-out="true"
5113 data-zoom-in="false"
5114 >
5115 <g>
5116 <g>
5117 <rect
5118 class="gate-unitary"
5119 x="146"
5120 y="3530"
5121 width="40"
5122 height="40"
5123 data-wire-ys="[3550]"
5124 data-width="40"
5125 style="cursor: grab"
5126 data-wire="23"
5127 />
5128 <text
5129 font-size="14"
5130 x="166"
5131 y="3550"
5132 class="qs-maintext"
5133 >
5134 <tspan class="qs-mathtext">H</tspan>
5135 </text>
5136 </g>
5137 </g>
5138 </g>
5139 <g
5140 class="gate"
5141 data-location="0,0-0,12-1,0"
5142 data-zoom-out="true"
5143 data-zoom-in="false"
5144 >
5145 <g>
5146 <rect
5147 class="gate-measure"
5148 x="244"
5149 y="3530"
5150 width="40"
5151 height="40"
5152 data-wire-ys="[3550]"
5153 data-width="40"
5154 style="cursor: grab"
5155 data-wire="23"
5156 />
5157 <path
5158 class="arc-measure"
5159 d="M 279 3552 A 15 12 0 0 0 249 3552"
5160 style="pointer-events: none"
5161 />
5162 <line
5163 x1="264"
5164 x2="276"
5165 y1="3558"
5166 y2="3538"
5167 class="qs-line-measure"
5168 style="pointer-events: none"
5169 />
5170 </g>
5171 </g>
5172 <g
5173 class="classically-controlled-group"
5174 data-location="0,0-0,12-2,0"
5175 data-zoom-out="true"
5176 data-zoom-in="true"
5177 data-expanded="true"
5178 >
5179 <line
5180 x1="311"
5181 x2="336"
5182 y1="3622"
5183 y2="3622"
5184 class="classical-line"
5185 stroke-dasharray="8, 8"
5186 />
5187 <line
5188 x1="311"
5189 x2="311"
5190 y1="3617"
5191 y2="3622"
5192 class="classical-line"
5193 stroke-dasharray="8, 8"
5194 />
5195 <g class="classically-controlled-btn">
5196 <circle cx="311" cy="3602" r="15" />
5197 <text
5198 font-size="14"
5199 x="311"
5200 y="3602"
5201 text-anchor="start"
5202 dominant-baseline="middle"
5203 class="qs-maintext"
5204 >
5205 c
5206 <tspan baseline-shift="sub" font-size="65%">22</tspan>
5207 </text>
5208 </g>
5209 <rect
5210 class="classical-container"
5211 x="336"
5212 y="3380"
5213 width="152"
5214 height="252"
5215 fill-opacity="0"
5216 stroke-dasharray="8, 8"
5217 />
5218 <text
5219 font-size="14"
5220 x="346"
5221 y="3395"
5222 class="qs-maintext qs-group-label"
5223 >
5224 <tspan class="qs-mathtext">if</tspan>
5225 :
5226 <tspan class="qs-mathtext">c</tspan>
5227 <tspan baseline-shift="sub" font-size="65%">22</tspan>
5228 = |1〉
5229 </text>
5230 <g>
5231 <g
5232 class="gate"
5233 data-expanded="true"
5234 data-location="0,0-0,12-2,0-0,0"
5235 data-zoom-out="true"
5236 data-zoom-in="true"
5237 >
5238 <rect
5239 class="gate-unitary"
5240 x="346"
5241 y="3406"
5242 width="132"
5243 height="112"
5244 fill-opacity="0"
5245 stroke-dasharray="8, 8"
5246 style="cursor: grab"
5247 />
5248 <g>
5249 <g
5250 class="gate"
5251 data-expanded="true"
5252 data-location="0,0-0,12-2,0-0,0-0,0"
5253 data-zoom-out="true"
5254 data-zoom-in="true"
5255 >
5256 <rect
5257 class="gate-unitary"
5258 x="356"
5259 y="3432"
5260 width="112"
5261 height="76"
5262 fill-opacity="0"
5263 stroke-dasharray="8, 8"
5264 style="cursor: grab"
5265 />
5266 <g>
5267 <g
5268 class="gate"
5269 data-location="0,0-0,12-2,0-0,0-0,0-0,0"
5270 data-zoom-out="true"
5271 data-zoom-in="false"
5272 >
5273 <g
5274 class="oplus"
5275 data-wire-ys="[3478]"
5276 data-width="30"
5277 style="cursor: grab"
5278 data-wire="22"
5279 >
5280 <circle cx="386" cy="3478" r="15" />
5281 <line
5282 x1="386"
5283 x2="386"
5284 y1="3463"
5285 y2="3493"
5286 />
5287 <line
5288 x1="371"
5289 x2="401"
5290 y1="3478"
5291 y2="3478"
5292 />
5293 </g>
5294 </g>
5295 <g
5296 class="gate"
5297 data-location="0,0-0,12-2,0-0,0-0,0-1,0"
5298 data-zoom-out="true"
5299 data-zoom-in="false"
5300 >
5301 <g>
5302 <g>
5303 <rect
5304 class="gate-unitary"
5305 x="418"
5306 y="3458"
5307 width="40"
5308 height="40"
5309 data-wire-ys="[3478]"
5310 data-width="40"
5311 style="cursor: grab"
5312 data-wire="22"
5313 />
5314 <text
5315 font-size="14"
5316 x="438"
5317 y="3478"
5318 class="qs-maintext"
5319 >
5320 <tspan class="qs-mathtext">Y</tspan>
5321 </text>
5322 </g>
5323 </g>
5324 </g>
5325 </g>
5326 <text
5327 font-size="14"
5328 x="366"
5329 y="3447"
5330 class="qs-maintext qs-group-label"
5331 >
5332 <tspan class="qs-mathtext">Bar</tspan>
5333 </text>
5334 <g class="gate-control gate-collapse">
5335 <circle cx="358" cy="3434" r="10" />
5336 <path d="M351,3434 h14" />
5337 </g>
5338 </g>
5339 </g>
5340 <text
5341 font-size="14"
5342 x="356"
5343 y="3421"
5344 class="qs-maintext qs-group-label"
5345 >
5346 <tspan class="qs-mathtext">Foo</tspan>
5347 </text>
5348 <g class="gate-control gate-collapse">
5349 <circle cx="348" cy="3408" r="10" />
5350 <path d="M341,3408 h14" />
5351 </g>
5352 </g>
5353 </g>
5354 </g>
5355 </g>
5356 <text
5357 font-size="14"
5358 x="100"
5359 y="3369"
5360 class="qs-maintext qs-group-label"
5361 >
5362 <tspan class="qs-mathtext">NestedCallablesInBranch</tspan>
5363 </text>
5364 <g class="gate-control gate-collapse">
5365 <circle cx="92" cy="3356" r="10" />
5366 <path d="M85,3356 h14" />
5367 </g>
5368 </g>
5369 <g
5370 class="gate"
5371 data-expanded="true"
5372 data-location="0,0-0,13"
5373 data-zoom-out="true"
5374 data-zoom-in="true"
5375 >
5376 <rect
5377 class="gate-unitary"
5378 x="90"
5379 y="3654"
5380 width="794"
5381 height="370"
5382 fill-opacity="0"
5383 stroke-dasharray="8, 8"
5384 style="cursor: grab"
5385 />
5386 <g>
5387 <g
5388 class="gate"
5389 data-location="0,0-0,13-0,0"
5390 data-zoom-out="true"
5391 data-zoom-in="false"
5392 >
5393 <g>
5394 <rect
5395 class="gate-measure"
5396 x="100"
5397 y="3840"
5398 width="40"
5399 height="40"
5400 data-wire-ys="[3860]"
5401 data-width="40"
5402 style="cursor: grab"
5403 data-wire="25"
5404 />
5405 <path
5406 class="arc-measure"
5407 d="M 135 3862 A 15 12 0 0 0 105 3862"
5408 style="pointer-events: none"
5409 />
5410 <line
5411 x1="120"
5412 x2="132"
5413 y1="3868"
5414 y2="3848"
5415 class="qs-line-measure"
5416 style="pointer-events: none"
5417 />
5418 </g>
5419 </g>
5420 <g
5421 class="gate"
5422 data-location="0,0-0,13-1,0"
5423 data-zoom-out="true"
5424 data-zoom-in="false"
5425 >
5426 <g>
5427 <g>
5428 <rect
5429 class="gate-ket"
5430 x="152"
5431 y="3840"
5432 width="40"
5433 height="40"
5434 data-wire-ys="[3860]"
5435 data-width="40"
5436 style="cursor: grab"
5437 data-wire="25"
5438 />
5439 <text
5440 font-size="14"
5441 x="172"
5442 y="3860"
5443 class="qs-maintext ket-text"
5444 >
5445 |0⟩
5446 </text>
5447 </g>
5448 </g>
5449 </g>
5450 <g
5451 class="gate"
5452 data-location="0,0-0,13-2,0"
5453 data-zoom-out="true"
5454 data-zoom-in="false"
5455 >
5456 <g>
5457 <rect
5458 class="gate-measure"
5459 x="204"
5460 y="3840"
5461 width="40"
5462 height="40"
5463 data-wire-ys="[3860]"
5464 data-width="40"
5465 style="cursor: grab"
5466 data-wire="25"
5467 />
5468 <path
5469 class="arc-measure"
5470 d="M 239 3862 A 15 12 0 0 0 209 3862"
5471 style="pointer-events: none"
5472 />
5473 <line
5474 x1="224"
5475 x2="236"
5476 y1="3868"
5477 y2="3848"
5478 class="qs-line-measure"
5479 style="pointer-events: none"
5480 />
5481 </g>
5482 </g>
5483 <g
5484 class="gate"
5485 data-location="0,0-0,13-3,0"
5486 data-zoom-out="true"
5487 data-zoom-in="false"
5488 >
5489 <g>
5490 <g>
5491 <rect
5492 class="gate-ket"
5493 x="256"
5494 y="3840"
5495 width="40"
5496 height="40"
5497 data-wire-ys="[3860]"
5498 data-width="40"
5499 style="cursor: grab"
5500 data-wire="25"
5501 />
5502 <text
5503 font-size="14"
5504 x="276"
5505 y="3860"
5506 class="qs-maintext ket-text"
5507 >
5508 |0⟩
5509 </text>
5510 </g>
5511 </g>
5512 </g>
5513 <g
5514 class="gate"
5515 data-expanded="true"
5516 data-location="0,0-0,13-4,0"
5517 data-zoom-out="true"
5518 data-zoom-in="true"
5519 >
5520 <rect
5521 class="gate-unitary"
5522 x="308"
5523 y="3680"
5524 width="362"
5525 height="334"
5526 fill-opacity="0"
5527 stroke-dasharray="8, 8"
5528 style="cursor: grab"
5529 />
5530 <g>
5531 <g
5532 class="gate"
5533 data-expanded="true"
5534 data-location="0,0-0,13-4,0-0,0"
5535 data-zoom-out="true"
5536 data-zoom-in="true"
5537 >
5538 <rect
5539 class="gate-unitary"
5540 x="318"
5541 y="3706"
5542 width="165"
5543 height="246"
5544 fill-opacity="0"
5545 stroke-dasharray="8, 8"
5546 style="cursor: grab"
5547 />
5548 <g>
5549 <g
5550 class="classically-controlled-group"
5551 data-location="0,0-0,13-4,0-0,0-0,0"
5552 data-zoom-out="true"
5553 data-zoom-in="true"
5554 data-expanded="true"
5555 >
5556 <line
5557 x1="343"
5558 x2="368"
5559 y1="3932"
5560 y2="3932"
5561 class="classical-line"
5562 stroke-dasharray="8, 8"
5563 />
5564 <line
5565 x1="343"
5566 x2="343"
5567 y1="3927"
5568 y2="3932"
5569 class="classical-line"
5570 stroke-dasharray="8, 8"
5571 />
5572 <g class="classically-controlled-btn">
5573 <circle cx="343" cy="3912" r="15" />
5574 <text
5575 font-size="14"
5576 x="343"
5577 y="3912"
5578 text-anchor="start"
5579 dominant-baseline="middle"
5580 class="qs-maintext"
5581 >
5582 c
5583 <tspan baseline-shift="sub" font-size="65%">
5584 23
5585 </tspan>
5586 </text>
5587 </g>
5588 <rect
5589 class="classical-container"
5590 x="368"
5591 y="3732"
5592 width="105"
5593 height="210"
5594 fill-opacity="0"
5595 stroke-dasharray="8, 8"
5596 />
5597 <text
5598 font-size="14"
5599 x="378"
5600 y="3747"
5601 class="qs-maintext qs-group-label"
5602 >
5603 <tspan class="qs-mathtext">if</tspan>
5604 :
5605 <tspan class="qs-mathtext">c</tspan>
5606 <tspan baseline-shift="sub" font-size="65%">
5607 23
5608 </tspan>
5609 = |1〉
5610 </text>
5611 <g>
5612 <g
5613 class="gate"
5614 data-location="0,0-0,13-4,0-0,0-0,0-0,0"
5615 data-zoom-out="true"
5616 data-zoom-in="false"
5617 >
5618 <g
5619 class="oplus"
5620 data-wire-ys="[3778]"
5621 data-width="30"
5622 style="cursor: grab"
5623 data-wire="24"
5624 >
5625 <circle cx="398" cy="3778" r="15" />
5626 <line
5627 x1="398"
5628 x2="398"
5629 y1="3763"
5630 y2="3793"
5631 />
5632 <line
5633 x1="383"
5634 x2="413"
5635 y1="3778"
5636 y2="3778"
5637 />
5638 </g>
5639 </g>
5640 </g>
5641 </g>
5642 </g>
5643 <text
5644 font-size="14"
5645 x="328"
5646 y="3721"
5647 class="qs-maintext qs-group-label"
5648 >
5649 (1)
5650 </text>
5651 <g class="gate-control gate-collapse">
5652 <circle cx="320" cy="3708" r="10" />
5653 <path d="M313,3708 h14" />
5654 </g>
5655 </g>
5656 <g
5657 class="gate"
5658 data-expanded="true"
5659 data-location="0,0-0,13-4,0-1,0"
5660 data-zoom-out="true"
5661 data-zoom-in="true"
5662 >
5663 <rect
5664 class="gate-unitary"
5665 x="495"
5666 y="3706"
5667 width="165"
5668 height="298"
5669 fill-opacity="0"
5670 stroke-dasharray="8, 8"
5671 style="cursor: grab"
5672 />
5673 <g>
5674 <g
5675 class="classically-controlled-group"
5676 data-location="0,0-0,13-4,0-1,0-0,0"
5677 data-zoom-out="true"
5678 data-zoom-in="true"
5679 data-expanded="true"
5680 >
5681 <line
5682 x1="520"
5683 x2="545"
5684 y1="3984"
5685 y2="3984"
5686 class="classical-line"
5687 stroke-dasharray="8, 8"
5688 />
5689 <line
5690 x1="520"
5691 x2="520"
5692 y1="3979"
5693 y2="3984"
5694 class="classical-line"
5695 stroke-dasharray="8, 8"
5696 />
5697 <g class="classically-controlled-btn">
5698 <circle cx="520" cy="3964" r="15" />
5699 <text
5700 font-size="14"
5701 x="520"
5702 y="3964"
5703 text-anchor="start"
5704 dominant-baseline="middle"
5705 class="qs-maintext"
5706 >
5707 c
5708 <tspan baseline-shift="sub" font-size="65%">
5709 24
5710 </tspan>
5711 </text>
5712 </g>
5713 <rect
5714 class="classical-container"
5715 x="545"
5716 y="3732"
5717 width="105"
5718 height="262"
5719 fill-opacity="0"
5720 stroke-dasharray="8, 8"
5721 />
5722 <text
5723 font-size="14"
5724 x="555"
5725 y="3747"
5726 class="qs-maintext qs-group-label"
5727 >
5728 <tspan class="qs-mathtext">if</tspan>
5729 :
5730 <tspan class="qs-mathtext">c</tspan>
5731 <tspan baseline-shift="sub" font-size="65%">
5732 24
5733 </tspan>
5734 = |1〉
5735 </text>
5736 <g>
5737 <g
5738 class="gate"
5739 data-location="0,0-0,13-4,0-1,0-0,0-0,0"
5740 data-zoom-out="true"
5741 data-zoom-in="false"
5742 >
5743 <g
5744 class="oplus"
5745 data-wire-ys="[3778]"
5746 data-width="30"
5747 style="cursor: grab"
5748 data-wire="24"
5749 >
5750 <circle cx="575" cy="3778" r="15" />
5751 <line
5752 x1="575"
5753 x2="575"
5754 y1="3763"
5755 y2="3793"
5756 />
5757 <line
5758 x1="560"
5759 x2="590"
5760 y1="3778"
5761 y2="3778"
5762 />
5763 </g>
5764 </g>
5765 </g>
5766 </g>
5767 </g>
5768 <text
5769 font-size="14"
5770 x="505"
5771 y="3721"
5772 class="qs-maintext qs-group-label"
5773 >
5774 (2)
5775 </text>
5776 <g class="gate-control gate-collapse">
5777 <circle cx="497" cy="3708" r="10" />
5778 <path d="M490,3708 h14" />
5779 </g>
5780 </g>
5781 </g>
5782 <text
5783 font-size="14"
5784 x="318"
5785 y="3695"
5786 class="qs-maintext qs-group-label"
5787 >
5788 <tspan class="qs-mathtext">loop</tspan>
5789 : 0..1
5790 </text>
5791 <g class="gate-control gate-collapse">
5792 <circle cx="310" cy="3682" r="10" />
5793 <path d="M303,3682 h14" />
5794 </g>
5795 </g>
5796 <g
5797 class="gate"
5798 data-expanded="true"
5799 data-location="0,0-0,13-5,0"
5800 data-zoom-out="true"
5801 data-zoom-in="true"
5802 >
5803 <rect
5804 class="gate-unitary"
5805 x="682"
5806 y="3680"
5807 width="192"
5808 height="148"
5809 fill-opacity="0"
5810 stroke-dasharray="8, 8"
5811 style="cursor: grab"
5812 />
5813 <g>
5814 <g
5815 class="gate"
5816 data-expanded="true"
5817 data-location="0,0-0,13-5,0-0,0"
5818 data-zoom-out="true"
5819 data-zoom-in="true"
5820 >
5821 <rect
5822 class="gate-unitary"
5823 x="692"
5824 y="3706"
5825 width="80"
5826 height="112"
5827 fill-opacity="0"
5828 stroke-dasharray="8, 8"
5829 style="cursor: grab"
5830 />
5831 <g>
5832 <g
5833 class="gate"
5834 data-expanded="true"
5835 data-location="0,0-0,13-5,0-0,0-0,0"
5836 data-zoom-out="true"
5837 data-zoom-in="true"
5838 >
5839 <rect
5840 class="gate-unitary"
5841 x="702"
5842 y="3732"
5843 width="60"
5844 height="76"
5845 fill-opacity="0"
5846 stroke-dasharray="8, 8"
5847 style="cursor: grab"
5848 />
5849 <g>
5850 <g
5851 class="gate"
5852 data-location="0,0-0,13-5,0-0,0-0,0-0,0"
5853 data-zoom-out="true"
5854 data-zoom-in="false"
5855 >
5856 <g>
5857 <g>
5858 <rect
5859 class="gate-unitary"
5860 x="712"
5861 y="3758"
5862 width="40"
5863 height="40"
5864 data-wire-ys="[3778]"
5865 data-width="40"
5866 style="cursor: grab"
5867 data-wire="24"
5868 />
5869 <text
5870 font-size="14"
5871 x="732"
5872 y="3778"
5873 class="qs-maintext"
5874 >
5875 <tspan class="qs-mathtext">H</tspan>
5876 </text>
5877 </g>
5878 </g>
5879 </g>
5880 </g>
5881 <text
5882 font-size="14"
5883 x="712"
5884 y="3747"
5885 class="qs-maintext qs-group-label"
5886 >
5887 <tspan class="qs-mathtext">Baz</tspan>
5888 </text>
5889 <g class="gate-control gate-collapse">
5890 <circle cx="704" cy="3734" r="10" />
5891 <path d="M697,3734 h14" />
5892 </g>
5893 </g>
5894 </g>
5895 <text
5896 font-size="14"
5897 x="702"
5898 y="3721"
5899 class="qs-maintext qs-group-label"
5900 >
5901 (1)
5902 </text>
5903 <g class="gate-control gate-collapse">
5904 <circle cx="694" cy="3708" r="10" />
5905 <path d="M687,3708 h14" />
5906 </g>
5907 </g>
5908 <g
5909 class="gate"
5910 data-expanded="true"
5911 data-location="0,0-0,13-5,0-1,0"
5912 data-zoom-out="true"
5913 data-zoom-in="true"
5914 >
5915 <rect
5916 class="gate-unitary"
5917 x="784"
5918 y="3706"
5919 width="80"
5920 height="112"
5921 fill-opacity="0"
5922 stroke-dasharray="8, 8"
5923 style="cursor: grab"
5924 />
5925 <g>
5926 <g
5927 class="gate"
5928 data-expanded="true"
5929 data-location="0,0-0,13-5,0-1,0-0,0"
5930 data-zoom-out="true"
5931 data-zoom-in="true"
5932 >
5933 <rect
5934 class="gate-unitary"
5935 x="794"
5936 y="3732"
5937 width="60"
5938 height="76"
5939 fill-opacity="0"
5940 stroke-dasharray="8, 8"
5941 style="cursor: grab"
5942 />
5943 <g>
5944 <g
5945 class="gate"
5946 data-location="0,0-0,13-5,0-1,0-0,0-0,0"
5947 data-zoom-out="true"
5948 data-zoom-in="false"
5949 >
5950 <g>
5951 <g>
5952 <rect
5953 class="gate-unitary"
5954 x="804"
5955 y="3758"
5956 width="40"
5957 height="40"
5958 data-wire-ys="[3778]"
5959 data-width="40"
5960 style="cursor: grab"
5961 data-wire="24"
5962 />
5963 <text
5964 font-size="14"
5965 x="824"
5966 y="3778"
5967 class="qs-maintext"
5968 >
5969 <tspan class="qs-mathtext">H</tspan>
5970 </text>
5971 </g>
5972 </g>
5973 </g>
5974 </g>
5975 <text
5976 font-size="14"
5977 x="804"
5978 y="3747"
5979 class="qs-maintext qs-group-label"
5980 >
5981 <tspan class="qs-mathtext">Baz</tspan>
5982 </text>
5983 <g class="gate-control gate-collapse">
5984 <circle cx="796" cy="3734" r="10" />
5985 <path d="M789,3734 h14" />
5986 </g>
5987 </g>
5988 </g>
5989 <text
5990 font-size="14"
5991 x="794"
5992 y="3721"
5993 class="qs-maintext qs-group-label"
5994 >
5995 (2)
5996 </text>
5997 <g class="gate-control gate-collapse">
5998 <circle cx="786" cy="3708" r="10" />
5999 <path d="M779,3708 h14" />
6000 </g>
6001 </g>
6002 </g>
6003 <text
6004 font-size="14"
6005 x="692"
6006 y="3695"
6007 class="qs-maintext qs-group-label"
6008 >
6009 <tspan class="qs-mathtext">loop</tspan>
6010 : 0..1
6011 </text>
6012 <g class="gate-control gate-collapse">
6013 <circle cx="684" cy="3682" r="10" />
6014 <path d="M677,3682 h14" />
6015 </g>
6016 </g>
6017 </g>
6018 <text
6019 font-size="14"
6020 x="100"
6021 y="3669"
6022 class="qs-maintext qs-group-label"
6023 >
6024 <tspan class="qs-mathtext">ConditionalInLoop</tspan>
6025 </text>
6026 <g class="gate-control gate-collapse">
6027 <circle cx="92" cy="3656" r="10" />
6028 <path d="M85,3656 h14" />
6029 </g>
6030 </g>
6031 <g
6032 class="gate"
6033 data-expanded="true"
6034 data-location="0,0-0,14"
6035 data-zoom-out="true"
6036 data-zoom-in="true"
6037 >
6038 <rect
6039 class="gate-unitary"
6040 x="90"
6041 y="4036"
6042 width="506"
6043 height="392"
6044 fill-opacity="0"
6045 stroke-dasharray="8, 8"
6046 style="cursor: grab"
6047 />
6048 <g>
6049 <g
6050 class="gate"
6051 data-location="0,0-0,14-0,0"
6052 data-zoom-out="true"
6053 data-zoom-in="false"
6054 >
6055 <g>
6056 <rect
6057 class="gate-measure"
6058 x="100"
6059 y="4192"
6060 width="40"
6061 height="40"
6062 data-wire-ys="[4212]"
6063 data-width="40"
6064 style="cursor: grab"
6065 data-wire="27"
6066 />
6067 <path
6068 class="arc-measure"
6069 d="M 135 4214 A 15 12 0 0 0 105 4214"
6070 style="pointer-events: none"
6071 />
6072 <line
6073 x1="120"
6074 x2="132"
6075 y1="4220"
6076 y2="4200"
6077 class="qs-line-measure"
6078 style="pointer-events: none"
6079 />
6080 </g>
6081 </g>
6082 <g
6083 class="gate"
6084 data-location="0,0-0,14-0,1"
6085 data-zoom-out="true"
6086 data-zoom-in="false"
6087 >
6088 <g>
6089 <rect
6090 class="gate-measure"
6091 x="100"
6092 y="4296"
6093 width="40"
6094 height="40"
6095 data-wire-ys="[4316]"
6096 data-width="40"
6097 style="cursor: grab"
6098 data-wire="28"
6099 />
6100 <path
6101 class="arc-measure"
6102 d="M 135 4318 A 15 12 0 0 0 105 4318"
6103 style="pointer-events: none"
6104 />
6105 <line
6106 x1="120"
6107 x2="132"
6108 y1="4324"
6109 y2="4304"
6110 class="qs-line-measure"
6111 style="pointer-events: none"
6112 />
6113 </g>
6114 </g>
6115 <g
6116 class="gate"
6117 data-location="0,0-0,14-1,0"
6118 data-zoom-out="true"
6119 data-zoom-in="false"
6120 >
6121 <g>
6122 <g>
6123 <rect
6124 class="gate-ket"
6125 x="152"
6126 y="4192"
6127 width="40"
6128 height="40"
6129 data-wire-ys="[4212]"
6130 data-width="40"
6131 style="cursor: grab"
6132 data-wire="27"
6133 />
6134 <text
6135 font-size="14"
6136 x="172"
6137 y="4212"
6138 class="qs-maintext ket-text"
6139 >
6140 |0⟩
6141 </text>
6142 </g>
6143 </g>
6144 </g>
6145 <g
6146 class="gate"
6147 data-location="0,0-0,14-1,1"
6148 data-zoom-out="true"
6149 data-zoom-in="false"
6150 >
6151 <g>
6152 <g>
6153 <rect
6154 class="gate-ket"
6155 x="152"
6156 y="4296"
6157 width="40"
6158 height="40"
6159 data-wire-ys="[4316]"
6160 data-width="40"
6161 style="cursor: grab"
6162 data-wire="28"
6163 />
6164 <text
6165 font-size="14"
6166 x="172"
6167 y="4316"
6168 class="qs-maintext ket-text"
6169 >
6170 |0⟩
6171 </text>
6172 </g>
6173 </g>
6174 </g>
6175 <g
6176 class="gate"
6177 data-expanded="true"
6178 data-location="0,0-0,14-2,0"
6179 data-zoom-out="true"
6180 data-zoom-in="true"
6181 >
6182 <rect
6183 class="gate-unitary"
6184 x="204"
6185 y="4062"
6186 width="382"
6187 height="356"
6188 fill-opacity="0"
6189 stroke-dasharray="8, 8"
6190 style="cursor: grab"
6191 />
6192 <g>
6193 <g
6194 class="classically-controlled-group"
6195 data-location="0,0-0,14-2,0-0,0"
6196 data-zoom-out="true"
6197 data-zoom-in="true"
6198 data-expanded="true"
6199 >
6200 <line
6201 x1="229"
6202 x2="254"
6203 y1="4284"
6204 y2="4284"
6205 class="classical-line"
6206 stroke-dasharray="8, 8"
6207 />
6208 <line
6209 x1="229"
6210 x2="229"
6211 y1="4279"
6212 y2="4284"
6213 class="classical-line"
6214 stroke-dasharray="8, 8"
6215 />
6216 <g class="classically-controlled-btn">
6217 <circle cx="229" cy="4264" r="15" />
6218 <text
6219 font-size="14"
6220 x="229"
6221 y="4264"
6222 text-anchor="start"
6223 dominant-baseline="middle"
6224 class="qs-maintext"
6225 >
6226 c
6227 <tspan baseline-shift="sub" font-size="65%">
6228 25
6229 </tspan>
6230 </text>
6231 </g>
6232 <rect
6233 class="classical-container"
6234 x="254"
6235 y="4088"
6236 width="322"
6237 height="320"
6238 fill-opacity="0"
6239 stroke-dasharray="8, 8"
6240 />
6241 <text
6242 font-size="14"
6243 x="264"
6244 y="4103"
6245 class="qs-maintext qs-group-label"
6246 >
6247 <tspan class="qs-mathtext">if</tspan>
6248 :
6249 <tspan class="qs-mathtext">c</tspan>
6250 <tspan baseline-shift="sub" font-size="65%">
6251 25
6252 </tspan>
6253 = |0〉
6254 </text>
6255 <g>
6256 <g
6257 class="classically-controlled-group"
6258 data-location="0,0-0,14-2,0-0,0-0,0"
6259 data-zoom-out="true"
6260 data-zoom-in="true"
6261 data-expanded="true"
6262 >
6263 <line
6264 x1="279"
6265 x2="304"
6266 y1="4284"
6267 y2="4284"
6268 class="classical-line"
6269 stroke-dasharray="8, 8"
6270 />
6271 <line
6272 x1="279"
6273 x2="279"
6274 y1="4279"
6275 y2="4284"
6276 class="classical-line"
6277 stroke-dasharray="8, 8"
6278 />
6279 <g class="classically-controlled-btn">
6280 <circle cx="279" cy="4264" r="15" />
6281 <text
6282 font-size="14"
6283 x="279"
6284 y="4264"
6285 text-anchor="start"
6286 dominant-baseline="middle"
6287 class="qs-maintext"
6288 >
6289 c
6290 <tspan baseline-shift="sub" font-size="65%">
6291 25
6292 </tspan>
6293 </text>
6294 </g>
6295 <line
6296 x1="279"
6297 x2="304"
6298 y1="4388"
6299 y2="4388"
6300 class="classical-line"
6301 stroke-dasharray="8, 8"
6302 />
6303 <line
6304 x1="279"
6305 x2="279"
6306 y1="4383"
6307 y2="4388"
6308 class="classical-line"
6309 stroke-dasharray="8, 8"
6310 />
6311 <g class="classically-controlled-btn">
6312 <circle cx="279" cy="4368" r="15" />
6313 <text
6314 font-size="14"
6315 x="279"
6316 y="4368"
6317 text-anchor="start"
6318 dominant-baseline="middle"
6319 class="qs-maintext"
6320 >
6321 c
6322 <tspan baseline-shift="sub" font-size="65%">
6323 26
6324 </tspan>
6325 </text>
6326 </g>
6327 <rect
6328 class="classical-container"
6329 x="304"
6330 y="4114"
6331 width="105"
6332 height="284"
6333 fill-opacity="0"
6334 stroke-dasharray="8, 8"
6335 />
6336 <text
6337 font-size="14"
6338 x="314"
6339 y="4129"
6340 class="qs-maintext qs-group-label"
6341 >
6342 <tspan class="qs-mathtext">if</tspan>
6343 :
6344 <tspan class="qs-mathtext">c</tspan>
6345 <tspan baseline-shift="sub" font-size="65%">
6346 26
6347 </tspan>
6348 = |1〉
6349 </text>
6350 <g>
6351 <g
6352 class="gate"
6353 data-location="0,0-0,14-2,0-0,0-0,0-0,0"
6354 data-zoom-out="true"
6355 data-zoom-in="false"
6356 >
6357 <g
6358 class="oplus"
6359 data-wire-ys="[4160]"
6360 data-width="30"
6361 style="cursor: grab"
6362 data-wire="26"
6363 >
6364 <circle cx="334" cy="4160" r="15" />
6365 <line
6366 x1="334"
6367 x2="334"
6368 y1="4145"
6369 y2="4175"
6370 />
6371 <line
6372 x1="319"
6373 x2="349"
6374 y1="4160"
6375 y2="4160"
6376 />
6377 </g>
6378 </g>
6379 </g>
6380 </g>
6381 <g
6382 class="classically-controlled-group"
6383 data-location="0,0-0,14-2,0-0,0-1,0"
6384 data-zoom-out="true"
6385 data-zoom-in="true"
6386 data-expanded="true"
6387 >
6388 <line
6389 x1="436"
6390 x2="461"
6391 y1="4284"
6392 y2="4284"
6393 class="classical-line"
6394 stroke-dasharray="8, 8"
6395 />
6396 <line
6397 x1="436"
6398 x2="436"
6399 y1="4279"
6400 y2="4284"
6401 class="classical-line"
6402 stroke-dasharray="8, 8"
6403 />
6404 <g class="classically-controlled-btn">
6405 <circle cx="436" cy="4264" r="15" />
6406 <text
6407 font-size="14"
6408 x="436"
6409 y="4264"
6410 text-anchor="start"
6411 dominant-baseline="middle"
6412 class="qs-maintext"
6413 >
6414 c
6415 <tspan baseline-shift="sub" font-size="65%">
6416 25
6417 </tspan>
6418 </text>
6419 </g>
6420 <line
6421 x1="436"
6422 x2="461"
6423 y1="4388"
6424 y2="4388"
6425 class="classical-line"
6426 stroke-dasharray="8, 8"
6427 />
6428 <line
6429 x1="436"
6430 x2="436"
6431 y1="4383"
6432 y2="4388"
6433 class="classical-line"
6434 stroke-dasharray="8, 8"
6435 />
6436 <g class="classically-controlled-btn">
6437 <circle cx="436" cy="4368" r="15" />
6438 <text
6439 font-size="14"
6440 x="436"
6441 y="4368"
6442 text-anchor="start"
6443 dominant-baseline="middle"
6444 class="qs-maintext"
6445 >
6446 c
6447 <tspan baseline-shift="sub" font-size="65%">
6448 26
6449 </tspan>
6450 </text>
6451 </g>
6452 <rect
6453 class="classical-container"
6454 x="461"
6455 y="4114"
6456 width="105"
6457 height="284"
6458 fill-opacity="0"
6459 stroke-dasharray="8, 8"
6460 />
6461 <text
6462 font-size="14"
6463 x="471"
6464 y="4129"
6465 class="qs-maintext qs-group-label"
6466 >
6467 <tspan class="qs-mathtext">if</tspan>
6468 :
6469 <tspan class="qs-mathtext">c</tspan>
6470 <tspan baseline-shift="sub" font-size="65%">
6471 26
6472 </tspan>
6473 = |0〉
6474 </text>
6475 <g>
6476 <g
6477 class="gate"
6478 data-location="0,0-0,14-2,0-0,0-1,0-0,0"
6479 data-zoom-out="true"
6480 data-zoom-in="false"
6481 >
6482 <g>
6483 <g>
6484 <rect
6485 class="gate-unitary"
6486 x="471"
6487 y="4140"
6488 width="40"
6489 height="40"
6490 data-wire-ys="[4160]"
6491 data-width="40"
6492 style="cursor: grab"
6493 data-wire="26"
6494 />
6495 <text
6496 font-size="14"
6497 x="491"
6498 y="4160"
6499 class="qs-maintext"
6500 >
6501 <tspan class="qs-mathtext">Z</tspan>
6502 </text>
6503 </g>
6504 </g>
6505 </g>
6506 </g>
6507 </g>
6508 </g>
6509 </g>
6510 </g>
6511 <text
6512 font-size="14"
6513 x="214"
6514 y="4077"
6515 class="qs-maintext qs-group-label"
6516 >
6517 <tspan class="qs-mathtext">Quux</tspan>
6518 </text>
6519 <g class="gate-control gate-collapse">
6520 <circle cx="206" cy="4064" r="10" />
6521 <path d="M199,4064 h14" />
6522 </g>
6523 </g>
6524 </g>
6525 <text
6526 font-size="14"
6527 x="100"
6528 y="4051"
6529 class="qs-maintext qs-group-label"
6530 >
6531 <tspan class="qs-mathtext">
6532 NestedConditionalsInCallable
6533 </tspan>
6534 </text>
6535 <g class="gate-control gate-collapse">
6536 <circle cx="92" cy="4038" r="10" />
6537 <path d="M85,4038 h14" />
6538 </g>
6539 </g>
6540 <g
6541 class="gate"
6542 data-expanded="true"
6543 data-location="0,0-0,15"
6544 data-zoom-out="true"
6545 data-zoom-in="true"
6546 >
6547 <rect
6548 class="gate-unitary"
6549 x="90"
6550 y="4440"
6551 width="373"
6552 height="320"
6553 fill-opacity="0"
6554 stroke-dasharray="8, 8"
6555 style="cursor: grab"
6556 />
6557 <g>
6558 <g
6559 class="gate"
6560 data-location="0,0-0,15-0,0"
6561 data-zoom-out="true"
6562 data-zoom-in="false"
6563 >
6564 <g>
6565 <g>
6566 <rect
6567 class="gate-unitary"
6568 x="100"
6569 y="4544"
6570 width="40"
6571 height="40"
6572 data-wire-ys="[4564]"
6573 data-width="40"
6574 style="cursor: grab"
6575 data-wire="30"
6576 />
6577 <text
6578 font-size="14"
6579 x="120"
6580 y="4564"
6581 class="qs-maintext"
6582 >
6583 <tspan class="qs-mathtext">H</tspan>
6584 </text>
6585 </g>
6586 </g>
6587 </g>
6588 <g
6589 class="gate"
6590 data-location="0,0-0,15-1,0"
6591 data-zoom-out="true"
6592 data-zoom-in="false"
6593 >
6594 <g>
6595 <g>
6596 <rect
6597 class="gate-unitary"
6598 x="152"
6599 y="4544"
6600 width="40"
6601 height="40"
6602 data-wire-ys="[4564]"
6603 data-width="40"
6604 style="cursor: grab"
6605 data-wire="30"
6606 />
6607 <text
6608 font-size="14"
6609 x="172"
6610 y="4564"
6611 class="qs-maintext"
6612 >
6613 <tspan class="qs-mathtext">H</tspan>
6614 </text>
6615 </g>
6616 </g>
6617 </g>
6618 <g
6619 class="gate"
6620 data-location="0,0-0,15-2,0"
6621 data-zoom-out="true"
6622 data-zoom-in="false"
6623 >
6624 <g>
6625 <g>
6626 <rect
6627 class="gate-unitary"
6628 x="204"
6629 y="4544"
6630 width="40"
6631 height="40"
6632 data-wire-ys="[4564]"
6633 data-width="40"
6634 style="cursor: grab"
6635 data-wire="30"
6636 />
6637 <text
6638 font-size="14"
6639 x="224"
6640 y="4564"
6641 class="qs-maintext"
6642 >
6643 <tspan class="qs-mathtext">H</tspan>
6644 </text>
6645 </g>
6646 </g>
6647 </g>
6648 <g
6649 class="gate"
6650 data-location="0,0-0,15-3,0"
6651 data-zoom-out="true"
6652 data-zoom-in="false"
6653 >
6654 <g>
6655 <rect
6656 class="gate-measure"
6657 x="256"
6658 y="4544"
6659 width="40"
6660 height="40"
6661 data-wire-ys="[4564]"
6662 data-width="40"
6663 style="cursor: grab"
6664 data-wire="30"
6665 />
6666 <path
6667 class="arc-measure"
6668 d="M 291 4566 A 15 12 0 0 0 261 4566"
6669 style="pointer-events: none"
6670 />
6671 <line
6672 x1="276"
6673 x2="288"
6674 y1="4572"
6675 y2="4552"
6676 class="qs-line-measure"
6677 style="pointer-events: none"
6678 />
6679 </g>
6680 </g>
6681 <g
6682 class="classically-controlled-group"
6683 data-location="0,0-0,15-4,0"
6684 data-zoom-out="true"
6685 data-zoom-in="true"
6686 data-expanded="true"
6687 >
6688 <line
6689 x1="323"
6690 x2="348"
6691 y1="4636"
6692 y2="4636"
6693 class="classical-line"
6694 stroke-dasharray="8, 8"
6695 />
6696 <line
6697 x1="323"
6698 x2="323"
6699 y1="4631"
6700 y2="4636"
6701 class="classical-line"
6702 stroke-dasharray="8, 8"
6703 />
6704 <g class="classically-controlled-btn">
6705 <circle cx="323" cy="4616" r="15" />
6706 <text
6707 font-size="14"
6708 x="323"
6709 y="4616"
6710 text-anchor="start"
6711 dominant-baseline="middle"
6712 class="qs-maintext"
6713 >
6714 c
6715 <tspan baseline-shift="sub" font-size="65%">27</tspan>
6716 </text>
6717 </g>
6718 <rect
6719 class="classical-container"
6720 x="348"
6721 y="4466"
6722 width="105"
6723 height="284"
6724 fill-opacity="0"
6725 stroke-dasharray="8, 8"
6726 />
6727 <text
6728 font-size="14"
6729 x="358"
6730 y="4481"
6731 class="qs-maintext qs-group-label"
6732 >
6733 <tspan class="qs-mathtext">if</tspan>
6734 :
6735 <tspan class="qs-mathtext">c</tspan>
6736 <tspan baseline-shift="sub" font-size="65%">27</tspan>
6737 = |1〉
6738 </text>
6739 <g>
6740 <g
6741 class="gate"
6742 data-location="0,0-0,15-4,0-0,0"
6743 data-zoom-out="true"
6744 data-zoom-in="false"
6745 >
6746 <g>
6747 <g>
6748 <rect
6749 class="gate-unitary"
6750 x="358"
6751 y="4492"
6752 width="40"
6753 height="40"
6754 data-wire-ys="[4512]"
6755 data-width="40"
6756 style="cursor: grab"
6757 data-wire="29"
6758 />
6759 <text
6760 font-size="14"
6761 x="378"
6762 y="4512"
6763 class="qs-maintext"
6764 >
6765 <tspan class="qs-mathtext">H</tspan>
6766 </text>
6767 </g>
6768 </g>
6769 </g>
6770 <g
6771 class="gate"
6772 data-location="0,0-0,15-4,0-0,1"
6773 data-zoom-out="true"
6774 data-zoom-in="false"
6775 >
6776 <g>
6777 <rect
6778 class="gate-measure"
6779 x="358"
6780 y="4648"
6781 width="40"
6782 height="40"
6783 data-wire-ys="[4668]"
6784 data-width="40"
6785 style="cursor: grab"
6786 data-wire="31"
6787 />
6788 <path
6789 class="arc-measure"
6790 d="M 393 4670 A 15 12 0 0 0 363 4670"
6791 style="pointer-events: none"
6792 />
6793 <line
6794 x1="378"
6795 x2="390"
6796 y1="4676"
6797 y2="4656"
6798 class="qs-line-measure"
6799 style="pointer-events: none"
6800 />
6801 </g>
6802 </g>
6803 </g>
6804 </g>
6805 </g>
6806 <text
6807 font-size="14"
6808 x="100"
6809 y="4455"
6810 class="qs-maintext qs-group-label"
6811 >
6812 <tspan class="qs-mathtext">MeasurementInConditional</tspan>
6813 </text>
6814 <g class="gate-control gate-collapse">
6815 <circle cx="92" cy="4442" r="10" />
6816 <path d="M85,4442 h14" />
6817 </g>
6818 </g>
6819 <g
6820 class="gate"
6821 data-expanded="true"
6822 data-location="0,0-1,0"
6823 data-zoom-out="true"
6824 data-zoom-in="true"
6825 >
6826 <rect
6827 class="gate-unitary"
6828 x="896"
6829 y="72"
6830 width="410"
6831 height="268"
6832 fill-opacity="0"
6833 stroke-dasharray="8, 8"
6834 style="cursor: grab"
6835 />
6836 <g>
6837 <g
6838 class="gate"
6839 data-location="0,0-1,0-0,0"
6840 data-zoom-out="true"
6841 data-zoom-in="false"
6842 >
6843 <g>
6844 <g>
6845 <rect
6846 class="gate-unitary"
6847 x="906"
6848 y="124"
6849 width="40"
6850 height="40"
6851 data-wire-ys="[144]"
6852 data-width="40"
6853 style="cursor: grab"
6854 data-wire="0"
6855 />
6856 <text
6857 font-size="14"
6858 x="926"
6859 y="144"
6860 class="qs-maintext"
6861 >
6862 <tspan class="qs-mathtext">H</tspan>
6863 </text>
6864 </g>
6865 </g>
6866 </g>
6867 <g
6868 class="gate"
6869 data-location="0,0-1,0-1,0"
6870 data-zoom-out="true"
6871 data-zoom-in="false"
6872 >
6873 <g>
6874 <rect
6875 class="gate-measure"
6876 x="958"
6877 y="124"
6878 width="40"
6879 height="40"
6880 data-wire-ys="[144]"
6881 data-width="40"
6882 style="cursor: grab"
6883 data-wire="0"
6884 />
6885 <path
6886 class="arc-measure"
6887 d="M 993 146 A 15 12 0 0 0 963 146"
6888 style="pointer-events: none"
6889 />
6890 <line
6891 x1="978"
6892 x2="990"
6893 y1="152"
6894 y2="132"
6895 class="qs-line-measure"
6896 style="pointer-events: none"
6897 />
6898 </g>
6899 </g>
6900 <g
6901 class="gate"
6902 data-location="0,0-1,0-2,0"
6903 data-zoom-out="true"
6904 data-zoom-in="false"
6905 >
6906 <g>
6907 <rect
6908 class="gate-measure"
6909 x="1010"
6910 y="124"
6911 width="40"
6912 height="40"
6913 data-wire-ys="[144]"
6914 data-width="40"
6915 style="cursor: grab"
6916 data-wire="0"
6917 />
6918 <path
6919 class="arc-measure"
6920 d="M 1045 146 A 15 12 0 0 0 1015 146"
6921 style="pointer-events: none"
6922 />
6923 <line
6924 x1="1030"
6925 x2="1042"
6926 y1="152"
6927 y2="132"
6928 class="qs-line-measure"
6929 style="pointer-events: none"
6930 />
6931 </g>
6932 </g>
6933 <g
6934 class="classically-controlled-group"
6935 data-location="0,0-1,0-3,0"
6936 data-zoom-out="true"
6937 data-zoom-in="true"
6938 data-expanded="true"
6939 >
6940 <line
6941 x1="1077"
6942 x2="1102"
6943 y1="268"
6944 y2="268"
6945 class="classical-line"
6946 stroke-dasharray="8, 8"
6947 />
6948 <line
6949 x1="1077"
6950 x2="1077"
6951 y1="263"
6952 y2="268"
6953 class="classical-line"
6954 stroke-dasharray="8, 8"
6955 />
6956 <g class="classically-controlled-btn">
6957 <circle cx="1077" cy="248" r="15" />
6958 <text
6959 font-size="14"
6960 x="1077"
6961 y="248"
6962 text-anchor="start"
6963 dominant-baseline="middle"
6964 class="qs-maintext"
6965 >
6966 c
6967 <tspan baseline-shift="sub" font-size="65%">0</tspan>
6968 </text>
6969 </g>
6970 <line
6971 x1="1077"
6972 x2="1102"
6973 y1="320"
6974 y2="320"
6975 class="classical-line"
6976 stroke-dasharray="8, 8"
6977 />
6978 <line
6979 x1="1077"
6980 x2="1077"
6981 y1="315"
6982 y2="320"
6983 class="classical-line"
6984 stroke-dasharray="8, 8"
6985 />
6986 <g class="classically-controlled-btn">
6987 <circle cx="1077" cy="300" r="15" />
6988 <text
6989 font-size="14"
6990 x="1077"
6991 y="300"
6992 text-anchor="start"
6993 dominant-baseline="middle"
6994 class="qs-maintext"
6995 >
6996 c
6997 <tspan baseline-shift="sub" font-size="65%">1</tspan>
6998 </text>
6999 </g>
7000 <rect
7001 class="classical-container"
7002 x="1102"
7003 y="98"
7004 width="194"
7005 height="232"
7006 fill-opacity="0"
7007 stroke-dasharray="8, 8"
7008 />
7009 <text
7010 font-size="14"
7011 x="1112"
7012 y="113"
7013 class="qs-maintext qs-group-label"
7014 >
7015 <tspan class="qs-mathtext">if</tspan>
7016 :
7017 <tspan class="qs-mathtext">c</tspan>
7018 <tspan baseline-shift="sub" font-size="65%">0</tspan>
7019 = |1〉
7020 <tspan class="qs-mathtext">or</tspan>
7021 <tspan class="qs-mathtext">if</tspan>
7022 :
7023 <tspan class="qs-mathtext">c</tspan>
7024 <tspan baseline-shift="sub" font-size="65%">1</tspan>
7025 = |1〉
7026 </text>
7027 <g>
7028 <g
7029 class="gate"
7030 data-location="0,0-1,0-3,0-0,0"
7031 data-zoom-out="true"
7032 data-zoom-in="false"
7033 >
7034 <g
7035 class="oplus"
7036 data-wire-ys="[144]"
7037 data-width="30"
7038 style="cursor: grab"
7039 data-wire="0"
7040 >
7041 <circle cx="1132" cy="144" r="15" />
7042 <line x1="1132" x2="1132" y1="129" y2="159" />
7043 <line x1="1117" x2="1147" y1="144" y2="144" />
7044 </g>
7045 </g>
7046 </g>
7047 </g>
7048 </g>
7049 <text
7050 font-size="14"
7051 x="906"
7052 y="87"
7053 class="qs-maintext qs-group-label"
7054 >
7055 <tspan class="qs-mathtext">
7056 TwoMeasurementsOnSameQubit
7057 </tspan>
7058 </text>
7059 <g class="gate-control gate-collapse">
7060 <circle cx="898" cy="74" r="10" />
7061 <path d="M891,74 h14" />
7062 </g>
7063 </g>
7064 <g
7065 class="gate"
7066 data-location="0,0-2,0"
7067 data-zoom-out="true"
7068 data-zoom-in="false"
7069 >
7070 <g>
7071 <g>
7072 <rect
7073 class="gate-ket"
7074 x="1318"
7075 y="124"
7076 width="40"
7077 height="40"
7078 data-wire-ys="[144]"
7079 data-width="40"
7080 style="cursor: grab"
7081 data-wire="0"
7082 />
7083 <text
7084 font-size="14"
7085 x="1338"
7086 y="144"
7087 class="qs-maintext ket-text"
7088 >
7089 |0⟩
7090 </text>
7091 </g>
7092 </g>
7093 </g>
7094 <g
7095 class="gate"
7096 data-location="0,0-2,1"
7097 data-zoom-out="true"
7098 data-zoom-in="false"
7099 >
7100 <g>
7101 <g>
7102 <rect
7103 class="gate-ket"
7104 x="1318"
7105 y="404"
7106 width="40"
7107 height="40"
7108 data-wire-ys="[424]"
7109 data-width="40"
7110 style="cursor: grab"
7111 data-wire="1"
7112 />
7113 <text
7114 font-size="14"
7115 x="1338"
7116 y="424"
7117 class="qs-maintext ket-text"
7118 >
7119 |0⟩
7120 </text>
7121 </g>
7122 </g>
7123 </g>
7124 <g
7125 class="gate"
7126 data-location="0,0-2,2"
7127 data-zoom-out="true"
7128 data-zoom-in="false"
7129 >
7130 <g>
7131 <g>
7132 <rect
7133 class="gate-ket"
7134 x="1318"
7135 y="580"
7136 width="40"
7137 height="40"
7138 data-wire-ys="[600]"
7139 data-width="40"
7140 style="cursor: grab"
7141 data-wire="2"
7142 />
7143 <text
7144 font-size="14"
7145 x="1338"
7146 y="600"
7147 class="qs-maintext ket-text"
7148 >
7149 |0⟩
7150 </text>
7151 </g>
7152 </g>
7153 </g>
7154 <g
7155 class="gate"
7156 data-location="0,0-2,3"
7157 data-zoom-out="true"
7158 data-zoom-in="false"
7159 >
7160 <g>
7161 <g>
7162 <rect
7163 class="gate-ket"
7164 x="1318"
7165 y="756"
7166 width="40"
7167 height="40"
7168 data-wire-ys="[776]"
7169 data-width="40"
7170 style="cursor: grab"
7171 data-wire="3"
7172 />
7173 <text
7174 font-size="14"
7175 x="1338"
7176 y="776"
7177 class="qs-maintext ket-text"
7178 >
7179 |0⟩
7180 </text>
7181 </g>
7182 </g>
7183 </g>
7184 <g
7185 class="gate"
7186 data-location="0,0-2,4"
7187 data-zoom-out="true"
7188 data-zoom-in="false"
7189 >
7190 <g>
7191 <g>
7192 <rect
7193 class="gate-ket"
7194 x="1318"
7195 y="860"
7196 width="40"
7197 height="40"
7198 data-wire-ys="[880]"
7199 data-width="40"
7200 style="cursor: grab"
7201 data-wire="4"
7202 />
7203 <text
7204 font-size="14"
7205 x="1338"
7206 y="880"
7207 class="qs-maintext ket-text"
7208 >
7209 |0⟩
7210 </text>
7211 </g>
7212 </g>
7213 </g>
7214 <g
7215 class="gate"
7216 data-location="0,0-2,5"
7217 data-zoom-out="true"
7218 data-zoom-in="false"
7219 >
7220 <g>
7221 <g>
7222 <rect
7223 class="gate-ket"
7224 x="1318"
7225 y="1010"
7226 width="40"
7227 height="40"
7228 data-wire-ys="[1030]"
7229 data-width="40"
7230 style="cursor: grab"
7231 data-wire="5"
7232 />
7233 <text
7234 font-size="14"
7235 x="1338"
7236 y="1030"
7237 class="qs-maintext ket-text"
7238 >
7239 |0⟩
7240 </text>
7241 </g>
7242 </g>
7243 </g>
7244 <g
7245 class="gate"
7246 data-location="0,0-2,6"
7247 data-zoom-out="true"
7248 data-zoom-in="false"
7249 >
7250 <g>
7251 <g>
7252 <rect
7253 class="gate-ket"
7254 x="1318"
7255 y="1114"
7256 width="40"
7257 height="40"
7258 data-wire-ys="[1134]"
7259 data-width="40"
7260 style="cursor: grab"
7261 data-wire="6"
7262 />
7263 <text
7264 font-size="14"
7265 x="1338"
7266 y="1134"
7267 class="qs-maintext ket-text"
7268 >
7269 |0⟩
7270 </text>
7271 </g>
7272 </g>
7273 </g>
7274 <g
7275 class="gate"
7276 data-location="0,0-2,7"
7277 data-zoom-out="true"
7278 data-zoom-in="false"
7279 >
7280 <g>
7281 <g>
7282 <rect
7283 class="gate-ket"
7284 x="1318"
7285 y="1280"
7286 width="40"
7287 height="40"
7288 data-wire-ys="[1300]"
7289 data-width="40"
7290 style="cursor: grab"
7291 data-wire="7"
7292 />
7293 <text
7294 font-size="14"
7295 x="1338"
7296 y="1300"
7297 class="qs-maintext ket-text"
7298 >
7299 |0⟩
7300 </text>
7301 </g>
7302 </g>
7303 </g>
7304 <g
7305 class="gate"
7306 data-location="0,0-2,8"
7307 data-zoom-out="true"
7308 data-zoom-in="false"
7309 >
7310 <g>
7311 <g>
7312 <rect
7313 class="gate-ket"
7314 x="1318"
7315 y="1384"
7316 width="40"
7317 height="40"
7318 data-wire-ys="[1404]"
7319 data-width="40"
7320 style="cursor: grab"
7321 data-wire="8"
7322 />
7323 <text
7324 font-size="14"
7325 x="1338"
7326 y="1404"
7327 class="qs-maintext ket-text"
7328 >
7329 |0⟩
7330 </text>
7331 </g>
7332 </g>
7333 </g>
7334 <g
7335 class="gate"
7336 data-location="0,0-2,9"
7337 data-zoom-out="true"
7338 data-zoom-in="false"
7339 >
7340 <g>
7341 <g>
7342 <rect
7343 class="gate-ket"
7344 x="1318"
7345 y="1560"
7346 width="40"
7347 height="40"
7348 data-wire-ys="[1580]"
7349 data-width="40"
7350 style="cursor: grab"
7351 data-wire="9"
7352 />
7353 <text
7354 font-size="14"
7355 x="1338"
7356 y="1580"
7357 class="qs-maintext ket-text"
7358 >
7359 |0⟩
7360 </text>
7361 </g>
7362 </g>
7363 </g>
7364 <g
7365 class="gate"
7366 data-location="0,0-2,10"
7367 data-zoom-out="true"
7368 data-zoom-in="false"
7369 >
7370 <g>
7371 <g>
7372 <rect
7373 class="gate-ket"
7374 x="1318"
7375 y="1690"
7376 width="40"
7377 height="40"
7378 data-wire-ys="[1710]"
7379 data-width="40"
7380 style="cursor: grab"
7381 data-wire="10"
7382 />
7383 <text
7384 font-size="14"
7385 x="1338"
7386 y="1710"
7387 class="qs-maintext ket-text"
7388 >
7389 |0⟩
7390 </text>
7391 </g>
7392 </g>
7393 </g>
7394 <g
7395 class="gate"
7396 data-location="0,0-2,11"
7397 data-zoom-out="true"
7398 data-zoom-in="false"
7399 >
7400 <g>
7401 <g>
7402 <rect
7403 class="gate-ket"
7404 x="1318"
7405 y="1794"
7406 width="40"
7407 height="40"
7408 data-wire-ys="[1814]"
7409 data-width="40"
7410 style="cursor: grab"
7411 data-wire="11"
7412 />
7413 <text
7414 font-size="14"
7415 x="1338"
7416 y="1814"
7417 class="qs-maintext ket-text"
7418 >
7419 |0⟩
7420 </text>
7421 </g>
7422 </g>
7423 </g>
7424 <g
7425 class="gate"
7426 data-location="0,0-2,12"
7427 data-zoom-out="true"
7428 data-zoom-in="false"
7429 >
7430 <g>
7431 <g>
7432 <rect
7433 class="gate-ket"
7434 x="1318"
7435 y="1996"
7436 width="40"
7437 height="40"
7438 data-wire-ys="[2016]"
7439 data-width="40"
7440 style="cursor: grab"
7441 data-wire="12"
7442 />
7443 <text
7444 font-size="14"
7445 x="1338"
7446 y="2016"
7447 class="qs-maintext ket-text"
7448 >
7449 |0⟩
7450 </text>
7451 </g>
7452 </g>
7453 </g>
7454 <g
7455 class="gate"
7456 data-location="0,0-2,13"
7457 data-zoom-out="true"
7458 data-zoom-in="false"
7459 >
7460 <g>
7461 <g>
7462 <rect
7463 class="gate-ket"
7464 x="1318"
7465 y="2100"
7466 width="40"
7467 height="40"
7468 data-wire-ys="[2120]"
7469 data-width="40"
7470 style="cursor: grab"
7471 data-wire="13"
7472 />
7473 <text
7474 font-size="14"
7475 x="1338"
7476 y="2120"
7477 class="qs-maintext ket-text"
7478 >
7479 |0⟩
7480 </text>
7481 </g>
7482 </g>
7483 </g>
7484 <g
7485 class="gate"
7486 data-location="0,0-2,14"
7487 data-zoom-out="true"
7488 data-zoom-in="false"
7489 >
7490 <g>
7491 <g>
7492 <rect
7493 class="gate-ket"
7494 x="1318"
7495 y="2204"
7496 width="40"
7497 height="40"
7498 data-wire-ys="[2224]"
7499 data-width="40"
7500 style="cursor: grab"
7501 data-wire="14"
7502 />
7503 <text
7504 font-size="14"
7505 x="1338"
7506 y="2224"
7507 class="qs-maintext ket-text"
7508 >
7509 |0⟩
7510 </text>
7511 </g>
7512 </g>
7513 </g>
7514 <g
7515 class="gate"
7516 data-location="0,0-2,15"
7517 data-zoom-out="true"
7518 data-zoom-in="false"
7519 >
7520 <g>
7521 <g>
7522 <rect
7523 class="gate-ket"
7524 x="1318"
7525 y="2390"
7526 width="40"
7527 height="40"
7528 data-wire-ys="[2410]"
7529 data-width="40"
7530 style="cursor: grab"
7531 data-wire="15"
7532 />
7533 <text
7534 font-size="14"
7535 x="1338"
7536 y="2410"
7537 class="qs-maintext ket-text"
7538 >
7539 |0⟩
7540 </text>
7541 </g>
7542 </g>
7543 </g>
7544 <g
7545 class="gate"
7546 data-location="0,0-2,16"
7547 data-zoom-out="true"
7548 data-zoom-in="false"
7549 >
7550 <g>
7551 <g>
7552 <rect
7553 class="gate-ket"
7554 x="1318"
7555 y="2494"
7556 width="40"
7557 height="40"
7558 data-wire-ys="[2514]"
7559 data-width="40"
7560 style="cursor: grab"
7561 data-wire="16"
7562 />
7563 <text
7564 font-size="14"
7565 x="1338"
7566 y="2514"
7567 class="qs-maintext ket-text"
7568 >
7569 |0⟩
7570 </text>
7571 </g>
7572 </g>
7573 </g>
7574 <g
7575 class="gate"
7576 data-location="0,0-2,17"
7577 data-zoom-out="true"
7578 data-zoom-in="false"
7579 >
7580 <g>
7581 <g>
7582 <rect
7583 class="gate-ket"
7584 x="1318"
7585 y="2670"
7586 width="40"
7587 height="40"
7588 data-wire-ys="[2690]"
7589 data-width="40"
7590 style="cursor: grab"
7591 data-wire="17"
7592 />
7593 <text
7594 font-size="14"
7595 x="1338"
7596 y="2690"
7597 class="qs-maintext ket-text"
7598 >
7599 |0⟩
7600 </text>
7601 </g>
7602 </g>
7603 </g>
7604 <g
7605 class="gate"
7606 data-location="0,0-2,18"
7607 data-zoom-out="true"
7608 data-zoom-in="false"
7609 >
7610 <g>
7611 <g>
7612 <rect
7613 class="gate-ket"
7614 x="1318"
7615 y="2846"
7616 width="40"
7617 height="40"
7618 data-wire-ys="[2866]"
7619 data-width="40"
7620 style="cursor: grab"
7621 data-wire="18"
7622 />
7623 <text
7624 font-size="14"
7625 x="1338"
7626 y="2866"
7627 class="qs-maintext ket-text"
7628 >
7629 |0⟩
7630 </text>
7631 </g>
7632 </g>
7633 </g>
7634 <g
7635 class="gate"
7636 data-location="0,0-2,19"
7637 data-zoom-out="true"
7638 data-zoom-in="false"
7639 >
7640 <g>
7641 <g>
7642 <rect
7643 class="gate-ket"
7644 x="1318"
7645 y="2950"
7646 width="40"
7647 height="40"
7648 data-wire-ys="[2970]"
7649 data-width="40"
7650 style="cursor: grab"
7651 data-wire="19"
7652 />
7653 <text
7654 font-size="14"
7655 x="1338"
7656 y="2970"
7657 class="qs-maintext ket-text"
7658 >
7659 |0⟩
7660 </text>
7661 </g>
7662 </g>
7663 </g>
7664 <g
7665 class="gate"
7666 data-location="0,0-2,20"
7667 data-zoom-out="true"
7668 data-zoom-in="false"
7669 >
7670 <g>
7671 <g>
7672 <rect
7673 class="gate-ket"
7674 x="1318"
7675 y="3126"
7676 width="40"
7677 height="40"
7678 data-wire-ys="[3146]"
7679 data-width="40"
7680 style="cursor: grab"
7681 data-wire="20"
7682 />
7683 <text
7684 font-size="14"
7685 x="1338"
7686 y="3146"
7687 class="qs-maintext ket-text"
7688 >
7689 |0⟩
7690 </text>
7691 </g>
7692 </g>
7693 </g>
7694 <g
7695 class="gate"
7696 data-location="0,0-2,21"
7697 data-zoom-out="true"
7698 data-zoom-in="false"
7699 >
7700 <g>
7701 <g>
7702 <rect
7703 class="gate-ket"
7704 x="1318"
7705 y="3230"
7706 width="40"
7707 height="40"
7708 data-wire-ys="[3250]"
7709 data-width="40"
7710 style="cursor: grab"
7711 data-wire="21"
7712 />
7713 <text
7714 font-size="14"
7715 x="1338"
7716 y="3250"
7717 class="qs-maintext ket-text"
7718 >
7719 |0⟩
7720 </text>
7721 </g>
7722 </g>
7723 </g>
7724 <g
7725 class="gate"
7726 data-location="0,0-2,22"
7727 data-zoom-out="true"
7728 data-zoom-in="false"
7729 >
7730 <g>
7731 <g>
7732 <rect
7733 class="gate-ket"
7734 x="1318"
7735 y="3458"
7736 width="40"
7737 height="40"
7738 data-wire-ys="[3478]"
7739 data-width="40"
7740 style="cursor: grab"
7741 data-wire="22"
7742 />
7743 <text
7744 font-size="14"
7745 x="1338"
7746 y="3478"
7747 class="qs-maintext ket-text"
7748 >
7749 |0⟩
7750 </text>
7751 </g>
7752 </g>
7753 </g>
7754 <g
7755 class="gate"
7756 data-location="0,0-2,23"
7757 data-zoom-out="true"
7758 data-zoom-in="false"
7759 >
7760 <g>
7761 <g>
7762 <rect
7763 class="gate-ket"
7764 x="1318"
7765 y="3530"
7766 width="40"
7767 height="40"
7768 data-wire-ys="[3550]"
7769 data-width="40"
7770 style="cursor: grab"
7771 data-wire="23"
7772 />
7773 <text
7774 font-size="14"
7775 x="1338"
7776 y="3550"
7777 class="qs-maintext ket-text"
7778 >
7779 |0⟩
7780 </text>
7781 </g>
7782 </g>
7783 </g>
7784 <g
7785 class="gate"
7786 data-location="0,0-2,24"
7787 data-zoom-out="true"
7788 data-zoom-in="false"
7789 >
7790 <g>
7791 <g>
7792 <rect
7793 class="gate-ket"
7794 x="1318"
7795 y="3758"
7796 width="40"
7797 height="40"
7798 data-wire-ys="[3778]"
7799 data-width="40"
7800 style="cursor: grab"
7801 data-wire="24"
7802 />
7803 <text
7804 font-size="14"
7805 x="1338"
7806 y="3778"
7807 class="qs-maintext ket-text"
7808 >
7809 |0⟩
7810 </text>
7811 </g>
7812 </g>
7813 </g>
7814 <g
7815 class="gate"
7816 data-location="0,0-2,25"
7817 data-zoom-out="true"
7818 data-zoom-in="false"
7819 >
7820 <g>
7821 <g>
7822 <rect
7823 class="gate-ket"
7824 x="1318"
7825 y="3840"
7826 width="40"
7827 height="40"
7828 data-wire-ys="[3860]"
7829 data-width="40"
7830 style="cursor: grab"
7831 data-wire="25"
7832 />
7833 <text
7834 font-size="14"
7835 x="1338"
7836 y="3860"
7837 class="qs-maintext ket-text"
7838 >
7839 |0⟩
7840 </text>
7841 </g>
7842 </g>
7843 </g>
7844 <g
7845 class="gate"
7846 data-location="0,0-2,26"
7847 data-zoom-out="true"
7848 data-zoom-in="false"
7849 >
7850 <g>
7851 <g>
7852 <rect
7853 class="gate-ket"
7854 x="1318"
7855 y="4140"
7856 width="40"
7857 height="40"
7858 data-wire-ys="[4160]"
7859 data-width="40"
7860 style="cursor: grab"
7861 data-wire="26"
7862 />
7863 <text
7864 font-size="14"
7865 x="1338"
7866 y="4160"
7867 class="qs-maintext ket-text"
7868 >
7869 |0⟩
7870 </text>
7871 </g>
7872 </g>
7873 </g>
7874 <g
7875 class="gate"
7876 data-location="0,0-2,27"
7877 data-zoom-out="true"
7878 data-zoom-in="false"
7879 >
7880 <g>
7881 <g>
7882 <rect
7883 class="gate-ket"
7884 x="1318"
7885 y="4192"
7886 width="40"
7887 height="40"
7888 data-wire-ys="[4212]"
7889 data-width="40"
7890 style="cursor: grab"
7891 data-wire="27"
7892 />
7893 <text
7894 font-size="14"
7895 x="1338"
7896 y="4212"
7897 class="qs-maintext ket-text"
7898 >
7899 |0⟩
7900 </text>
7901 </g>
7902 </g>
7903 </g>
7904 <g
7905 class="gate"
7906 data-location="0,0-2,28"
7907 data-zoom-out="true"
7908 data-zoom-in="false"
7909 >
7910 <g>
7911 <g>
7912 <rect
7913 class="gate-ket"
7914 x="1318"
7915 y="4296"
7916 width="40"
7917 height="40"
7918 data-wire-ys="[4316]"
7919 data-width="40"
7920 style="cursor: grab"
7921 data-wire="28"
7922 />
7923 <text
7924 font-size="14"
7925 x="1338"
7926 y="4316"
7927 class="qs-maintext ket-text"
7928 >
7929 |0⟩
7930 </text>
7931 </g>
7932 </g>
7933 </g>
7934 <g
7935 class="gate"
7936 data-location="0,0-2,29"
7937 data-zoom-out="true"
7938 data-zoom-in="false"
7939 >
7940 <g>
7941 <g>
7942 <rect
7943 class="gate-ket"
7944 x="1318"
7945 y="4492"
7946 width="40"
7947 height="40"
7948 data-wire-ys="[4512]"
7949 data-width="40"
7950 style="cursor: grab"
7951 data-wire="29"
7952 />
7953 <text
7954 font-size="14"
7955 x="1338"
7956 y="4512"
7957 class="qs-maintext ket-text"
7958 >
7959 |0⟩
7960 </text>
7961 </g>
7962 </g>
7963 </g>
7964 <g
7965 class="gate"
7966 data-location="0,0-2,30"
7967 data-zoom-out="true"
7968 data-zoom-in="false"
7969 >
7970 <g>
7971 <g>
7972 <rect
7973 class="gate-ket"
7974 x="1318"
7975 y="4544"
7976 width="40"
7977 height="40"
7978 data-wire-ys="[4564]"
7979 data-width="40"
7980 style="cursor: grab"
7981 data-wire="30"
7982 />
7983 <text
7984 font-size="14"
7985 x="1338"
7986 y="4564"
7987 class="qs-maintext ket-text"
7988 >
7989 |0⟩
7990 </text>
7991 </g>
7992 </g>
7993 </g>
7994 <g
7995 class="gate"
7996 data-location="0,0-2,31"
7997 data-zoom-out="true"
7998 data-zoom-in="false"
7999 >
8000 <g>
8001 <g>
8002 <rect
8003 class="gate-ket"
8004 x="1318"
8005 y="4648"
8006 width="40"
8007 height="40"
8008 data-wire-ys="[4668]"
8009 data-width="40"
8010 style="cursor: grab"
8011 data-wire="31"
8012 />
8013 <text
8014 font-size="14"
8015 x="1338"
8016 y="4668"
8017 class="qs-maintext ket-text"
8018 >
8019 |0⟩
8020 </text>
8021 </g>
8022 </g>
8023 </g>
8024 </g>
8025 <text
8026 font-size="14"
8027 x="90"
8028 y="61"
8029 class="qs-maintext qs-group-label"
8030 >
8031 <tspan class="qs-mathtext">Main</tspan>
8032 </text>
8033 <g class="gate-control gate-collapse">
8034 <circle cx="82" cy="48" r="10" />
8035 <path d="M75,48 h14" />
8036 </g>
8037 </g>
8038 </g>
8039 <g class="ghost-qubit-layer" style="display: none">
8040 <line
8041 x1="40"
8042 x2="1386"
8043 y1="4800"
8044 y2="4800"
8045 class="qubit-wire ghost-opacity"
8046 />
8047 <text
8048 font-size="16"
8049 x="20"
8050 y="4800"
8051 text-anchor="start"
8052 dominant-baseline="middle"
8053 data-wire="32"
8054 class="qs-maintext qs-qubit-label ghost-opacity"
8055 >
8056 |
8057 <tspan class="qs-mathtext">ψ</tspan>
8058 <tspan baseline-shift="sub" font-size="65%">32</tspan>
8059
8060 </text>
8061 </g>
8062 <g class="dropzone-layer" style="display: none">
8063 <rect
8064 class="dropzone"
8065 x="62"
8066 y="124"
8067 width="24"
8068 height="40"
8069 data-dropzone-location="0,0"
8070 data-dropzone-wire="0"
8071 data-dropzone-inter-column="true"
8072 />
8073 <rect
8074 class="dropzone"
8075 x="62"
8076 y="404"
8077 width="24"
8078 height="40"
8079 data-dropzone-location="0,0"
8080 data-dropzone-wire="1"
8081 data-dropzone-inter-column="true"
8082 />
8083 <rect
8084 class="dropzone"
8085 x="62"
8086 y="580"
8087 width="24"
8088 height="40"
8089 data-dropzone-location="0,0"
8090 data-dropzone-wire="2"
8091 data-dropzone-inter-column="true"
8092 />
8093 <rect
8094 class="dropzone"
8095 x="62"
8096 y="756"
8097 width="24"
8098 height="40"
8099 data-dropzone-location="0,0"
8100 data-dropzone-wire="3"
8101 data-dropzone-inter-column="true"
8102 />
8103 <rect
8104 class="dropzone"
8105 x="62"
8106 y="860"
8107 width="24"
8108 height="40"
8109 data-dropzone-location="0,0"
8110 data-dropzone-wire="4"
8111 data-dropzone-inter-column="true"
8112 />
8113 <rect
8114 class="dropzone"
8115 x="62"
8116 y="1010"
8117 width="24"
8118 height="40"
8119 data-dropzone-location="0,0"
8120 data-dropzone-wire="5"
8121 data-dropzone-inter-column="true"
8122 />
8123 <rect
8124 class="dropzone"
8125 x="62"
8126 y="1114"
8127 width="24"
8128 height="40"
8129 data-dropzone-location="0,0"
8130 data-dropzone-wire="6"
8131 data-dropzone-inter-column="true"
8132 />
8133 <rect
8134 class="dropzone"
8135 x="62"
8136 y="1280"
8137 width="24"
8138 height="40"
8139 data-dropzone-location="0,0"
8140 data-dropzone-wire="7"
8141 data-dropzone-inter-column="true"
8142 />
8143 <rect
8144 class="dropzone"
8145 x="62"
8146 y="1384"
8147 width="24"
8148 height="40"
8149 data-dropzone-location="0,0"
8150 data-dropzone-wire="8"
8151 data-dropzone-inter-column="true"
8152 />
8153 <rect
8154 class="dropzone"
8155 x="62"
8156 y="1560"
8157 width="24"
8158 height="40"
8159 data-dropzone-location="0,0"
8160 data-dropzone-wire="9"
8161 data-dropzone-inter-column="true"
8162 />
8163 <rect
8164 class="dropzone"
8165 x="62"
8166 y="1690"
8167 width="24"
8168 height="40"
8169 data-dropzone-location="0,0"
8170 data-dropzone-wire="10"
8171 data-dropzone-inter-column="true"
8172 />
8173 <rect
8174 class="dropzone"
8175 x="62"
8176 y="1794"
8177 width="24"
8178 height="40"
8179 data-dropzone-location="0,0"
8180 data-dropzone-wire="11"
8181 data-dropzone-inter-column="true"
8182 />
8183 <rect
8184 class="dropzone"
8185 x="62"
8186 y="1996"
8187 width="24"
8188 height="40"
8189 data-dropzone-location="0,0"
8190 data-dropzone-wire="12"
8191 data-dropzone-inter-column="true"
8192 />
8193 <rect
8194 class="dropzone"
8195 x="62"
8196 y="2100"
8197 width="24"
8198 height="40"
8199 data-dropzone-location="0,0"
8200 data-dropzone-wire="13"
8201 data-dropzone-inter-column="true"
8202 />
8203 <rect
8204 class="dropzone"
8205 x="62"
8206 y="2204"
8207 width="24"
8208 height="40"
8209 data-dropzone-location="0,0"
8210 data-dropzone-wire="14"
8211 data-dropzone-inter-column="true"
8212 />
8213 <rect
8214 class="dropzone"
8215 x="62"
8216 y="2390"
8217 width="24"
8218 height="40"
8219 data-dropzone-location="0,0"
8220 data-dropzone-wire="15"
8221 data-dropzone-inter-column="true"
8222 />
8223 <rect
8224 class="dropzone"
8225 x="62"
8226 y="2494"
8227 width="24"
8228 height="40"
8229 data-dropzone-location="0,0"
8230 data-dropzone-wire="16"
8231 data-dropzone-inter-column="true"
8232 />
8233 <rect
8234 class="dropzone"
8235 x="62"
8236 y="2670"
8237 width="24"
8238 height="40"
8239 data-dropzone-location="0,0"
8240 data-dropzone-wire="17"
8241 data-dropzone-inter-column="true"
8242 />
8243 <rect
8244 class="dropzone"
8245 x="62"
8246 y="2846"
8247 width="24"
8248 height="40"
8249 data-dropzone-location="0,0"
8250 data-dropzone-wire="18"
8251 data-dropzone-inter-column="true"
8252 />
8253 <rect
8254 class="dropzone"
8255 x="62"
8256 y="2950"
8257 width="24"
8258 height="40"
8259 data-dropzone-location="0,0"
8260 data-dropzone-wire="19"
8261 data-dropzone-inter-column="true"
8262 />
8263 <rect
8264 class="dropzone"
8265 x="62"
8266 y="3126"
8267 width="24"
8268 height="40"
8269 data-dropzone-location="0,0"
8270 data-dropzone-wire="20"
8271 data-dropzone-inter-column="true"
8272 />
8273 <rect
8274 class="dropzone"
8275 x="62"
8276 y="3230"
8277 width="24"
8278 height="40"
8279 data-dropzone-location="0,0"
8280 data-dropzone-wire="21"
8281 data-dropzone-inter-column="true"
8282 />
8283 <rect
8284 class="dropzone"
8285 x="62"
8286 y="3458"
8287 width="24"
8288 height="40"
8289 data-dropzone-location="0,0"
8290 data-dropzone-wire="22"
8291 data-dropzone-inter-column="true"
8292 />
8293 <rect
8294 class="dropzone"
8295 x="62"
8296 y="3530"
8297 width="24"
8298 height="40"
8299 data-dropzone-location="0,0"
8300 data-dropzone-wire="23"
8301 data-dropzone-inter-column="true"
8302 />
8303 <rect
8304 class="dropzone"
8305 x="62"
8306 y="3758"
8307 width="24"
8308 height="40"
8309 data-dropzone-location="0,0"
8310 data-dropzone-wire="24"
8311 data-dropzone-inter-column="true"
8312 />
8313 <rect
8314 class="dropzone"
8315 x="62"
8316 y="3840"
8317 width="24"
8318 height="40"
8319 data-dropzone-location="0,0"
8320 data-dropzone-wire="25"
8321 data-dropzone-inter-column="true"
8322 />
8323 <rect
8324 class="dropzone"
8325 x="62"
8326 y="4140"
8327 width="24"
8328 height="40"
8329 data-dropzone-location="0,0"
8330 data-dropzone-wire="26"
8331 data-dropzone-inter-column="true"
8332 />
8333 <rect
8334 class="dropzone"
8335 x="62"
8336 y="4192"
8337 width="24"
8338 height="40"
8339 data-dropzone-location="0,0"
8340 data-dropzone-wire="27"
8341 data-dropzone-inter-column="true"
8342 />
8343 <rect
8344 class="dropzone"
8345 x="62"
8346 y="4296"
8347 width="24"
8348 height="40"
8349 data-dropzone-location="0,0"
8350 data-dropzone-wire="28"
8351 data-dropzone-inter-column="true"
8352 />
8353 <rect
8354 class="dropzone"
8355 x="62"
8356 y="4492"
8357 width="24"
8358 height="40"
8359 data-dropzone-location="0,0"
8360 data-dropzone-wire="29"
8361 data-dropzone-inter-column="true"
8362 />
8363 <rect
8364 class="dropzone"
8365 x="62"
8366 y="4544"
8367 width="24"
8368 height="40"
8369 data-dropzone-location="0,0"
8370 data-dropzone-wire="30"
8371 data-dropzone-inter-column="true"
8372 />
8373 <rect
8374 class="dropzone"
8375 x="62"
8376 y="4648"
8377 width="24"
8378 height="40"
8379 data-dropzone-location="0,0"
8380 data-dropzone-wire="31"
8381 data-dropzone-inter-column="true"
8382 />
8383 <rect
8384 class="dropzone"
8385 x="62"
8386 y="4780"
8387 width="24"
8388 height="40"
8389 data-dropzone-location="0,1"
8390 data-dropzone-wire="32"
8391 data-dropzone-inter-column="true"
8392 />
8393 <rect
8394 class="dropzone"
8395 x="80"
8396 y="4780"
8397 width="40"
8398 height="40"
8399 data-dropzone-location="0,1"
8400 data-dropzone-wire="32"
8401 data-dropzone-inter-column="false"
8402 />
8403 <rect
8404 class="dropzone"
8405 x="114"
8406 y="124"
8407 width="24"
8408 height="40"
8409 data-dropzone-location="1,0"
8410 data-dropzone-wire="0"
8411 data-dropzone-inter-column="false"
8412 />
8413 <rect
8414 class="dropzone"
8415 x="114"
8416 y="404"
8417 width="24"
8418 height="40"
8419 data-dropzone-location="1,0"
8420 data-dropzone-wire="1"
8421 data-dropzone-inter-column="false"
8422 />
8423 <rect
8424 class="dropzone"
8425 x="114"
8426 y="580"
8427 width="24"
8428 height="40"
8429 data-dropzone-location="1,0"
8430 data-dropzone-wire="2"
8431 data-dropzone-inter-column="false"
8432 />
8433 <rect
8434 class="dropzone"
8435 x="114"
8436 y="756"
8437 width="24"
8438 height="40"
8439 data-dropzone-location="1,0"
8440 data-dropzone-wire="3"
8441 data-dropzone-inter-column="false"
8442 />
8443 <rect
8444 class="dropzone"
8445 x="114"
8446 y="860"
8447 width="24"
8448 height="40"
8449 data-dropzone-location="1,0"
8450 data-dropzone-wire="4"
8451 data-dropzone-inter-column="false"
8452 />
8453 <rect
8454 class="dropzone"
8455 x="114"
8456 y="1010"
8457 width="24"
8458 height="40"
8459 data-dropzone-location="1,0"
8460 data-dropzone-wire="5"
8461 data-dropzone-inter-column="false"
8462 />
8463 <rect
8464 class="dropzone"
8465 x="114"
8466 y="1114"
8467 width="24"
8468 height="40"
8469 data-dropzone-location="1,0"
8470 data-dropzone-wire="6"
8471 data-dropzone-inter-column="false"
8472 />
8473 <rect
8474 class="dropzone"
8475 x="114"
8476 y="1280"
8477 width="24"
8478 height="40"
8479 data-dropzone-location="1,0"
8480 data-dropzone-wire="7"
8481 data-dropzone-inter-column="false"
8482 />
8483 <rect
8484 class="dropzone"
8485 x="114"
8486 y="1384"
8487 width="24"
8488 height="40"
8489 data-dropzone-location="1,0"
8490 data-dropzone-wire="8"
8491 data-dropzone-inter-column="false"
8492 />
8493 <rect
8494 class="dropzone"
8495 x="114"
8496 y="1560"
8497 width="24"
8498 height="40"
8499 data-dropzone-location="1,0"
8500 data-dropzone-wire="9"
8501 data-dropzone-inter-column="false"
8502 />
8503 <rect
8504 class="dropzone"
8505 x="114"
8506 y="1690"
8507 width="24"
8508 height="40"
8509 data-dropzone-location="1,0"
8510 data-dropzone-wire="10"
8511 data-dropzone-inter-column="false"
8512 />
8513 <rect
8514 class="dropzone"
8515 x="114"
8516 y="1794"
8517 width="24"
8518 height="40"
8519 data-dropzone-location="1,0"
8520 data-dropzone-wire="11"
8521 data-dropzone-inter-column="false"
8522 />
8523 <rect
8524 class="dropzone"
8525 x="114"
8526 y="1996"
8527 width="24"
8528 height="40"
8529 data-dropzone-location="1,0"
8530 data-dropzone-wire="12"
8531 data-dropzone-inter-column="false"
8532 />
8533 <rect
8534 class="dropzone"
8535 x="114"
8536 y="2100"
8537 width="24"
8538 height="40"
8539 data-dropzone-location="1,0"
8540 data-dropzone-wire="13"
8541 data-dropzone-inter-column="false"
8542 />
8543 <rect
8544 class="dropzone"
8545 x="114"
8546 y="2204"
8547 width="24"
8548 height="40"
8549 data-dropzone-location="1,0"
8550 data-dropzone-wire="14"
8551 data-dropzone-inter-column="false"
8552 />
8553 <rect
8554 class="dropzone"
8555 x="114"
8556 y="2390"
8557 width="24"
8558 height="40"
8559 data-dropzone-location="1,0"
8560 data-dropzone-wire="15"
8561 data-dropzone-inter-column="false"
8562 />
8563 <rect
8564 class="dropzone"
8565 x="114"
8566 y="2494"
8567 width="24"
8568 height="40"
8569 data-dropzone-location="1,0"
8570 data-dropzone-wire="16"
8571 data-dropzone-inter-column="false"
8572 />
8573 <rect
8574 class="dropzone"
8575 x="114"
8576 y="2670"
8577 width="24"
8578 height="40"
8579 data-dropzone-location="1,0"
8580 data-dropzone-wire="17"
8581 data-dropzone-inter-column="false"
8582 />
8583 <rect
8584 class="dropzone"
8585 x="114"
8586 y="2846"
8587 width="24"
8588 height="40"
8589 data-dropzone-location="1,0"
8590 data-dropzone-wire="18"
8591 data-dropzone-inter-column="false"
8592 />
8593 <rect
8594 class="dropzone"
8595 x="114"
8596 y="2950"
8597 width="24"
8598 height="40"
8599 data-dropzone-location="1,0"
8600 data-dropzone-wire="19"
8601 data-dropzone-inter-column="false"
8602 />
8603 <rect
8604 class="dropzone"
8605 x="114"
8606 y="3126"
8607 width="24"
8608 height="40"
8609 data-dropzone-location="1,0"
8610 data-dropzone-wire="20"
8611 data-dropzone-inter-column="false"
8612 />
8613 <rect
8614 class="dropzone"
8615 x="114"
8616 y="3230"
8617 width="24"
8618 height="40"
8619 data-dropzone-location="1,0"
8620 data-dropzone-wire="21"
8621 data-dropzone-inter-column="false"
8622 />
8623 <rect
8624 class="dropzone"
8625 x="114"
8626 y="3458"
8627 width="24"
8628 height="40"
8629 data-dropzone-location="1,0"
8630 data-dropzone-wire="22"
8631 data-dropzone-inter-column="false"
8632 />
8633 <rect
8634 class="dropzone"
8635 x="114"
8636 y="3530"
8637 width="24"
8638 height="40"
8639 data-dropzone-location="1,0"
8640 data-dropzone-wire="23"
8641 data-dropzone-inter-column="false"
8642 />
8643 <rect
8644 class="dropzone"
8645 x="114"
8646 y="3758"
8647 width="24"
8648 height="40"
8649 data-dropzone-location="1,0"
8650 data-dropzone-wire="24"
8651 data-dropzone-inter-column="false"
8652 />
8653 <rect
8654 class="dropzone"
8655 x="114"
8656 y="3840"
8657 width="24"
8658 height="40"
8659 data-dropzone-location="1,0"
8660 data-dropzone-wire="25"
8661 data-dropzone-inter-column="false"
8662 />
8663 <rect
8664 class="dropzone"
8665 x="114"
8666 y="4140"
8667 width="24"
8668 height="40"
8669 data-dropzone-location="1,0"
8670 data-dropzone-wire="26"
8671 data-dropzone-inter-column="false"
8672 />
8673 <rect
8674 class="dropzone"
8675 x="114"
8676 y="4192"
8677 width="24"
8678 height="40"
8679 data-dropzone-location="1,0"
8680 data-dropzone-wire="27"
8681 data-dropzone-inter-column="false"
8682 />
8683 <rect
8684 class="dropzone"
8685 x="114"
8686 y="4296"
8687 width="24"
8688 height="40"
8689 data-dropzone-location="1,0"
8690 data-dropzone-wire="28"
8691 data-dropzone-inter-column="false"
8692 />
8693 <rect
8694 class="dropzone"
8695 x="114"
8696 y="4492"
8697 width="24"
8698 height="40"
8699 data-dropzone-location="1,0"
8700 data-dropzone-wire="29"
8701 data-dropzone-inter-column="false"
8702 />
8703 <rect
8704 class="dropzone"
8705 x="114"
8706 y="4544"
8707 width="24"
8708 height="40"
8709 data-dropzone-location="1,0"
8710 data-dropzone-wire="30"
8711 data-dropzone-inter-column="false"
8712 />
8713 <rect
8714 class="dropzone"
8715 x="114"
8716 y="4648"
8717 width="24"
8718 height="40"
8719 data-dropzone-location="1,0"
8720 data-dropzone-wire="31"
8721 data-dropzone-inter-column="false"
8722 />
8723 <rect
8724 class="dropzone"
8725 x="114"
8726 y="4780"
8727 width="24"
8728 height="40"
8729 data-dropzone-location="1,0"
8730 data-dropzone-wire="32"
8731 data-dropzone-inter-column="false"
8732 />
8733 </g>
8734 </svg>
8735 </div>
8736 <div class="state-panel collapsed">
8737 <div
8738 class="state-edge"
8739 role="button"
8740 tabindex="0"
8741 aria-label="Toggle state panel"
8742 aria-expanded="false"
8743 >
8744 <span class="state-edge-text">State Visualization</span
8745 ><svg
8746 xmlns="http://www.w3.org/2000/svg"
8747 viewBox="0 0 14 14"
8748 aria-hidden="true"
8749 class="edge-icon edge-icon-top"
8750 >
8751 <path d="M 4.25 11 L 11 7 L 4.25 3 Z" /></svg
8752 ><svg
8753 xmlns="http://www.w3.org/2000/svg"
8754 viewBox="0 0 14 14"
8755 aria-hidden="true"
8756 class="edge-icon edge-icon-bottom"
8757 >
8758 <path d="M 4.25 11 L 11 7 L 4.25 3 Z" />
8759 </svg>
8760 </div>
8761 <svg
8762 xmlns="http://www.w3.org/2000/svg"
8763 class="state-svg"
8764 width="100%"
8765 height="100%"
8766 />
8767 </div>
8768 </div>
8769 </body>
8770</html>