microsoft/qdk
Publicmirrored from https://github.com/microsoft/qdkAvailable
source/npm/qsharp/test/circuits-cases/conditionals.qs.snapshot.html
10255lines · 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><h2>circuit-static-collapsed</h2></div> |
| 12 | <div id="circuit-static-collapsed" class="qs-circuit"> |
| 13 | <svg |
| 14 | xmlns="http://www.w3.org/2000/svg" |
| 15 | class="qviz" |
| 16 | width="449" |
| 17 | height="3584" |
| 18 | viewBox="0 0 449 3584" |
| 19 | > |
| 20 | <g class="qubit-input-states"> |
| 21 | <text |
| 22 | font-size="16" |
| 23 | x="20" |
| 24 | y="92" |
| 25 | text-anchor="start" |
| 26 | dominant-baseline="middle" |
| 27 | data-wire="0" |
| 28 | class="qs-maintext qs-qubit-label" |
| 29 | > |
| 30 | | |
| 31 | <tspan class="qs-mathtext">ψ</tspan> |
| 32 | <tspan baseline-shift="sub" font-size="65%">0</tspan> |
| 33 | ⟩ |
| 34 | </text> |
| 35 | <text |
| 36 | font-size="16" |
| 37 | x="20" |
| 38 | y="196" |
| 39 | text-anchor="start" |
| 40 | dominant-baseline="middle" |
| 41 | data-wire="1" |
| 42 | class="qs-maintext qs-qubit-label" |
| 43 | > |
| 44 | | |
| 45 | <tspan class="qs-mathtext">ψ</tspan> |
| 46 | <tspan baseline-shift="sub" font-size="65%">1</tspan> |
| 47 | ⟩ |
| 48 | </text> |
| 49 | <text |
| 50 | font-size="16" |
| 51 | x="20" |
| 52 | y="300" |
| 53 | text-anchor="start" |
| 54 | dominant-baseline="middle" |
| 55 | data-wire="2" |
| 56 | class="qs-maintext qs-qubit-label" |
| 57 | > |
| 58 | | |
| 59 | <tspan class="qs-mathtext">ψ</tspan> |
| 60 | <tspan baseline-shift="sub" font-size="65%">2</tspan> |
| 61 | ⟩ |
| 62 | </text> |
| 63 | <text |
| 64 | font-size="16" |
| 65 | x="20" |
| 66 | y="404" |
| 67 | text-anchor="start" |
| 68 | dominant-baseline="middle" |
| 69 | data-wire="3" |
| 70 | class="qs-maintext qs-qubit-label" |
| 71 | > |
| 72 | | |
| 73 | <tspan class="qs-mathtext">ψ</tspan> |
| 74 | <tspan baseline-shift="sub" font-size="65%">3</tspan> |
| 75 | ⟩ |
| 76 | </text> |
| 77 | <text |
| 78 | font-size="16" |
| 79 | x="20" |
| 80 | y="508" |
| 81 | text-anchor="start" |
| 82 | dominant-baseline="middle" |
| 83 | data-wire="4" |
| 84 | class="qs-maintext qs-qubit-label" |
| 85 | > |
| 86 | | |
| 87 | <tspan class="qs-mathtext">ψ</tspan> |
| 88 | <tspan baseline-shift="sub" font-size="65%">4</tspan> |
| 89 | ⟩ |
| 90 | </text> |
| 91 | <text |
| 92 | font-size="16" |
| 93 | x="20" |
| 94 | y="612" |
| 95 | text-anchor="start" |
| 96 | dominant-baseline="middle" |
| 97 | data-wire="5" |
| 98 | class="qs-maintext qs-qubit-label" |
| 99 | > |
| 100 | | |
| 101 | <tspan class="qs-mathtext">ψ</tspan> |
| 102 | <tspan baseline-shift="sub" font-size="65%">5</tspan> |
| 103 | ⟩ |
| 104 | </text> |
| 105 | <text |
| 106 | font-size="16" |
| 107 | x="20" |
| 108 | y="716" |
| 109 | text-anchor="start" |
| 110 | dominant-baseline="middle" |
| 111 | data-wire="6" |
| 112 | class="qs-maintext qs-qubit-label" |
| 113 | > |
| 114 | | |
| 115 | <tspan class="qs-mathtext">ψ</tspan> |
| 116 | <tspan baseline-shift="sub" font-size="65%">6</tspan> |
| 117 | ⟩ |
| 118 | </text> |
| 119 | <text |
| 120 | font-size="16" |
| 121 | x="20" |
| 122 | y="820" |
| 123 | text-anchor="start" |
| 124 | dominant-baseline="middle" |
| 125 | data-wire="7" |
| 126 | class="qs-maintext qs-qubit-label" |
| 127 | > |
| 128 | | |
| 129 | <tspan class="qs-mathtext">ψ</tspan> |
| 130 | <tspan baseline-shift="sub" font-size="65%">7</tspan> |
| 131 | ⟩ |
| 132 | </text> |
| 133 | <text |
| 134 | font-size="16" |
| 135 | x="20" |
| 136 | y="924" |
| 137 | text-anchor="start" |
| 138 | dominant-baseline="middle" |
| 139 | data-wire="8" |
| 140 | class="qs-maintext qs-qubit-label" |
| 141 | > |
| 142 | | |
| 143 | <tspan class="qs-mathtext">ψ</tspan> |
| 144 | <tspan baseline-shift="sub" font-size="65%">8</tspan> |
| 145 | ⟩ |
| 146 | </text> |
| 147 | <text |
| 148 | font-size="16" |
| 149 | x="20" |
| 150 | y="1028" |
| 151 | text-anchor="start" |
| 152 | dominant-baseline="middle" |
| 153 | data-wire="9" |
| 154 | class="qs-maintext qs-qubit-label" |
| 155 | > |
| 156 | | |
| 157 | <tspan class="qs-mathtext">ψ</tspan> |
| 158 | <tspan baseline-shift="sub" font-size="65%">9</tspan> |
| 159 | ⟩ |
| 160 | </text> |
| 161 | <text |
| 162 | font-size="16" |
| 163 | x="20" |
| 164 | y="1132" |
| 165 | text-anchor="start" |
| 166 | dominant-baseline="middle" |
| 167 | data-wire="10" |
| 168 | class="qs-maintext qs-qubit-label" |
| 169 | > |
| 170 | | |
| 171 | <tspan class="qs-mathtext">ψ</tspan> |
| 172 | <tspan baseline-shift="sub" font-size="65%">10</tspan> |
| 173 | ⟩ |
| 174 | </text> |
| 175 | <text |
| 176 | font-size="16" |
| 177 | x="20" |
| 178 | y="1236" |
| 179 | text-anchor="start" |
| 180 | dominant-baseline="middle" |
| 181 | data-wire="11" |
| 182 | class="qs-maintext qs-qubit-label" |
| 183 | > |
| 184 | | |
| 185 | <tspan class="qs-mathtext">ψ</tspan> |
| 186 | <tspan baseline-shift="sub" font-size="65%">11</tspan> |
| 187 | ⟩ |
| 188 | </text> |
| 189 | <text |
| 190 | font-size="16" |
| 191 | x="20" |
| 192 | y="1340" |
| 193 | text-anchor="start" |
| 194 | dominant-baseline="middle" |
| 195 | data-wire="12" |
| 196 | class="qs-maintext qs-qubit-label" |
| 197 | > |
| 198 | | |
| 199 | <tspan class="qs-mathtext">ψ</tspan> |
| 200 | <tspan baseline-shift="sub" font-size="65%">12</tspan> |
| 201 | ⟩ |
| 202 | </text> |
| 203 | <text |
| 204 | font-size="16" |
| 205 | x="20" |
| 206 | y="1444" |
| 207 | text-anchor="start" |
| 208 | dominant-baseline="middle" |
| 209 | data-wire="13" |
| 210 | class="qs-maintext qs-qubit-label" |
| 211 | > |
| 212 | | |
| 213 | <tspan class="qs-mathtext">ψ</tspan> |
| 214 | <tspan baseline-shift="sub" font-size="65%">13</tspan> |
| 215 | ⟩ |
| 216 | </text> |
| 217 | <text |
| 218 | font-size="16" |
| 219 | x="20" |
| 220 | y="1548" |
| 221 | text-anchor="start" |
| 222 | dominant-baseline="middle" |
| 223 | data-wire="14" |
| 224 | class="qs-maintext qs-qubit-label" |
| 225 | > |
| 226 | | |
| 227 | <tspan class="qs-mathtext">ψ</tspan> |
| 228 | <tspan baseline-shift="sub" font-size="65%">14</tspan> |
| 229 | ⟩ |
| 230 | </text> |
| 231 | <text |
| 232 | font-size="16" |
| 233 | x="20" |
| 234 | y="1652" |
| 235 | text-anchor="start" |
| 236 | dominant-baseline="middle" |
| 237 | data-wire="15" |
| 238 | class="qs-maintext qs-qubit-label" |
| 239 | > |
| 240 | | |
| 241 | <tspan class="qs-mathtext">ψ</tspan> |
| 242 | <tspan baseline-shift="sub" font-size="65%">15</tspan> |
| 243 | ⟩ |
| 244 | </text> |
| 245 | <text |
| 246 | font-size="16" |
| 247 | x="20" |
| 248 | y="1756" |
| 249 | text-anchor="start" |
| 250 | dominant-baseline="middle" |
| 251 | data-wire="16" |
| 252 | class="qs-maintext qs-qubit-label" |
| 253 | > |
| 254 | | |
| 255 | <tspan class="qs-mathtext">ψ</tspan> |
| 256 | <tspan baseline-shift="sub" font-size="65%">16</tspan> |
| 257 | ⟩ |
| 258 | </text> |
| 259 | <text |
| 260 | font-size="16" |
| 261 | x="20" |
| 262 | y="1860" |
| 263 | text-anchor="start" |
| 264 | dominant-baseline="middle" |
| 265 | data-wire="17" |
| 266 | class="qs-maintext qs-qubit-label" |
| 267 | > |
| 268 | | |
| 269 | <tspan class="qs-mathtext">ψ</tspan> |
| 270 | <tspan baseline-shift="sub" font-size="65%">17</tspan> |
| 271 | ⟩ |
| 272 | </text> |
| 273 | <text |
| 274 | font-size="16" |
| 275 | x="20" |
| 276 | y="1964" |
| 277 | text-anchor="start" |
| 278 | dominant-baseline="middle" |
| 279 | data-wire="18" |
| 280 | class="qs-maintext qs-qubit-label" |
| 281 | > |
| 282 | | |
| 283 | <tspan class="qs-mathtext">ψ</tspan> |
| 284 | <tspan baseline-shift="sub" font-size="65%">18</tspan> |
| 285 | ⟩ |
| 286 | </text> |
| 287 | <text |
| 288 | font-size="16" |
| 289 | x="20" |
| 290 | y="2068" |
| 291 | text-anchor="start" |
| 292 | dominant-baseline="middle" |
| 293 | data-wire="19" |
| 294 | class="qs-maintext qs-qubit-label" |
| 295 | > |
| 296 | | |
| 297 | <tspan class="qs-mathtext">ψ</tspan> |
| 298 | <tspan baseline-shift="sub" font-size="65%">19</tspan> |
| 299 | ⟩ |
| 300 | </text> |
| 301 | <text |
| 302 | font-size="16" |
| 303 | x="20" |
| 304 | y="2172" |
| 305 | text-anchor="start" |
| 306 | dominant-baseline="middle" |
| 307 | data-wire="20" |
| 308 | class="qs-maintext qs-qubit-label" |
| 309 | > |
| 310 | | |
| 311 | <tspan class="qs-mathtext">ψ</tspan> |
| 312 | <tspan baseline-shift="sub" font-size="65%">20</tspan> |
| 313 | ⟩ |
| 314 | </text> |
| 315 | <text |
| 316 | font-size="16" |
| 317 | x="20" |
| 318 | y="2276" |
| 319 | text-anchor="start" |
| 320 | dominant-baseline="middle" |
| 321 | data-wire="21" |
| 322 | class="qs-maintext qs-qubit-label" |
| 323 | > |
| 324 | | |
| 325 | <tspan class="qs-mathtext">ψ</tspan> |
| 326 | <tspan baseline-shift="sub" font-size="65%">21</tspan> |
| 327 | ⟩ |
| 328 | </text> |
| 329 | <text |
| 330 | font-size="16" |
| 331 | x="20" |
| 332 | y="2380" |
| 333 | text-anchor="start" |
| 334 | dominant-baseline="middle" |
| 335 | data-wire="22" |
| 336 | class="qs-maintext qs-qubit-label" |
| 337 | > |
| 338 | | |
| 339 | <tspan class="qs-mathtext">ψ</tspan> |
| 340 | <tspan baseline-shift="sub" font-size="65%">22</tspan> |
| 341 | ⟩ |
| 342 | </text> |
| 343 | <text |
| 344 | font-size="16" |
| 345 | x="20" |
| 346 | y="2432" |
| 347 | text-anchor="start" |
| 348 | dominant-baseline="middle" |
| 349 | data-wire="23" |
| 350 | class="qs-maintext qs-qubit-label" |
| 351 | > |
| 352 | | |
| 353 | <tspan class="qs-mathtext">ψ</tspan> |
| 354 | <tspan baseline-shift="sub" font-size="65%">23</tspan> |
| 355 | ⟩ |
| 356 | </text> |
| 357 | <text |
| 358 | font-size="16" |
| 359 | x="20" |
| 360 | y="2536" |
| 361 | text-anchor="start" |
| 362 | dominant-baseline="middle" |
| 363 | data-wire="24" |
| 364 | class="qs-maintext qs-qubit-label" |
| 365 | > |
| 366 | | |
| 367 | <tspan class="qs-mathtext">ψ</tspan> |
| 368 | <tspan baseline-shift="sub" font-size="65%">24</tspan> |
| 369 | ⟩ |
| 370 | </text> |
| 371 | <text |
| 372 | font-size="16" |
| 373 | x="20" |
| 374 | y="2588" |
| 375 | text-anchor="start" |
| 376 | dominant-baseline="middle" |
| 377 | data-wire="25" |
| 378 | class="qs-maintext qs-qubit-label" |
| 379 | > |
| 380 | | |
| 381 | <tspan class="qs-mathtext">ψ</tspan> |
| 382 | <tspan baseline-shift="sub" font-size="65%">25</tspan> |
| 383 | ⟩ |
| 384 | </text> |
| 385 | <text |
| 386 | font-size="16" |
| 387 | x="20" |
| 388 | y="2744" |
| 389 | text-anchor="start" |
| 390 | dominant-baseline="middle" |
| 391 | data-wire="26" |
| 392 | class="qs-maintext qs-qubit-label" |
| 393 | > |
| 394 | | |
| 395 | <tspan class="qs-mathtext">ψ</tspan> |
| 396 | <tspan baseline-shift="sub" font-size="65%">26</tspan> |
| 397 | ⟩ |
| 398 | </text> |
| 399 | <text |
| 400 | font-size="16" |
| 401 | x="20" |
| 402 | y="2796" |
| 403 | text-anchor="start" |
| 404 | dominant-baseline="middle" |
| 405 | data-wire="27" |
| 406 | class="qs-maintext qs-qubit-label" |
| 407 | > |
| 408 | | |
| 409 | <tspan class="qs-mathtext">ψ</tspan> |
| 410 | <tspan baseline-shift="sub" font-size="65%">27</tspan> |
| 411 | ⟩ |
| 412 | </text> |
| 413 | <text |
| 414 | font-size="16" |
| 415 | x="20" |
| 416 | y="2900" |
| 417 | text-anchor="start" |
| 418 | dominant-baseline="middle" |
| 419 | data-wire="28" |
| 420 | class="qs-maintext qs-qubit-label" |
| 421 | > |
| 422 | | |
| 423 | <tspan class="qs-mathtext">ψ</tspan> |
| 424 | <tspan baseline-shift="sub" font-size="65%">28</tspan> |
| 425 | ⟩ |
| 426 | </text> |
| 427 | <text |
| 428 | font-size="16" |
| 429 | x="20" |
| 430 | y="3004" |
| 431 | text-anchor="start" |
| 432 | dominant-baseline="middle" |
| 433 | data-wire="29" |
| 434 | class="qs-maintext qs-qubit-label" |
| 435 | > |
| 436 | | |
| 437 | <tspan class="qs-mathtext">ψ</tspan> |
| 438 | <tspan baseline-shift="sub" font-size="65%">29</tspan> |
| 439 | ⟩ |
| 440 | </text> |
| 441 | <text |
| 442 | font-size="16" |
| 443 | x="20" |
| 444 | y="3056" |
| 445 | text-anchor="start" |
| 446 | dominant-baseline="middle" |
| 447 | data-wire="30" |
| 448 | class="qs-maintext qs-qubit-label" |
| 449 | > |
| 450 | | |
| 451 | <tspan class="qs-mathtext">ψ</tspan> |
| 452 | <tspan baseline-shift="sub" font-size="65%">30</tspan> |
| 453 | ⟩ |
| 454 | </text> |
| 455 | <text |
| 456 | font-size="16" |
| 457 | x="20" |
| 458 | y="3160" |
| 459 | text-anchor="start" |
| 460 | dominant-baseline="middle" |
| 461 | data-wire="31" |
| 462 | class="qs-maintext qs-qubit-label" |
| 463 | > |
| 464 | | |
| 465 | <tspan class="qs-mathtext">ψ</tspan> |
| 466 | <tspan baseline-shift="sub" font-size="65%">31</tspan> |
| 467 | ⟩ |
| 468 | </text> |
| 469 | <text |
| 470 | font-size="16" |
| 471 | x="20" |
| 472 | y="3264" |
| 473 | text-anchor="start" |
| 474 | dominant-baseline="middle" |
| 475 | data-wire="32" |
| 476 | class="qs-maintext qs-qubit-label" |
| 477 | > |
| 478 | | |
| 479 | <tspan class="qs-mathtext">ψ</tspan> |
| 480 | <tspan baseline-shift="sub" font-size="65%">32</tspan> |
| 481 | ⟩ |
| 482 | </text> |
| 483 | <text |
| 484 | font-size="16" |
| 485 | x="20" |
| 486 | y="3420" |
| 487 | text-anchor="start" |
| 488 | dominant-baseline="middle" |
| 489 | data-wire="33" |
| 490 | class="qs-maintext qs-qubit-label" |
| 491 | > |
| 492 | | |
| 493 | <tspan class="qs-mathtext">ψ</tspan> |
| 494 | <tspan baseline-shift="sub" font-size="65%">33</tspan> |
| 495 | ⟩ |
| 496 | </text> |
| 497 | </g> |
| 498 | <g class="wires"> |
| 499 | <line x1="40" x2="449" y1="92" y2="92" class="qubit-wire" /> |
| 500 | <line x1="40" x2="449" y1="196" y2="196" class="qubit-wire" /> |
| 501 | <line x1="40" x2="449" y1="300" y2="300" class="qubit-wire" /> |
| 502 | <line x1="40" x2="449" y1="404" y2="404" class="qubit-wire" /> |
| 503 | <line x1="40" x2="449" y1="508" y2="508" class="qubit-wire" /> |
| 504 | <line x1="40" x2="449" y1="612" y2="612" class="qubit-wire" /> |
| 505 | <line x1="40" x2="449" y1="716" y2="716" class="qubit-wire" /> |
| 506 | <line x1="40" x2="449" y1="820" y2="820" class="qubit-wire" /> |
| 507 | <line x1="40" x2="449" y1="924" y2="924" class="qubit-wire" /> |
| 508 | <line x1="40" x2="449" y1="1028" y2="1028" class="qubit-wire" /> |
| 509 | <line x1="40" x2="449" y1="1132" y2="1132" class="qubit-wire" /> |
| 510 | <line x1="40" x2="449" y1="1236" y2="1236" class="qubit-wire" /> |
| 511 | <line x1="40" x2="449" y1="1340" y2="1340" class="qubit-wire" /> |
| 512 | <line x1="40" x2="449" y1="1444" y2="1444" class="qubit-wire" /> |
| 513 | <line x1="40" x2="449" y1="1548" y2="1548" class="qubit-wire" /> |
| 514 | <line x1="40" x2="449" y1="1652" y2="1652" class="qubit-wire" /> |
| 515 | <line x1="40" x2="449" y1="1756" y2="1756" class="qubit-wire" /> |
| 516 | <line x1="40" x2="449" y1="1860" y2="1860" class="qubit-wire" /> |
| 517 | <line x1="40" x2="449" y1="1964" y2="1964" class="qubit-wire" /> |
| 518 | <line x1="40" x2="449" y1="2068" y2="2068" class="qubit-wire" /> |
| 519 | <line x1="40" x2="449" y1="2172" y2="2172" class="qubit-wire" /> |
| 520 | <line x1="40" x2="449" y1="2276" y2="2276" class="qubit-wire" /> |
| 521 | <line x1="40" x2="449" y1="2380" y2="2380" class="qubit-wire" /> |
| 522 | <line x1="40" x2="449" y1="2432" y2="2432" class="qubit-wire" /> |
| 523 | <line x1="40" x2="449" y1="2536" y2="2536" class="qubit-wire" /> |
| 524 | <line x1="40" x2="449" y1="2588" y2="2588" class="qubit-wire" /> |
| 525 | <line x1="40" x2="449" y1="2744" y2="2744" class="qubit-wire" /> |
| 526 | <line x1="40" x2="449" y1="2796" y2="2796" class="qubit-wire" /> |
| 527 | <line x1="40" x2="449" y1="2900" y2="2900" class="qubit-wire" /> |
| 528 | <line x1="40" x2="449" y1="3004" y2="3004" class="qubit-wire" /> |
| 529 | <line x1="40" x2="449" y1="3056" y2="3056" class="qubit-wire" /> |
| 530 | <line x1="40" x2="449" y1="3160" y2="3160" class="qubit-wire" /> |
| 531 | <line x1="40" x2="449" y1="3264" y2="3264" class="qubit-wire" /> |
| 532 | <line x1="40" x2="449" y1="3420" y2="3420" class="qubit-wire" /> |
| 533 | <g> |
| 534 | <line |
| 535 | x1="230.5" |
| 536 | x2="449" |
| 537 | y1="143" |
| 538 | y2="143" |
| 539 | class="register-classical" |
| 540 | /> |
| 541 | <line |
| 542 | x1="228.5" |
| 543 | x2="449" |
| 544 | y1="145" |
| 545 | y2="145" |
| 546 | class="register-classical" |
| 547 | /> |
| 548 | </g> |
| 549 | <g> |
| 550 | <line |
| 551 | x1="230.5" |
| 552 | x2="449" |
| 553 | y1="247" |
| 554 | y2="247" |
| 555 | class="register-classical" |
| 556 | /> |
| 557 | <line |
| 558 | x1="228.5" |
| 559 | x2="449" |
| 560 | y1="249" |
| 561 | y2="249" |
| 562 | class="register-classical" |
| 563 | /> |
| 564 | </g> |
| 565 | <g> |
| 566 | <line |
| 567 | x1="230.5" |
| 568 | x2="449" |
| 569 | y1="351" |
| 570 | y2="351" |
| 571 | class="register-classical" |
| 572 | /> |
| 573 | <line |
| 574 | x1="228.5" |
| 575 | x2="449" |
| 576 | y1="353" |
| 577 | y2="353" |
| 578 | class="register-classical" |
| 579 | /> |
| 580 | </g> |
| 581 | <g> |
| 582 | <line |
| 583 | x1="230.5" |
| 584 | x2="449" |
| 585 | y1="455" |
| 586 | y2="455" |
| 587 | class="register-classical" |
| 588 | /> |
| 589 | <line |
| 590 | x1="228.5" |
| 591 | x2="449" |
| 592 | y1="457" |
| 593 | y2="457" |
| 594 | class="register-classical" |
| 595 | /> |
| 596 | </g> |
| 597 | <g> |
| 598 | <line |
| 599 | x1="230.5" |
| 600 | x2="449" |
| 601 | y1="559" |
| 602 | y2="559" |
| 603 | class="register-classical" |
| 604 | /> |
| 605 | <line |
| 606 | x1="228.5" |
| 607 | x2="449" |
| 608 | y1="561" |
| 609 | y2="561" |
| 610 | class="register-classical" |
| 611 | /> |
| 612 | </g> |
| 613 | <g> |
| 614 | <line |
| 615 | x1="230.5" |
| 616 | x2="449" |
| 617 | y1="663" |
| 618 | y2="663" |
| 619 | class="register-classical" |
| 620 | /> |
| 621 | <line |
| 622 | x1="228.5" |
| 623 | x2="449" |
| 624 | y1="665" |
| 625 | y2="665" |
| 626 | class="register-classical" |
| 627 | /> |
| 628 | </g> |
| 629 | <g> |
| 630 | <line |
| 631 | x1="230.5" |
| 632 | x2="449" |
| 633 | y1="767" |
| 634 | y2="767" |
| 635 | class="register-classical" |
| 636 | /> |
| 637 | <line |
| 638 | x1="228.5" |
| 639 | x2="449" |
| 640 | y1="769" |
| 641 | y2="769" |
| 642 | class="register-classical" |
| 643 | /> |
| 644 | </g> |
| 645 | <g> |
| 646 | <line |
| 647 | x1="230.5" |
| 648 | x2="449" |
| 649 | y1="871" |
| 650 | y2="871" |
| 651 | class="register-classical" |
| 652 | /> |
| 653 | <line |
| 654 | x1="228.5" |
| 655 | x2="449" |
| 656 | y1="873" |
| 657 | y2="873" |
| 658 | class="register-classical" |
| 659 | /> |
| 660 | </g> |
| 661 | <g> |
| 662 | <line |
| 663 | x1="230.5" |
| 664 | x2="449" |
| 665 | y1="975" |
| 666 | y2="975" |
| 667 | class="register-classical" |
| 668 | /> |
| 669 | <line |
| 670 | x1="228.5" |
| 671 | x2="449" |
| 672 | y1="977" |
| 673 | y2="977" |
| 674 | class="register-classical" |
| 675 | /> |
| 676 | </g> |
| 677 | <g> |
| 678 | <line |
| 679 | x1="230.5" |
| 680 | x2="449" |
| 681 | y1="1079" |
| 682 | y2="1079" |
| 683 | class="register-classical" |
| 684 | /> |
| 685 | <line |
| 686 | x1="228.5" |
| 687 | x2="449" |
| 688 | y1="1081" |
| 689 | y2="1081" |
| 690 | class="register-classical" |
| 691 | /> |
| 692 | </g> |
| 693 | <g> |
| 694 | <line |
| 695 | x1="230.5" |
| 696 | x2="449" |
| 697 | y1="1183" |
| 698 | y2="1183" |
| 699 | class="register-classical" |
| 700 | /> |
| 701 | <line |
| 702 | x1="228.5" |
| 703 | x2="449" |
| 704 | y1="1185" |
| 705 | y2="1185" |
| 706 | class="register-classical" |
| 707 | /> |
| 708 | </g> |
| 709 | <g> |
| 710 | <line |
| 711 | x1="230.5" |
| 712 | x2="449" |
| 713 | y1="1287" |
| 714 | y2="1287" |
| 715 | class="register-classical" |
| 716 | /> |
| 717 | <line |
| 718 | x1="228.5" |
| 719 | x2="449" |
| 720 | y1="1289" |
| 721 | y2="1289" |
| 722 | class="register-classical" |
| 723 | /> |
| 724 | </g> |
| 725 | <g> |
| 726 | <line |
| 727 | x1="230.5" |
| 728 | x2="449" |
| 729 | y1="1391" |
| 730 | y2="1391" |
| 731 | class="register-classical" |
| 732 | /> |
| 733 | <line |
| 734 | x1="228.5" |
| 735 | x2="449" |
| 736 | y1="1393" |
| 737 | y2="1393" |
| 738 | class="register-classical" |
| 739 | /> |
| 740 | </g> |
| 741 | <g> |
| 742 | <line |
| 743 | x1="230.5" |
| 744 | x2="449" |
| 745 | y1="1495" |
| 746 | y2="1495" |
| 747 | class="register-classical" |
| 748 | /> |
| 749 | <line |
| 750 | x1="228.5" |
| 751 | x2="449" |
| 752 | y1="1497" |
| 753 | y2="1497" |
| 754 | class="register-classical" |
| 755 | /> |
| 756 | </g> |
| 757 | <g> |
| 758 | <line |
| 759 | x1="230.5" |
| 760 | x2="449" |
| 761 | y1="1599" |
| 762 | y2="1599" |
| 763 | class="register-classical" |
| 764 | /> |
| 765 | <line |
| 766 | x1="228.5" |
| 767 | x2="449" |
| 768 | y1="1601" |
| 769 | y2="1601" |
| 770 | class="register-classical" |
| 771 | /> |
| 772 | </g> |
| 773 | <g> |
| 774 | <line |
| 775 | x1="230.5" |
| 776 | x2="449" |
| 777 | y1="1703" |
| 778 | y2="1703" |
| 779 | class="register-classical" |
| 780 | /> |
| 781 | <line |
| 782 | x1="228.5" |
| 783 | x2="449" |
| 784 | y1="1705" |
| 785 | y2="1705" |
| 786 | class="register-classical" |
| 787 | /> |
| 788 | </g> |
| 789 | <g> |
| 790 | <line |
| 791 | x1="230.5" |
| 792 | x2="449" |
| 793 | y1="1807" |
| 794 | y2="1807" |
| 795 | class="register-classical" |
| 796 | /> |
| 797 | <line |
| 798 | x1="228.5" |
| 799 | x2="449" |
| 800 | y1="1809" |
| 801 | y2="1809" |
| 802 | class="register-classical" |
| 803 | /> |
| 804 | </g> |
| 805 | <g> |
| 806 | <line |
| 807 | x1="230.5" |
| 808 | x2="449" |
| 809 | y1="1911" |
| 810 | y2="1911" |
| 811 | class="register-classical" |
| 812 | /> |
| 813 | <line |
| 814 | x1="228.5" |
| 815 | x2="449" |
| 816 | y1="1913" |
| 817 | y2="1913" |
| 818 | class="register-classical" |
| 819 | /> |
| 820 | </g> |
| 821 | <g> |
| 822 | <line |
| 823 | x1="230.5" |
| 824 | x2="449" |
| 825 | y1="2015" |
| 826 | y2="2015" |
| 827 | class="register-classical" |
| 828 | /> |
| 829 | <line |
| 830 | x1="228.5" |
| 831 | x2="449" |
| 832 | y1="2017" |
| 833 | y2="2017" |
| 834 | class="register-classical" |
| 835 | /> |
| 836 | </g> |
| 837 | <g> |
| 838 | <line |
| 839 | x1="230.5" |
| 840 | x2="449" |
| 841 | y1="2119" |
| 842 | y2="2119" |
| 843 | class="register-classical" |
| 844 | /> |
| 845 | <line |
| 846 | x1="228.5" |
| 847 | x2="449" |
| 848 | y1="2121" |
| 849 | y2="2121" |
| 850 | class="register-classical" |
| 851 | /> |
| 852 | </g> |
| 853 | <g> |
| 854 | <line |
| 855 | x1="230.5" |
| 856 | x2="449" |
| 857 | y1="2223" |
| 858 | y2="2223" |
| 859 | class="register-classical" |
| 860 | /> |
| 861 | <line |
| 862 | x1="228.5" |
| 863 | x2="449" |
| 864 | y1="2225" |
| 865 | y2="2225" |
| 866 | class="register-classical" |
| 867 | /> |
| 868 | </g> |
| 869 | <g> |
| 870 | <line |
| 871 | x1="230.5" |
| 872 | x2="449" |
| 873 | y1="2327" |
| 874 | y2="2327" |
| 875 | class="register-classical" |
| 876 | /> |
| 877 | <line |
| 878 | x1="228.5" |
| 879 | x2="449" |
| 880 | y1="2329" |
| 881 | y2="2329" |
| 882 | class="register-classical" |
| 883 | /> |
| 884 | </g> |
| 885 | <g> |
| 886 | <line |
| 887 | x1="230.5" |
| 888 | x2="449" |
| 889 | y1="2483" |
| 890 | y2="2483" |
| 891 | class="register-classical" |
| 892 | /> |
| 893 | <line |
| 894 | x1="228.5" |
| 895 | x2="449" |
| 896 | y1="2485" |
| 897 | y2="2485" |
| 898 | class="register-classical" |
| 899 | /> |
| 900 | </g> |
| 901 | <g> |
| 902 | <line |
| 903 | x1="230.5" |
| 904 | x2="449" |
| 905 | y1="2639" |
| 906 | y2="2639" |
| 907 | class="register-classical" |
| 908 | /> |
| 909 | <line |
| 910 | x1="228.5" |
| 911 | x2="449" |
| 912 | y1="2641" |
| 913 | y2="2641" |
| 914 | class="register-classical" |
| 915 | /> |
| 916 | </g> |
| 917 | <g> |
| 918 | <line |
| 919 | x1="230.5" |
| 920 | x2="449" |
| 921 | y1="2691" |
| 922 | y2="2691" |
| 923 | class="register-classical" |
| 924 | /> |
| 925 | <line |
| 926 | x1="228.5" |
| 927 | x2="449" |
| 928 | y1="2693" |
| 929 | y2="2693" |
| 930 | class="register-classical" |
| 931 | /> |
| 932 | </g> |
| 933 | <g> |
| 934 | <line |
| 935 | x1="230.5" |
| 936 | x2="449" |
| 937 | y1="2847" |
| 938 | y2="2847" |
| 939 | class="register-classical" |
| 940 | /> |
| 941 | <line |
| 942 | x1="228.5" |
| 943 | x2="449" |
| 944 | y1="2849" |
| 945 | y2="2849" |
| 946 | class="register-classical" |
| 947 | /> |
| 948 | </g> |
| 949 | <g> |
| 950 | <line |
| 951 | x1="230.5" |
| 952 | x2="449" |
| 953 | y1="2951" |
| 954 | y2="2951" |
| 955 | class="register-classical" |
| 956 | /> |
| 957 | <line |
| 958 | x1="228.5" |
| 959 | x2="449" |
| 960 | y1="2953" |
| 961 | y2="2953" |
| 962 | class="register-classical" |
| 963 | /> |
| 964 | </g> |
| 965 | <g> |
| 966 | <line |
| 967 | x1="230.5" |
| 968 | x2="449" |
| 969 | y1="3107" |
| 970 | y2="3107" |
| 971 | class="register-classical" |
| 972 | /> |
| 973 | <line |
| 974 | x1="228.5" |
| 975 | x2="449" |
| 976 | y1="3109" |
| 977 | y2="3109" |
| 978 | class="register-classical" |
| 979 | /> |
| 980 | </g> |
| 981 | <g> |
| 982 | <line |
| 983 | x1="230.5" |
| 984 | x2="449" |
| 985 | y1="3211" |
| 986 | y2="3211" |
| 987 | class="register-classical" |
| 988 | /> |
| 989 | <line |
| 990 | x1="228.5" |
| 991 | x2="449" |
| 992 | y1="3213" |
| 993 | y2="3213" |
| 994 | class="register-classical" |
| 995 | /> |
| 996 | </g> |
| 997 | <g> |
| 998 | <line |
| 999 | x1="230.5" |
| 1000 | x2="449" |
| 1001 | y1="3315" |
| 1002 | y2="3315" |
| 1003 | class="register-classical" |
| 1004 | /> |
| 1005 | <line |
| 1006 | x1="228.5" |
| 1007 | x2="449" |
| 1008 | y1="3317" |
| 1009 | y2="3317" |
| 1010 | class="register-classical" |
| 1011 | /> |
| 1012 | </g> |
| 1013 | <g> |
| 1014 | <line |
| 1015 | x1="230.5" |
| 1016 | x2="449" |
| 1017 | y1="3367" |
| 1018 | y2="3367" |
| 1019 | class="register-classical" |
| 1020 | /> |
| 1021 | <line |
| 1022 | x1="228.5" |
| 1023 | x2="449" |
| 1024 | y1="3369" |
| 1025 | y2="3369" |
| 1026 | class="register-classical" |
| 1027 | /> |
| 1028 | </g> |
| 1029 | <g> |
| 1030 | <line |
| 1031 | x1="230.5" |
| 1032 | x2="449" |
| 1033 | y1="3471" |
| 1034 | y2="3471" |
| 1035 | class="register-classical" |
| 1036 | /> |
| 1037 | <line |
| 1038 | x1="228.5" |
| 1039 | x2="449" |
| 1040 | y1="3473" |
| 1041 | y2="3473" |
| 1042 | class="register-classical" |
| 1043 | /> |
| 1044 | </g> |
| 1045 | <g> |
| 1046 | <line |
| 1047 | x1="230.5" |
| 1048 | x2="449" |
| 1049 | y1="3523" |
| 1050 | y2="3523" |
| 1051 | class="register-classical" |
| 1052 | /> |
| 1053 | <line |
| 1054 | x1="228.5" |
| 1055 | x2="449" |
| 1056 | y1="3525" |
| 1057 | y2="3525" |
| 1058 | class="register-classical" |
| 1059 | /> |
| 1060 | </g> |
| 1061 | </g> |
| 1062 | <g> |
| 1063 | <g class="gate" data-location="0,0" data-expanded="true"> |
| 1064 | <rect |
| 1065 | class="gate-unitary" |
| 1066 | x="80" |
| 1067 | y="46" |
| 1068 | width="351" |
| 1069 | height="3508" |
| 1070 | fill-opacity="0" |
| 1071 | stroke-dasharray="8, 8" |
| 1072 | /> |
| 1073 | <g> |
| 1074 | <g class="gate" data-location="0,0-0,0"> |
| 1075 | <a href="#" class="qs-circuit-source-link"> |
| 1076 | <title> |
| 1077 | conditionals.qs:4:5 ResultComparisonToLiteral(qs[0]); |
| 1078 | </title> |
| 1079 | <g> |
| 1080 | <g> |
| 1081 | <rect |
| 1082 | class="gate-unitary" |
| 1083 | x="134.5" |
| 1084 | y="72" |
| 1085 | width="190" |
| 1086 | height="92" |
| 1087 | data-wire-ys="[92,144]" |
| 1088 | data-width="190" |
| 1089 | /> |
| 1090 | <text |
| 1091 | font-size="14" |
| 1092 | x="229.5" |
| 1093 | y="118" |
| 1094 | class="qs-maintext" |
| 1095 | > |
| 1096 | <tspan class="qs-mathtext"> |
| 1097 | ResultComparisonToLiteral |
| 1098 | </tspan> |
| 1099 | </text> |
| 1100 | </g> |
| 1101 | </g> |
| 1102 | </a> |
| 1103 | <g class="gate-control gate-expand"> |
| 1104 | <circle cx="136.5" cy="74" r="10" /> |
| 1105 | <path d="M136.5,67 v14 M129.5,74 h14" /> |
| 1106 | </g> |
| 1107 | </g> |
| 1108 | <g class="gate" data-location="0,0-0,1"> |
| 1109 | <a href="#" class="qs-circuit-source-link"> |
| 1110 | <title> |
| 1111 | conditionals.qs:5:5 ResultComparisonToLiteralZero(qs[1]); |
| 1112 | </title> |
| 1113 | <g> |
| 1114 | <g> |
| 1115 | <rect |
| 1116 | class="gate-unitary" |
| 1117 | x="120" |
| 1118 | y="176" |
| 1119 | width="219" |
| 1120 | height="92" |
| 1121 | data-wire-ys="[196,248]" |
| 1122 | data-width="219" |
| 1123 | /> |
| 1124 | <text |
| 1125 | font-size="14" |
| 1126 | x="229.5" |
| 1127 | y="222" |
| 1128 | class="qs-maintext" |
| 1129 | > |
| 1130 | <tspan class="qs-mathtext"> |
| 1131 | ResultComparisonToLiteralZero |
| 1132 | </tspan> |
| 1133 | </text> |
| 1134 | </g> |
| 1135 | </g> |
| 1136 | </a> |
| 1137 | <g class="gate-control gate-expand"> |
| 1138 | <circle cx="122" cy="178" r="10" /> |
| 1139 | <path d="M122,171 v14 M115,178 h14" /> |
| 1140 | </g> |
| 1141 | </g> |
| 1142 | <g class="gate" data-location="0,0-0,2"> |
| 1143 | <a href="#" class="qs-circuit-source-link"> |
| 1144 | <title>conditionals.qs:6:5 ElseBlockOnly(qs[2]);</title> |
| 1145 | <g> |
| 1146 | <g> |
| 1147 | <rect |
| 1148 | class="gate-unitary" |
| 1149 | x="177" |
| 1150 | y="280" |
| 1151 | width="105" |
| 1152 | height="92" |
| 1153 | data-wire-ys="[300,352]" |
| 1154 | data-width="105" |
| 1155 | /> |
| 1156 | <text |
| 1157 | font-size="14" |
| 1158 | x="229.5" |
| 1159 | y="326" |
| 1160 | class="qs-maintext" |
| 1161 | > |
| 1162 | <tspan class="qs-mathtext">ElseBlockOnly</tspan> |
| 1163 | </text> |
| 1164 | </g> |
| 1165 | </g> |
| 1166 | </a> |
| 1167 | <g class="gate-control gate-expand"> |
| 1168 | <circle cx="179" cy="282" r="10" /> |
| 1169 | <path d="M179,275 v14 M172,282 h14" /> |
| 1170 | </g> |
| 1171 | </g> |
| 1172 | <g class="gate" data-location="0,0-0,3"> |
| 1173 | <a href="#" class="qs-circuit-source-link"> |
| 1174 | <title> |
| 1175 | conditionals.qs:7:5 ResultComparisonToResult(qs[3], qs[4]); |
| 1176 | </title> |
| 1177 | <g> |
| 1178 | <g> |
| 1179 | <rect |
| 1180 | class="gate-unitary" |
| 1181 | x="136.5" |
| 1182 | y="384" |
| 1183 | width="186" |
| 1184 | height="196" |
| 1185 | data-wire-ys="[404,456,508,560]" |
| 1186 | data-width="186" |
| 1187 | /> |
| 1188 | <text |
| 1189 | font-size="14" |
| 1190 | x="229.5" |
| 1191 | y="482" |
| 1192 | class="qs-maintext" |
| 1193 | > |
| 1194 | <tspan class="qs-mathtext"> |
| 1195 | ResultComparisonToResult |
| 1196 | </tspan> |
| 1197 | </text> |
| 1198 | </g> |
| 1199 | </g> |
| 1200 | </a> |
| 1201 | <g class="gate-control gate-expand"> |
| 1202 | <circle cx="138.5" cy="386" r="10" /> |
| 1203 | <path d="M138.5,379 v14 M131.5,386 h14" /> |
| 1204 | </g> |
| 1205 | </g> |
| 1206 | <g class="gate" data-location="0,0-0,4"> |
| 1207 | <a href="#" class="qs-circuit-source-link"> |
| 1208 | <title> |
| 1209 | conditionals.qs:8:5 ResultComparisonEmptyBlock(qs[5], |
| 1210 | qs[6]); |
| 1211 | </title> |
| 1212 | <g> |
| 1213 | <g> |
| 1214 | <rect |
| 1215 | class="gate-unitary" |
| 1216 | x="127.5" |
| 1217 | y="592" |
| 1218 | width="204" |
| 1219 | height="196" |
| 1220 | data-wire-ys="[612,664,716,768]" |
| 1221 | data-width="204" |
| 1222 | /> |
| 1223 | <text |
| 1224 | font-size="14" |
| 1225 | x="229.5" |
| 1226 | y="690" |
| 1227 | class="qs-maintext" |
| 1228 | > |
| 1229 | <tspan class="qs-mathtext"> |
| 1230 | ResultComparisonEmptyBlock |
| 1231 | </tspan> |
| 1232 | </text> |
| 1233 | </g> |
| 1234 | </g> |
| 1235 | </a> |
| 1236 | <g class="gate-control gate-expand"> |
| 1237 | <circle cx="129.5" cy="594" r="10" /> |
| 1238 | <path d="M129.5,587 v14 M122.5,594 h14" /> |
| 1239 | </g> |
| 1240 | </g> |
| 1241 | <g class="gate" data-location="0,0-0,5"> |
| 1242 | <a href="#" class="qs-circuit-source-link"> |
| 1243 | <title>conditionals.qs:9:5 IfElse(qs[7], qs[8]);</title> |
| 1244 | <g> |
| 1245 | <g> |
| 1246 | <rect |
| 1247 | class="gate-unitary" |
| 1248 | x="199.5" |
| 1249 | y="800" |
| 1250 | width="60" |
| 1251 | height="196" |
| 1252 | data-wire-ys="[820,872,924,976]" |
| 1253 | data-width="60" |
| 1254 | /> |
| 1255 | <text |
| 1256 | font-size="14" |
| 1257 | x="229.5" |
| 1258 | y="898" |
| 1259 | class="qs-maintext" |
| 1260 | > |
| 1261 | <tspan class="qs-mathtext">IfElse</tspan> |
| 1262 | </text> |
| 1263 | </g> |
| 1264 | </g> |
| 1265 | </a> |
| 1266 | <g class="gate-control gate-expand"> |
| 1267 | <circle cx="201.5" cy="802" r="10" /> |
| 1268 | <path d="M201.5,795 v14 M194.5,802 h14" /> |
| 1269 | </g> |
| 1270 | </g> |
| 1271 | <g class="gate" data-location="0,0-0,6"> |
| 1272 | <a href="#" class="qs-circuit-source-link"> |
| 1273 | <title> |
| 1274 | conditionals.qs:10:5 SequentialIfs(qs[9], qs[10], qs[11]); |
| 1275 | </title> |
| 1276 | <g> |
| 1277 | <g> |
| 1278 | <rect |
| 1279 | class="gate-unitary" |
| 1280 | x="176" |
| 1281 | y="1008" |
| 1282 | width="107" |
| 1283 | height="300" |
| 1284 | data-wire-ys="[1028,1080,1132,1184,1236,1288]" |
| 1285 | data-width="107" |
| 1286 | /> |
| 1287 | <text |
| 1288 | font-size="14" |
| 1289 | x="229.5" |
| 1290 | y="1158" |
| 1291 | class="qs-maintext" |
| 1292 | > |
| 1293 | <tspan class="qs-mathtext">SequentialIfs</tspan> |
| 1294 | </text> |
| 1295 | </g> |
| 1296 | </g> |
| 1297 | </a> |
| 1298 | <g class="gate-control gate-expand"> |
| 1299 | <circle cx="178" cy="1010" r="10" /> |
| 1300 | <path d="M178,1003 v14 M171,1010 h14" /> |
| 1301 | </g> |
| 1302 | </g> |
| 1303 | <g class="gate" data-location="0,0-0,7"> |
| 1304 | <a href="#" class="qs-circuit-source-link"> |
| 1305 | <title> |
| 1306 | conditionals.qs:11:5 NestedIfs(qs[12], qs[13], qs[14]); |
| 1307 | </title> |
| 1308 | <g> |
| 1309 | <g> |
| 1310 | <rect |
| 1311 | class="gate-unitary" |
| 1312 | x="187" |
| 1313 | y="1320" |
| 1314 | width="85" |
| 1315 | height="300" |
| 1316 | data-wire-ys="[1340,1392,1444,1496,1548,1600]" |
| 1317 | data-width="85" |
| 1318 | /> |
| 1319 | <text |
| 1320 | font-size="14" |
| 1321 | x="229.5" |
| 1322 | y="1470" |
| 1323 | class="qs-maintext" |
| 1324 | > |
| 1325 | <tspan class="qs-mathtext">NestedIfs</tspan> |
| 1326 | </text> |
| 1327 | </g> |
| 1328 | </g> |
| 1329 | </a> |
| 1330 | <g class="gate-control gate-expand"> |
| 1331 | <circle cx="189" cy="1322" r="10" /> |
| 1332 | <path d="M189,1315 v14 M182,1322 h14" /> |
| 1333 | </g> |
| 1334 | </g> |
| 1335 | <g class="gate" data-location="0,0-0,8"> |
| 1336 | <a href="#" class="qs-circuit-source-link"> |
| 1337 | <title> |
| 1338 | conditionals.qs:12:5 |
| 1339 | MultiplePossibleFloatValuesInUnitaryArg(qs[15], qs[16]); |
| 1340 | </title> |
| 1341 | <g> |
| 1342 | <g> |
| 1343 | <rect |
| 1344 | class="gate-unitary" |
| 1345 | x="90" |
| 1346 | y="1632" |
| 1347 | width="279" |
| 1348 | height="196" |
| 1349 | data-wire-ys="[1652,1704,1756,1808]" |
| 1350 | data-width="279" |
| 1351 | /> |
| 1352 | <text |
| 1353 | font-size="14" |
| 1354 | x="229.5" |
| 1355 | y="1730" |
| 1356 | class="qs-maintext" |
| 1357 | > |
| 1358 | <tspan class="qs-mathtext"> |
| 1359 | MultiplePossibleFloatValuesInUnitaryArg |
| 1360 | </tspan> |
| 1361 | </text> |
| 1362 | </g> |
| 1363 | </g> |
| 1364 | </a> |
| 1365 | <g class="gate-control gate-expand"> |
| 1366 | <circle cx="92" cy="1634" r="10" /> |
| 1367 | <path d="M92,1627 v14 M85,1634 h14" /> |
| 1368 | </g> |
| 1369 | </g> |
| 1370 | <g class="gate" data-location="0,0-0,9"> |
| 1371 | <a href="#" class="qs-circuit-source-link"> |
| 1372 | <title> |
| 1373 | conditionals.qs:13:5 CustomIntrinsicVariableArg(qs[17]); |
| 1374 | </title> |
| 1375 | <g> |
| 1376 | <g> |
| 1377 | <rect |
| 1378 | class="gate-unitary" |
| 1379 | x="131" |
| 1380 | y="1840" |
| 1381 | width="197" |
| 1382 | height="92" |
| 1383 | data-wire-ys="[1860,1912]" |
| 1384 | data-width="197" |
| 1385 | /> |
| 1386 | <text |
| 1387 | font-size="14" |
| 1388 | x="229.5" |
| 1389 | y="1886" |
| 1390 | class="qs-maintext" |
| 1391 | > |
| 1392 | <tspan class="qs-mathtext"> |
| 1393 | CustomIntrinsicVariableArg |
| 1394 | </tspan> |
| 1395 | </text> |
| 1396 | </g> |
| 1397 | </g> |
| 1398 | </a> |
| 1399 | <g class="gate-control gate-expand"> |
| 1400 | <circle cx="133" cy="1842" r="10" /> |
| 1401 | <path d="M133,1835 v14 M126,1842 h14" /> |
| 1402 | </g> |
| 1403 | </g> |
| 1404 | <g class="gate" data-location="0,0-0,10"> |
| 1405 | <a href="#" class="qs-circuit-source-link"> |
| 1406 | <title> |
| 1407 | conditionals.qs:14:5 BranchOnDynamicDouble(qs[18], qs[19]); |
| 1408 | </title> |
| 1409 | <g> |
| 1410 | <g> |
| 1411 | <rect |
| 1412 | class="gate-unitary" |
| 1413 | x="145.5" |
| 1414 | y="1944" |
| 1415 | width="168" |
| 1416 | height="196" |
| 1417 | data-wire-ys="[1964,2016,2068,2120]" |
| 1418 | data-width="168" |
| 1419 | /> |
| 1420 | <text |
| 1421 | font-size="14" |
| 1422 | x="229.5" |
| 1423 | y="2042" |
| 1424 | class="qs-maintext" |
| 1425 | > |
| 1426 | <tspan class="qs-mathtext">BranchOnDynamicDouble</tspan> |
| 1427 | </text> |
| 1428 | </g> |
| 1429 | </g> |
| 1430 | </a> |
| 1431 | <g class="gate-control gate-expand"> |
| 1432 | <circle cx="147.5" cy="1946" r="10" /> |
| 1433 | <path d="M147.5,1939 v14 M140.5,1946 h14" /> |
| 1434 | </g> |
| 1435 | </g> |
| 1436 | <g class="gate" data-location="0,0-0,11"> |
| 1437 | <a href="#" class="qs-circuit-source-link"> |
| 1438 | <title> |
| 1439 | conditionals.qs:15:5 BranchOnDynamicBool(qs[20], qs[21]); |
| 1440 | </title> |
| 1441 | <g> |
| 1442 | <g> |
| 1443 | <rect |
| 1444 | class="gate-unitary" |
| 1445 | x="152.5" |
| 1446 | y="2152" |
| 1447 | width="154" |
| 1448 | height="196" |
| 1449 | data-wire-ys="[2172,2224,2276,2328]" |
| 1450 | data-width="154" |
| 1451 | /> |
| 1452 | <text |
| 1453 | font-size="14" |
| 1454 | x="229.5" |
| 1455 | y="2250" |
| 1456 | class="qs-maintext" |
| 1457 | > |
| 1458 | <tspan class="qs-mathtext">BranchOnDynamicBool</tspan> |
| 1459 | </text> |
| 1460 | </g> |
| 1461 | </g> |
| 1462 | </a> |
| 1463 | <g class="gate-control gate-expand"> |
| 1464 | <circle cx="154.5" cy="2154" r="10" /> |
| 1465 | <path d="M154.5,2147 v14 M147.5,2154 h14" /> |
| 1466 | </g> |
| 1467 | </g> |
| 1468 | <g class="gate" data-location="0,0-0,12"> |
| 1469 | <a href="#" class="qs-circuit-source-link"> |
| 1470 | <title> |
| 1471 | conditionals.qs:16:5 NestedCallablesInBranch(qs[22], |
| 1472 | qs[23]); |
| 1473 | </title> |
| 1474 | <g> |
| 1475 | <g> |
| 1476 | <rect |
| 1477 | class="gate-unitary" |
| 1478 | x="141.5" |
| 1479 | y="2360" |
| 1480 | width="176" |
| 1481 | height="144" |
| 1482 | data-wire-ys="[2380,2432,2484]" |
| 1483 | data-width="176" |
| 1484 | /> |
| 1485 | <text |
| 1486 | font-size="14" |
| 1487 | x="229.5" |
| 1488 | y="2432" |
| 1489 | class="qs-maintext" |
| 1490 | > |
| 1491 | <tspan class="qs-mathtext"> |
| 1492 | NestedCallablesInBranch |
| 1493 | </tspan> |
| 1494 | </text> |
| 1495 | </g> |
| 1496 | </g> |
| 1497 | </a> |
| 1498 | <g class="gate-control gate-expand"> |
| 1499 | <circle cx="143.5" cy="2362" r="10" /> |
| 1500 | <path d="M143.5,2355 v14 M136.5,2362 h14" /> |
| 1501 | </g> |
| 1502 | </g> |
| 1503 | <g class="gate" data-location="0,0-0,13"> |
| 1504 | <a href="#" class="qs-circuit-source-link"> |
| 1505 | <title> |
| 1506 | conditionals.qs:17:5 ConditionalInLoop(qs[24], qs[25]); |
| 1507 | </title> |
| 1508 | <g> |
| 1509 | <g> |
| 1510 | <rect |
| 1511 | class="gate-unitary" |
| 1512 | x="163" |
| 1513 | y="2516" |
| 1514 | width="133" |
| 1515 | height="196" |
| 1516 | data-wire-ys="[2536,2588,2640,2692]" |
| 1517 | data-width="133" |
| 1518 | /> |
| 1519 | <text |
| 1520 | font-size="14" |
| 1521 | x="229.5" |
| 1522 | y="2614" |
| 1523 | class="qs-maintext" |
| 1524 | > |
| 1525 | <tspan class="qs-mathtext">ConditionalInLoop</tspan> |
| 1526 | </text> |
| 1527 | </g> |
| 1528 | </g> |
| 1529 | </a> |
| 1530 | <g class="gate-control gate-expand"> |
| 1531 | <circle cx="165" cy="2518" r="10" /> |
| 1532 | <path d="M165,2511 v14 M158,2518 h14" /> |
| 1533 | </g> |
| 1534 | </g> |
| 1535 | <g class="gate" data-location="0,0-0,14"> |
| 1536 | <a href="#" class="qs-circuit-source-link"> |
| 1537 | <title> |
| 1538 | conditionals.qs:18:5 NestedConditionalsInCallable(qs[26], |
| 1539 | qs[27], qs[28]); |
| 1540 | </title> |
| 1541 | <g> |
| 1542 | <g> |
| 1543 | <rect |
| 1544 | class="gate-unitary" |
| 1545 | x="128.5" |
| 1546 | y="2724" |
| 1547 | width="202" |
| 1548 | height="248" |
| 1549 | data-wire-ys="[2744,2796,2848,2900,2952]" |
| 1550 | data-width="202" |
| 1551 | /> |
| 1552 | <text |
| 1553 | font-size="14" |
| 1554 | x="229.5" |
| 1555 | y="2848" |
| 1556 | class="qs-maintext" |
| 1557 | > |
| 1558 | <tspan class="qs-mathtext"> |
| 1559 | NestedConditionalsInCallable |
| 1560 | </tspan> |
| 1561 | </text> |
| 1562 | </g> |
| 1563 | </g> |
| 1564 | </a> |
| 1565 | <g class="gate-control gate-expand"> |
| 1566 | <circle cx="130.5" cy="2726" r="10" /> |
| 1567 | <path d="M130.5,2719 v14 M123.5,2726 h14" /> |
| 1568 | </g> |
| 1569 | </g> |
| 1570 | <g class="gate" data-location="0,0-0,15"> |
| 1571 | <a href="#" class="qs-circuit-source-link"> |
| 1572 | <title> |
| 1573 | conditionals.qs:19:5 MeasurementInConditional(qs[29], |
| 1574 | qs[30], qs[31]); |
| 1575 | </title> |
| 1576 | <g> |
| 1577 | <g> |
| 1578 | <rect |
| 1579 | class="gate-unitary" |
| 1580 | x="135" |
| 1581 | y="2984" |
| 1582 | width="189" |
| 1583 | height="248" |
| 1584 | data-wire-ys="[3004,3056,3108,3160,3212]" |
| 1585 | data-width="189" |
| 1586 | /> |
| 1587 | <text |
| 1588 | font-size="14" |
| 1589 | x="229.5" |
| 1590 | y="3108" |
| 1591 | class="qs-maintext" |
| 1592 | > |
| 1593 | <tspan class="qs-mathtext"> |
| 1594 | MeasurementInConditional |
| 1595 | </tspan> |
| 1596 | </text> |
| 1597 | </g> |
| 1598 | </g> |
| 1599 | </a> |
| 1600 | <g class="gate-control gate-expand"> |
| 1601 | <circle cx="137" cy="2986" r="10" /> |
| 1602 | <path d="M137,2979 v14 M130,2986 h14" /> |
| 1603 | </g> |
| 1604 | </g> |
| 1605 | <g class="gate" data-location="0,0-0,16"> |
| 1606 | <a href="#" class="qs-circuit-source-link"> |
| 1607 | <title> |
| 1608 | conditionals.qs:20:5 BranchDueToBinOpShortCircuit(qs[32], |
| 1609 | qs[33]); |
| 1610 | </title> |
| 1611 | <g> |
| 1612 | <g> |
| 1613 | <rect |
| 1614 | class="gate-unitary" |
| 1615 | x="122.5" |
| 1616 | y="3244" |
| 1617 | width="214" |
| 1618 | height="300" |
| 1619 | data-wire-ys="[3264,3316,3368,3420,3472,3524]" |
| 1620 | data-width="214" |
| 1621 | /> |
| 1622 | <text |
| 1623 | font-size="14" |
| 1624 | x="229.5" |
| 1625 | y="3394" |
| 1626 | class="qs-maintext" |
| 1627 | > |
| 1628 | <tspan class="qs-mathtext"> |
| 1629 | BranchDueToBinOpShortCircuit |
| 1630 | </tspan> |
| 1631 | </text> |
| 1632 | </g> |
| 1633 | </g> |
| 1634 | </a> |
| 1635 | <g class="gate-control gate-expand"> |
| 1636 | <circle cx="124.5" cy="3246" r="10" /> |
| 1637 | <path d="M124.5,3239 v14 M117.5,3246 h14" /> |
| 1638 | </g> |
| 1639 | </g> |
| 1640 | <g class="gate" data-location="0,0-1,0"> |
| 1641 | <a href="#" class="qs-circuit-source-link"> |
| 1642 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1643 | <g> |
| 1644 | <g> |
| 1645 | <rect |
| 1646 | class="gate-ket" |
| 1647 | x="381" |
| 1648 | y="72" |
| 1649 | width="40" |
| 1650 | height="40" |
| 1651 | data-wire-ys="[92]" |
| 1652 | data-width="40" |
| 1653 | /> |
| 1654 | <text |
| 1655 | font-size="14" |
| 1656 | x="401" |
| 1657 | y="92" |
| 1658 | class="qs-maintext ket-text" |
| 1659 | > |
| 1660 | |0⟩ |
| 1661 | </text> |
| 1662 | </g> |
| 1663 | </g> |
| 1664 | </a> |
| 1665 | </g> |
| 1666 | <g class="gate" data-location="0,0-1,1"> |
| 1667 | <a href="#" class="qs-circuit-source-link"> |
| 1668 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1669 | <g> |
| 1670 | <g> |
| 1671 | <rect |
| 1672 | class="gate-ket" |
| 1673 | x="381" |
| 1674 | y="176" |
| 1675 | width="40" |
| 1676 | height="40" |
| 1677 | data-wire-ys="[196]" |
| 1678 | data-width="40" |
| 1679 | /> |
| 1680 | <text |
| 1681 | font-size="14" |
| 1682 | x="401" |
| 1683 | y="196" |
| 1684 | class="qs-maintext ket-text" |
| 1685 | > |
| 1686 | |0⟩ |
| 1687 | </text> |
| 1688 | </g> |
| 1689 | </g> |
| 1690 | </a> |
| 1691 | </g> |
| 1692 | <g class="gate" data-location="0,0-1,2"> |
| 1693 | <a href="#" class="qs-circuit-source-link"> |
| 1694 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1695 | <g> |
| 1696 | <g> |
| 1697 | <rect |
| 1698 | class="gate-ket" |
| 1699 | x="381" |
| 1700 | y="280" |
| 1701 | width="40" |
| 1702 | height="40" |
| 1703 | data-wire-ys="[300]" |
| 1704 | data-width="40" |
| 1705 | /> |
| 1706 | <text |
| 1707 | font-size="14" |
| 1708 | x="401" |
| 1709 | y="300" |
| 1710 | class="qs-maintext ket-text" |
| 1711 | > |
| 1712 | |0⟩ |
| 1713 | </text> |
| 1714 | </g> |
| 1715 | </g> |
| 1716 | </a> |
| 1717 | </g> |
| 1718 | <g class="gate" data-location="0,0-1,3"> |
| 1719 | <a href="#" class="qs-circuit-source-link"> |
| 1720 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1721 | <g> |
| 1722 | <g> |
| 1723 | <rect |
| 1724 | class="gate-ket" |
| 1725 | x="381" |
| 1726 | y="384" |
| 1727 | width="40" |
| 1728 | height="40" |
| 1729 | data-wire-ys="[404]" |
| 1730 | data-width="40" |
| 1731 | /> |
| 1732 | <text |
| 1733 | font-size="14" |
| 1734 | x="401" |
| 1735 | y="404" |
| 1736 | class="qs-maintext ket-text" |
| 1737 | > |
| 1738 | |0⟩ |
| 1739 | </text> |
| 1740 | </g> |
| 1741 | </g> |
| 1742 | </a> |
| 1743 | </g> |
| 1744 | <g class="gate" data-location="0,0-1,4"> |
| 1745 | <a href="#" class="qs-circuit-source-link"> |
| 1746 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1747 | <g> |
| 1748 | <g> |
| 1749 | <rect |
| 1750 | class="gate-ket" |
| 1751 | x="381" |
| 1752 | y="488" |
| 1753 | width="40" |
| 1754 | height="40" |
| 1755 | data-wire-ys="[508]" |
| 1756 | data-width="40" |
| 1757 | /> |
| 1758 | <text |
| 1759 | font-size="14" |
| 1760 | x="401" |
| 1761 | y="508" |
| 1762 | class="qs-maintext ket-text" |
| 1763 | > |
| 1764 | |0⟩ |
| 1765 | </text> |
| 1766 | </g> |
| 1767 | </g> |
| 1768 | </a> |
| 1769 | </g> |
| 1770 | <g class="gate" data-location="0,0-1,5"> |
| 1771 | <a href="#" class="qs-circuit-source-link"> |
| 1772 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1773 | <g> |
| 1774 | <g> |
| 1775 | <rect |
| 1776 | class="gate-ket" |
| 1777 | x="381" |
| 1778 | y="592" |
| 1779 | width="40" |
| 1780 | height="40" |
| 1781 | data-wire-ys="[612]" |
| 1782 | data-width="40" |
| 1783 | /> |
| 1784 | <text |
| 1785 | font-size="14" |
| 1786 | x="401" |
| 1787 | y="612" |
| 1788 | class="qs-maintext ket-text" |
| 1789 | > |
| 1790 | |0⟩ |
| 1791 | </text> |
| 1792 | </g> |
| 1793 | </g> |
| 1794 | </a> |
| 1795 | </g> |
| 1796 | <g class="gate" data-location="0,0-1,6"> |
| 1797 | <a href="#" class="qs-circuit-source-link"> |
| 1798 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1799 | <g> |
| 1800 | <g> |
| 1801 | <rect |
| 1802 | class="gate-ket" |
| 1803 | x="381" |
| 1804 | y="696" |
| 1805 | width="40" |
| 1806 | height="40" |
| 1807 | data-wire-ys="[716]" |
| 1808 | data-width="40" |
| 1809 | /> |
| 1810 | <text |
| 1811 | font-size="14" |
| 1812 | x="401" |
| 1813 | y="716" |
| 1814 | class="qs-maintext ket-text" |
| 1815 | > |
| 1816 | |0⟩ |
| 1817 | </text> |
| 1818 | </g> |
| 1819 | </g> |
| 1820 | </a> |
| 1821 | </g> |
| 1822 | <g class="gate" data-location="0,0-1,7"> |
| 1823 | <a href="#" class="qs-circuit-source-link"> |
| 1824 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1825 | <g> |
| 1826 | <g> |
| 1827 | <rect |
| 1828 | class="gate-ket" |
| 1829 | x="381" |
| 1830 | y="800" |
| 1831 | width="40" |
| 1832 | height="40" |
| 1833 | data-wire-ys="[820]" |
| 1834 | data-width="40" |
| 1835 | /> |
| 1836 | <text |
| 1837 | font-size="14" |
| 1838 | x="401" |
| 1839 | y="820" |
| 1840 | class="qs-maintext ket-text" |
| 1841 | > |
| 1842 | |0⟩ |
| 1843 | </text> |
| 1844 | </g> |
| 1845 | </g> |
| 1846 | </a> |
| 1847 | </g> |
| 1848 | <g class="gate" data-location="0,0-1,8"> |
| 1849 | <a href="#" class="qs-circuit-source-link"> |
| 1850 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1851 | <g> |
| 1852 | <g> |
| 1853 | <rect |
| 1854 | class="gate-ket" |
| 1855 | x="381" |
| 1856 | y="904" |
| 1857 | width="40" |
| 1858 | height="40" |
| 1859 | data-wire-ys="[924]" |
| 1860 | data-width="40" |
| 1861 | /> |
| 1862 | <text |
| 1863 | font-size="14" |
| 1864 | x="401" |
| 1865 | y="924" |
| 1866 | class="qs-maintext ket-text" |
| 1867 | > |
| 1868 | |0⟩ |
| 1869 | </text> |
| 1870 | </g> |
| 1871 | </g> |
| 1872 | </a> |
| 1873 | </g> |
| 1874 | <g class="gate" data-location="0,0-1,9"> |
| 1875 | <a href="#" class="qs-circuit-source-link"> |
| 1876 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1877 | <g> |
| 1878 | <g> |
| 1879 | <rect |
| 1880 | class="gate-ket" |
| 1881 | x="381" |
| 1882 | y="1008" |
| 1883 | width="40" |
| 1884 | height="40" |
| 1885 | data-wire-ys="[1028]" |
| 1886 | data-width="40" |
| 1887 | /> |
| 1888 | <text |
| 1889 | font-size="14" |
| 1890 | x="401" |
| 1891 | y="1028" |
| 1892 | class="qs-maintext ket-text" |
| 1893 | > |
| 1894 | |0⟩ |
| 1895 | </text> |
| 1896 | </g> |
| 1897 | </g> |
| 1898 | </a> |
| 1899 | </g> |
| 1900 | <g class="gate" data-location="0,0-1,10"> |
| 1901 | <a href="#" class="qs-circuit-source-link"> |
| 1902 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1903 | <g> |
| 1904 | <g> |
| 1905 | <rect |
| 1906 | class="gate-ket" |
| 1907 | x="381" |
| 1908 | y="1112" |
| 1909 | width="40" |
| 1910 | height="40" |
| 1911 | data-wire-ys="[1132]" |
| 1912 | data-width="40" |
| 1913 | /> |
| 1914 | <text |
| 1915 | font-size="14" |
| 1916 | x="401" |
| 1917 | y="1132" |
| 1918 | class="qs-maintext ket-text" |
| 1919 | > |
| 1920 | |0⟩ |
| 1921 | </text> |
| 1922 | </g> |
| 1923 | </g> |
| 1924 | </a> |
| 1925 | </g> |
| 1926 | <g class="gate" data-location="0,0-1,11"> |
| 1927 | <a href="#" class="qs-circuit-source-link"> |
| 1928 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1929 | <g> |
| 1930 | <g> |
| 1931 | <rect |
| 1932 | class="gate-ket" |
| 1933 | x="381" |
| 1934 | y="1216" |
| 1935 | width="40" |
| 1936 | height="40" |
| 1937 | data-wire-ys="[1236]" |
| 1938 | data-width="40" |
| 1939 | /> |
| 1940 | <text |
| 1941 | font-size="14" |
| 1942 | x="401" |
| 1943 | y="1236" |
| 1944 | class="qs-maintext ket-text" |
| 1945 | > |
| 1946 | |0⟩ |
| 1947 | </text> |
| 1948 | </g> |
| 1949 | </g> |
| 1950 | </a> |
| 1951 | </g> |
| 1952 | <g class="gate" data-location="0,0-1,12"> |
| 1953 | <a href="#" class="qs-circuit-source-link"> |
| 1954 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1955 | <g> |
| 1956 | <g> |
| 1957 | <rect |
| 1958 | class="gate-ket" |
| 1959 | x="381" |
| 1960 | y="1320" |
| 1961 | width="40" |
| 1962 | height="40" |
| 1963 | data-wire-ys="[1340]" |
| 1964 | data-width="40" |
| 1965 | /> |
| 1966 | <text |
| 1967 | font-size="14" |
| 1968 | x="401" |
| 1969 | y="1340" |
| 1970 | class="qs-maintext ket-text" |
| 1971 | > |
| 1972 | |0⟩ |
| 1973 | </text> |
| 1974 | </g> |
| 1975 | </g> |
| 1976 | </a> |
| 1977 | </g> |
| 1978 | <g class="gate" data-location="0,0-1,13"> |
| 1979 | <a href="#" class="qs-circuit-source-link"> |
| 1980 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 1981 | <g> |
| 1982 | <g> |
| 1983 | <rect |
| 1984 | class="gate-ket" |
| 1985 | x="381" |
| 1986 | y="1424" |
| 1987 | width="40" |
| 1988 | height="40" |
| 1989 | data-wire-ys="[1444]" |
| 1990 | data-width="40" |
| 1991 | /> |
| 1992 | <text |
| 1993 | font-size="14" |
| 1994 | x="401" |
| 1995 | y="1444" |
| 1996 | class="qs-maintext ket-text" |
| 1997 | > |
| 1998 | |0⟩ |
| 1999 | </text> |
| 2000 | </g> |
| 2001 | </g> |
| 2002 | </a> |
| 2003 | </g> |
| 2004 | <g class="gate" data-location="0,0-1,14"> |
| 2005 | <a href="#" class="qs-circuit-source-link"> |
| 2006 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2007 | <g> |
| 2008 | <g> |
| 2009 | <rect |
| 2010 | class="gate-ket" |
| 2011 | x="381" |
| 2012 | y="1528" |
| 2013 | width="40" |
| 2014 | height="40" |
| 2015 | data-wire-ys="[1548]" |
| 2016 | data-width="40" |
| 2017 | /> |
| 2018 | <text |
| 2019 | font-size="14" |
| 2020 | x="401" |
| 2021 | y="1548" |
| 2022 | class="qs-maintext ket-text" |
| 2023 | > |
| 2024 | |0⟩ |
| 2025 | </text> |
| 2026 | </g> |
| 2027 | </g> |
| 2028 | </a> |
| 2029 | </g> |
| 2030 | <g class="gate" data-location="0,0-1,15"> |
| 2031 | <a href="#" class="qs-circuit-source-link"> |
| 2032 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2033 | <g> |
| 2034 | <g> |
| 2035 | <rect |
| 2036 | class="gate-ket" |
| 2037 | x="381" |
| 2038 | y="1632" |
| 2039 | width="40" |
| 2040 | height="40" |
| 2041 | data-wire-ys="[1652]" |
| 2042 | data-width="40" |
| 2043 | /> |
| 2044 | <text |
| 2045 | font-size="14" |
| 2046 | x="401" |
| 2047 | y="1652" |
| 2048 | class="qs-maintext ket-text" |
| 2049 | > |
| 2050 | |0⟩ |
| 2051 | </text> |
| 2052 | </g> |
| 2053 | </g> |
| 2054 | </a> |
| 2055 | </g> |
| 2056 | <g class="gate" data-location="0,0-1,16"> |
| 2057 | <a href="#" class="qs-circuit-source-link"> |
| 2058 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2059 | <g> |
| 2060 | <g> |
| 2061 | <rect |
| 2062 | class="gate-ket" |
| 2063 | x="381" |
| 2064 | y="1736" |
| 2065 | width="40" |
| 2066 | height="40" |
| 2067 | data-wire-ys="[1756]" |
| 2068 | data-width="40" |
| 2069 | /> |
| 2070 | <text |
| 2071 | font-size="14" |
| 2072 | x="401" |
| 2073 | y="1756" |
| 2074 | class="qs-maintext ket-text" |
| 2075 | > |
| 2076 | |0⟩ |
| 2077 | </text> |
| 2078 | </g> |
| 2079 | </g> |
| 2080 | </a> |
| 2081 | </g> |
| 2082 | <g class="gate" data-location="0,0-1,17"> |
| 2083 | <a href="#" class="qs-circuit-source-link"> |
| 2084 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2085 | <g> |
| 2086 | <g> |
| 2087 | <rect |
| 2088 | class="gate-ket" |
| 2089 | x="381" |
| 2090 | y="1840" |
| 2091 | width="40" |
| 2092 | height="40" |
| 2093 | data-wire-ys="[1860]" |
| 2094 | data-width="40" |
| 2095 | /> |
| 2096 | <text |
| 2097 | font-size="14" |
| 2098 | x="401" |
| 2099 | y="1860" |
| 2100 | class="qs-maintext ket-text" |
| 2101 | > |
| 2102 | |0⟩ |
| 2103 | </text> |
| 2104 | </g> |
| 2105 | </g> |
| 2106 | </a> |
| 2107 | </g> |
| 2108 | <g class="gate" data-location="0,0-1,18"> |
| 2109 | <a href="#" class="qs-circuit-source-link"> |
| 2110 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2111 | <g> |
| 2112 | <g> |
| 2113 | <rect |
| 2114 | class="gate-ket" |
| 2115 | x="381" |
| 2116 | y="1944" |
| 2117 | width="40" |
| 2118 | height="40" |
| 2119 | data-wire-ys="[1964]" |
| 2120 | data-width="40" |
| 2121 | /> |
| 2122 | <text |
| 2123 | font-size="14" |
| 2124 | x="401" |
| 2125 | y="1964" |
| 2126 | class="qs-maintext ket-text" |
| 2127 | > |
| 2128 | |0⟩ |
| 2129 | </text> |
| 2130 | </g> |
| 2131 | </g> |
| 2132 | </a> |
| 2133 | </g> |
| 2134 | <g class="gate" data-location="0,0-1,19"> |
| 2135 | <a href="#" class="qs-circuit-source-link"> |
| 2136 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2137 | <g> |
| 2138 | <g> |
| 2139 | <rect |
| 2140 | class="gate-ket" |
| 2141 | x="381" |
| 2142 | y="2048" |
| 2143 | width="40" |
| 2144 | height="40" |
| 2145 | data-wire-ys="[2068]" |
| 2146 | data-width="40" |
| 2147 | /> |
| 2148 | <text |
| 2149 | font-size="14" |
| 2150 | x="401" |
| 2151 | y="2068" |
| 2152 | class="qs-maintext ket-text" |
| 2153 | > |
| 2154 | |0⟩ |
| 2155 | </text> |
| 2156 | </g> |
| 2157 | </g> |
| 2158 | </a> |
| 2159 | </g> |
| 2160 | <g class="gate" data-location="0,0-1,20"> |
| 2161 | <a href="#" class="qs-circuit-source-link"> |
| 2162 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2163 | <g> |
| 2164 | <g> |
| 2165 | <rect |
| 2166 | class="gate-ket" |
| 2167 | x="381" |
| 2168 | y="2152" |
| 2169 | width="40" |
| 2170 | height="40" |
| 2171 | data-wire-ys="[2172]" |
| 2172 | data-width="40" |
| 2173 | /> |
| 2174 | <text |
| 2175 | font-size="14" |
| 2176 | x="401" |
| 2177 | y="2172" |
| 2178 | class="qs-maintext ket-text" |
| 2179 | > |
| 2180 | |0⟩ |
| 2181 | </text> |
| 2182 | </g> |
| 2183 | </g> |
| 2184 | </a> |
| 2185 | </g> |
| 2186 | <g class="gate" data-location="0,0-1,21"> |
| 2187 | <a href="#" class="qs-circuit-source-link"> |
| 2188 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2189 | <g> |
| 2190 | <g> |
| 2191 | <rect |
| 2192 | class="gate-ket" |
| 2193 | x="381" |
| 2194 | y="2256" |
| 2195 | width="40" |
| 2196 | height="40" |
| 2197 | data-wire-ys="[2276]" |
| 2198 | data-width="40" |
| 2199 | /> |
| 2200 | <text |
| 2201 | font-size="14" |
| 2202 | x="401" |
| 2203 | y="2276" |
| 2204 | class="qs-maintext ket-text" |
| 2205 | > |
| 2206 | |0⟩ |
| 2207 | </text> |
| 2208 | </g> |
| 2209 | </g> |
| 2210 | </a> |
| 2211 | </g> |
| 2212 | <g class="gate" data-location="0,0-1,22"> |
| 2213 | <a href="#" class="qs-circuit-source-link"> |
| 2214 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2215 | <g> |
| 2216 | <g> |
| 2217 | <rect |
| 2218 | class="gate-ket" |
| 2219 | x="381" |
| 2220 | y="2360" |
| 2221 | width="40" |
| 2222 | height="40" |
| 2223 | data-wire-ys="[2380]" |
| 2224 | data-width="40" |
| 2225 | /> |
| 2226 | <text |
| 2227 | font-size="14" |
| 2228 | x="401" |
| 2229 | y="2380" |
| 2230 | class="qs-maintext ket-text" |
| 2231 | > |
| 2232 | |0⟩ |
| 2233 | </text> |
| 2234 | </g> |
| 2235 | </g> |
| 2236 | </a> |
| 2237 | </g> |
| 2238 | <g class="gate" data-location="0,0-1,23"> |
| 2239 | <a href="#" class="qs-circuit-source-link"> |
| 2240 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2241 | <g> |
| 2242 | <g> |
| 2243 | <rect |
| 2244 | class="gate-ket" |
| 2245 | x="381" |
| 2246 | y="2412" |
| 2247 | width="40" |
| 2248 | height="40" |
| 2249 | data-wire-ys="[2432]" |
| 2250 | data-width="40" |
| 2251 | /> |
| 2252 | <text |
| 2253 | font-size="14" |
| 2254 | x="401" |
| 2255 | y="2432" |
| 2256 | class="qs-maintext ket-text" |
| 2257 | > |
| 2258 | |0⟩ |
| 2259 | </text> |
| 2260 | </g> |
| 2261 | </g> |
| 2262 | </a> |
| 2263 | </g> |
| 2264 | <g class="gate" data-location="0,0-1,24"> |
| 2265 | <a href="#" class="qs-circuit-source-link"> |
| 2266 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2267 | <g> |
| 2268 | <g> |
| 2269 | <rect |
| 2270 | class="gate-ket" |
| 2271 | x="381" |
| 2272 | y="2516" |
| 2273 | width="40" |
| 2274 | height="40" |
| 2275 | data-wire-ys="[2536]" |
| 2276 | data-width="40" |
| 2277 | /> |
| 2278 | <text |
| 2279 | font-size="14" |
| 2280 | x="401" |
| 2281 | y="2536" |
| 2282 | class="qs-maintext ket-text" |
| 2283 | > |
| 2284 | |0⟩ |
| 2285 | </text> |
| 2286 | </g> |
| 2287 | </g> |
| 2288 | </a> |
| 2289 | </g> |
| 2290 | <g class="gate" data-location="0,0-1,25"> |
| 2291 | <a href="#" class="qs-circuit-source-link"> |
| 2292 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2293 | <g> |
| 2294 | <g> |
| 2295 | <rect |
| 2296 | class="gate-ket" |
| 2297 | x="381" |
| 2298 | y="2568" |
| 2299 | width="40" |
| 2300 | height="40" |
| 2301 | data-wire-ys="[2588]" |
| 2302 | data-width="40" |
| 2303 | /> |
| 2304 | <text |
| 2305 | font-size="14" |
| 2306 | x="401" |
| 2307 | y="2588" |
| 2308 | class="qs-maintext ket-text" |
| 2309 | > |
| 2310 | |0⟩ |
| 2311 | </text> |
| 2312 | </g> |
| 2313 | </g> |
| 2314 | </a> |
| 2315 | </g> |
| 2316 | <g class="gate" data-location="0,0-1,26"> |
| 2317 | <a href="#" class="qs-circuit-source-link"> |
| 2318 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2319 | <g> |
| 2320 | <g> |
| 2321 | <rect |
| 2322 | class="gate-ket" |
| 2323 | x="381" |
| 2324 | y="2724" |
| 2325 | width="40" |
| 2326 | height="40" |
| 2327 | data-wire-ys="[2744]" |
| 2328 | data-width="40" |
| 2329 | /> |
| 2330 | <text |
| 2331 | font-size="14" |
| 2332 | x="401" |
| 2333 | y="2744" |
| 2334 | class="qs-maintext ket-text" |
| 2335 | > |
| 2336 | |0⟩ |
| 2337 | </text> |
| 2338 | </g> |
| 2339 | </g> |
| 2340 | </a> |
| 2341 | </g> |
| 2342 | <g class="gate" data-location="0,0-1,27"> |
| 2343 | <a href="#" class="qs-circuit-source-link"> |
| 2344 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2345 | <g> |
| 2346 | <g> |
| 2347 | <rect |
| 2348 | class="gate-ket" |
| 2349 | x="381" |
| 2350 | y="2776" |
| 2351 | width="40" |
| 2352 | height="40" |
| 2353 | data-wire-ys="[2796]" |
| 2354 | data-width="40" |
| 2355 | /> |
| 2356 | <text |
| 2357 | font-size="14" |
| 2358 | x="401" |
| 2359 | y="2796" |
| 2360 | class="qs-maintext ket-text" |
| 2361 | > |
| 2362 | |0⟩ |
| 2363 | </text> |
| 2364 | </g> |
| 2365 | </g> |
| 2366 | </a> |
| 2367 | </g> |
| 2368 | <g class="gate" data-location="0,0-1,28"> |
| 2369 | <a href="#" class="qs-circuit-source-link"> |
| 2370 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2371 | <g> |
| 2372 | <g> |
| 2373 | <rect |
| 2374 | class="gate-ket" |
| 2375 | x="381" |
| 2376 | y="2880" |
| 2377 | width="40" |
| 2378 | height="40" |
| 2379 | data-wire-ys="[2900]" |
| 2380 | data-width="40" |
| 2381 | /> |
| 2382 | <text |
| 2383 | font-size="14" |
| 2384 | x="401" |
| 2385 | y="2900" |
| 2386 | class="qs-maintext ket-text" |
| 2387 | > |
| 2388 | |0⟩ |
| 2389 | </text> |
| 2390 | </g> |
| 2391 | </g> |
| 2392 | </a> |
| 2393 | </g> |
| 2394 | <g class="gate" data-location="0,0-1,29"> |
| 2395 | <a href="#" class="qs-circuit-source-link"> |
| 2396 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2397 | <g> |
| 2398 | <g> |
| 2399 | <rect |
| 2400 | class="gate-ket" |
| 2401 | x="381" |
| 2402 | y="2984" |
| 2403 | width="40" |
| 2404 | height="40" |
| 2405 | data-wire-ys="[3004]" |
| 2406 | data-width="40" |
| 2407 | /> |
| 2408 | <text |
| 2409 | font-size="14" |
| 2410 | x="401" |
| 2411 | y="3004" |
| 2412 | class="qs-maintext ket-text" |
| 2413 | > |
| 2414 | |0⟩ |
| 2415 | </text> |
| 2416 | </g> |
| 2417 | </g> |
| 2418 | </a> |
| 2419 | </g> |
| 2420 | <g class="gate" data-location="0,0-1,30"> |
| 2421 | <a href="#" class="qs-circuit-source-link"> |
| 2422 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2423 | <g> |
| 2424 | <g> |
| 2425 | <rect |
| 2426 | class="gate-ket" |
| 2427 | x="381" |
| 2428 | y="3036" |
| 2429 | width="40" |
| 2430 | height="40" |
| 2431 | data-wire-ys="[3056]" |
| 2432 | data-width="40" |
| 2433 | /> |
| 2434 | <text |
| 2435 | font-size="14" |
| 2436 | x="401" |
| 2437 | y="3056" |
| 2438 | class="qs-maintext ket-text" |
| 2439 | > |
| 2440 | |0⟩ |
| 2441 | </text> |
| 2442 | </g> |
| 2443 | </g> |
| 2444 | </a> |
| 2445 | </g> |
| 2446 | <g class="gate" data-location="0,0-1,31"> |
| 2447 | <a href="#" class="qs-circuit-source-link"> |
| 2448 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2449 | <g> |
| 2450 | <g> |
| 2451 | <rect |
| 2452 | class="gate-ket" |
| 2453 | x="381" |
| 2454 | y="3140" |
| 2455 | width="40" |
| 2456 | height="40" |
| 2457 | data-wire-ys="[3160]" |
| 2458 | data-width="40" |
| 2459 | /> |
| 2460 | <text |
| 2461 | font-size="14" |
| 2462 | x="401" |
| 2463 | y="3160" |
| 2464 | class="qs-maintext ket-text" |
| 2465 | > |
| 2466 | |0⟩ |
| 2467 | </text> |
| 2468 | </g> |
| 2469 | </g> |
| 2470 | </a> |
| 2471 | </g> |
| 2472 | <g class="gate" data-location="0,0-1,32"> |
| 2473 | <a href="#" class="qs-circuit-source-link"> |
| 2474 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2475 | <g> |
| 2476 | <g> |
| 2477 | <rect |
| 2478 | class="gate-ket" |
| 2479 | x="381" |
| 2480 | y="3244" |
| 2481 | width="40" |
| 2482 | height="40" |
| 2483 | data-wire-ys="[3264]" |
| 2484 | data-width="40" |
| 2485 | /> |
| 2486 | <text |
| 2487 | font-size="14" |
| 2488 | x="401" |
| 2489 | y="3264" |
| 2490 | class="qs-maintext ket-text" |
| 2491 | > |
| 2492 | |0⟩ |
| 2493 | </text> |
| 2494 | </g> |
| 2495 | </g> |
| 2496 | </a> |
| 2497 | </g> |
| 2498 | <g class="gate" data-location="0,0-1,33"> |
| 2499 | <a href="#" class="qs-circuit-source-link"> |
| 2500 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 2501 | <g> |
| 2502 | <g> |
| 2503 | <rect |
| 2504 | class="gate-ket" |
| 2505 | x="381" |
| 2506 | y="3400" |
| 2507 | width="40" |
| 2508 | height="40" |
| 2509 | data-wire-ys="[3420]" |
| 2510 | data-width="40" |
| 2511 | /> |
| 2512 | <text |
| 2513 | font-size="14" |
| 2514 | x="401" |
| 2515 | y="3420" |
| 2516 | class="qs-maintext ket-text" |
| 2517 | > |
| 2518 | |0⟩ |
| 2519 | </text> |
| 2520 | </g> |
| 2521 | </g> |
| 2522 | </a> |
| 2523 | </g> |
| 2524 | </g> |
| 2525 | <text |
| 2526 | font-size="14" |
| 2527 | x="90" |
| 2528 | y="61" |
| 2529 | class="qs-maintext qs-group-label" |
| 2530 | > |
| 2531 | <tspan class="qs-mathtext">Main</tspan> |
| 2532 | </text> |
| 2533 | <g class="gate-control gate-collapse"> |
| 2534 | <circle cx="82" cy="48" r="10" /> |
| 2535 | <path d="M75,48 h14" /> |
| 2536 | </g> |
| 2537 | </g> |
| 2538 | </g> |
| 2539 | </svg> |
| 2540 | </div> |
| 2541 | <div><h2>circuit-static-expanded</h2></div> |
| 2542 | <div id="circuit-static-expanded" class="qs-circuit"> |
| 2543 | <svg |
| 2544 | xmlns="http://www.w3.org/2000/svg" |
| 2545 | class="qviz" |
| 2546 | width="964" |
| 2547 | height="5080" |
| 2548 | viewBox="0 0 964 5080" |
| 2549 | > |
| 2550 | <g class="qubit-input-states"> |
| 2551 | <text |
| 2552 | font-size="16" |
| 2553 | x="20" |
| 2554 | y="144" |
| 2555 | text-anchor="start" |
| 2556 | dominant-baseline="middle" |
| 2557 | data-wire="0" |
| 2558 | class="qs-maintext qs-qubit-label" |
| 2559 | > |
| 2560 | | |
| 2561 | <tspan class="qs-mathtext">ψ</tspan> |
| 2562 | <tspan baseline-shift="sub" font-size="65%">0</tspan> |
| 2563 | ⟩ |
| 2564 | </text> |
| 2565 | <text |
| 2566 | font-size="16" |
| 2567 | x="20" |
| 2568 | y="320" |
| 2569 | text-anchor="start" |
| 2570 | dominant-baseline="middle" |
| 2571 | data-wire="1" |
| 2572 | class="qs-maintext qs-qubit-label" |
| 2573 | > |
| 2574 | | |
| 2575 | <tspan class="qs-mathtext">ψ</tspan> |
| 2576 | <tspan baseline-shift="sub" font-size="65%">1</tspan> |
| 2577 | ⟩ |
| 2578 | </text> |
| 2579 | <text |
| 2580 | font-size="16" |
| 2581 | x="20" |
| 2582 | y="496" |
| 2583 | text-anchor="start" |
| 2584 | dominant-baseline="middle" |
| 2585 | data-wire="2" |
| 2586 | class="qs-maintext qs-qubit-label" |
| 2587 | > |
| 2588 | | |
| 2589 | <tspan class="qs-mathtext">ψ</tspan> |
| 2590 | <tspan baseline-shift="sub" font-size="65%">2</tspan> |
| 2591 | ⟩ |
| 2592 | </text> |
| 2593 | <text |
| 2594 | font-size="16" |
| 2595 | x="20" |
| 2596 | y="672" |
| 2597 | text-anchor="start" |
| 2598 | dominant-baseline="middle" |
| 2599 | data-wire="3" |
| 2600 | class="qs-maintext qs-qubit-label" |
| 2601 | > |
| 2602 | | |
| 2603 | <tspan class="qs-mathtext">ψ</tspan> |
| 2604 | <tspan baseline-shift="sub" font-size="65%">3</tspan> |
| 2605 | ⟩ |
| 2606 | </text> |
| 2607 | <text |
| 2608 | font-size="16" |
| 2609 | x="20" |
| 2610 | y="776" |
| 2611 | text-anchor="start" |
| 2612 | dominant-baseline="middle" |
| 2613 | data-wire="4" |
| 2614 | class="qs-maintext qs-qubit-label" |
| 2615 | > |
| 2616 | | |
| 2617 | <tspan class="qs-mathtext">ψ</tspan> |
| 2618 | <tspan baseline-shift="sub" font-size="65%">4</tspan> |
| 2619 | ⟩ |
| 2620 | </text> |
| 2621 | <text |
| 2622 | font-size="16" |
| 2623 | x="20" |
| 2624 | y="926" |
| 2625 | text-anchor="start" |
| 2626 | dominant-baseline="middle" |
| 2627 | data-wire="5" |
| 2628 | class="qs-maintext qs-qubit-label" |
| 2629 | > |
| 2630 | | |
| 2631 | <tspan class="qs-mathtext">ψ</tspan> |
| 2632 | <tspan baseline-shift="sub" font-size="65%">5</tspan> |
| 2633 | ⟩ |
| 2634 | </text> |
| 2635 | <text |
| 2636 | font-size="16" |
| 2637 | x="20" |
| 2638 | y="1030" |
| 2639 | text-anchor="start" |
| 2640 | dominant-baseline="middle" |
| 2641 | data-wire="6" |
| 2642 | class="qs-maintext qs-qubit-label" |
| 2643 | > |
| 2644 | | |
| 2645 | <tspan class="qs-mathtext">ψ</tspan> |
| 2646 | <tspan baseline-shift="sub" font-size="65%">6</tspan> |
| 2647 | ⟩ |
| 2648 | </text> |
| 2649 | <text |
| 2650 | font-size="16" |
| 2651 | x="20" |
| 2652 | y="1196" |
| 2653 | text-anchor="start" |
| 2654 | dominant-baseline="middle" |
| 2655 | data-wire="7" |
| 2656 | class="qs-maintext qs-qubit-label" |
| 2657 | > |
| 2658 | | |
| 2659 | <tspan class="qs-mathtext">ψ</tspan> |
| 2660 | <tspan baseline-shift="sub" font-size="65%">7</tspan> |
| 2661 | ⟩ |
| 2662 | </text> |
| 2663 | <text |
| 2664 | font-size="16" |
| 2665 | x="20" |
| 2666 | y="1300" |
| 2667 | text-anchor="start" |
| 2668 | dominant-baseline="middle" |
| 2669 | data-wire="8" |
| 2670 | class="qs-maintext qs-qubit-label" |
| 2671 | > |
| 2672 | | |
| 2673 | <tspan class="qs-mathtext">ψ</tspan> |
| 2674 | <tspan baseline-shift="sub" font-size="65%">8</tspan> |
| 2675 | ⟩ |
| 2676 | </text> |
| 2677 | <text |
| 2678 | font-size="16" |
| 2679 | x="20" |
| 2680 | y="1476" |
| 2681 | text-anchor="start" |
| 2682 | dominant-baseline="middle" |
| 2683 | data-wire="9" |
| 2684 | class="qs-maintext qs-qubit-label" |
| 2685 | > |
| 2686 | | |
| 2687 | <tspan class="qs-mathtext">ψ</tspan> |
| 2688 | <tspan baseline-shift="sub" font-size="65%">9</tspan> |
| 2689 | ⟩ |
| 2690 | </text> |
| 2691 | <text |
| 2692 | font-size="16" |
| 2693 | x="20" |
| 2694 | y="1606" |
| 2695 | text-anchor="start" |
| 2696 | dominant-baseline="middle" |
| 2697 | data-wire="10" |
| 2698 | class="qs-maintext qs-qubit-label" |
| 2699 | > |
| 2700 | | |
| 2701 | <tspan class="qs-mathtext">ψ</tspan> |
| 2702 | <tspan baseline-shift="sub" font-size="65%">10</tspan> |
| 2703 | ⟩ |
| 2704 | </text> |
| 2705 | <text |
| 2706 | font-size="16" |
| 2707 | x="20" |
| 2708 | y="1710" |
| 2709 | text-anchor="start" |
| 2710 | dominant-baseline="middle" |
| 2711 | data-wire="11" |
| 2712 | class="qs-maintext qs-qubit-label" |
| 2713 | > |
| 2714 | | |
| 2715 | <tspan class="qs-mathtext">ψ</tspan> |
| 2716 | <tspan baseline-shift="sub" font-size="65%">11</tspan> |
| 2717 | ⟩ |
| 2718 | </text> |
| 2719 | <text |
| 2720 | font-size="16" |
| 2721 | x="20" |
| 2722 | y="1912" |
| 2723 | text-anchor="start" |
| 2724 | dominant-baseline="middle" |
| 2725 | data-wire="12" |
| 2726 | class="qs-maintext qs-qubit-label" |
| 2727 | > |
| 2728 | | |
| 2729 | <tspan class="qs-mathtext">ψ</tspan> |
| 2730 | <tspan baseline-shift="sub" font-size="65%">12</tspan> |
| 2731 | ⟩ |
| 2732 | </text> |
| 2733 | <text |
| 2734 | font-size="16" |
| 2735 | x="20" |
| 2736 | y="2016" |
| 2737 | text-anchor="start" |
| 2738 | dominant-baseline="middle" |
| 2739 | data-wire="13" |
| 2740 | class="qs-maintext qs-qubit-label" |
| 2741 | > |
| 2742 | | |
| 2743 | <tspan class="qs-mathtext">ψ</tspan> |
| 2744 | <tspan baseline-shift="sub" font-size="65%">13</tspan> |
| 2745 | ⟩ |
| 2746 | </text> |
| 2747 | <text |
| 2748 | font-size="16" |
| 2749 | x="20" |
| 2750 | y="2120" |
| 2751 | text-anchor="start" |
| 2752 | dominant-baseline="middle" |
| 2753 | data-wire="14" |
| 2754 | class="qs-maintext qs-qubit-label" |
| 2755 | > |
| 2756 | | |
| 2757 | <tspan class="qs-mathtext">ψ</tspan> |
| 2758 | <tspan baseline-shift="sub" font-size="65%">14</tspan> |
| 2759 | ⟩ |
| 2760 | </text> |
| 2761 | <text |
| 2762 | font-size="16" |
| 2763 | x="20" |
| 2764 | y="2306" |
| 2765 | text-anchor="start" |
| 2766 | dominant-baseline="middle" |
| 2767 | data-wire="15" |
| 2768 | class="qs-maintext qs-qubit-label" |
| 2769 | > |
| 2770 | | |
| 2771 | <tspan class="qs-mathtext">ψ</tspan> |
| 2772 | <tspan baseline-shift="sub" font-size="65%">15</tspan> |
| 2773 | ⟩ |
| 2774 | </text> |
| 2775 | <text |
| 2776 | font-size="16" |
| 2777 | x="20" |
| 2778 | y="2410" |
| 2779 | text-anchor="start" |
| 2780 | dominant-baseline="middle" |
| 2781 | data-wire="16" |
| 2782 | class="qs-maintext qs-qubit-label" |
| 2783 | > |
| 2784 | | |
| 2785 | <tspan class="qs-mathtext">ψ</tspan> |
| 2786 | <tspan baseline-shift="sub" font-size="65%">16</tspan> |
| 2787 | ⟩ |
| 2788 | </text> |
| 2789 | <text |
| 2790 | font-size="16" |
| 2791 | x="20" |
| 2792 | y="2586" |
| 2793 | text-anchor="start" |
| 2794 | dominant-baseline="middle" |
| 2795 | data-wire="17" |
| 2796 | class="qs-maintext qs-qubit-label" |
| 2797 | > |
| 2798 | | |
| 2799 | <tspan class="qs-mathtext">ψ</tspan> |
| 2800 | <tspan baseline-shift="sub" font-size="65%">17</tspan> |
| 2801 | ⟩ |
| 2802 | </text> |
| 2803 | <text |
| 2804 | font-size="16" |
| 2805 | x="20" |
| 2806 | y="2762" |
| 2807 | text-anchor="start" |
| 2808 | dominant-baseline="middle" |
| 2809 | data-wire="18" |
| 2810 | class="qs-maintext qs-qubit-label" |
| 2811 | > |
| 2812 | | |
| 2813 | <tspan class="qs-mathtext">ψ</tspan> |
| 2814 | <tspan baseline-shift="sub" font-size="65%">18</tspan> |
| 2815 | ⟩ |
| 2816 | </text> |
| 2817 | <text |
| 2818 | font-size="16" |
| 2819 | x="20" |
| 2820 | y="2866" |
| 2821 | text-anchor="start" |
| 2822 | dominant-baseline="middle" |
| 2823 | data-wire="19" |
| 2824 | class="qs-maintext qs-qubit-label" |
| 2825 | > |
| 2826 | | |
| 2827 | <tspan class="qs-mathtext">ψ</tspan> |
| 2828 | <tspan baseline-shift="sub" font-size="65%">19</tspan> |
| 2829 | ⟩ |
| 2830 | </text> |
| 2831 | <text |
| 2832 | font-size="16" |
| 2833 | x="20" |
| 2834 | y="3042" |
| 2835 | text-anchor="start" |
| 2836 | dominant-baseline="middle" |
| 2837 | data-wire="20" |
| 2838 | class="qs-maintext qs-qubit-label" |
| 2839 | > |
| 2840 | | |
| 2841 | <tspan class="qs-mathtext">ψ</tspan> |
| 2842 | <tspan baseline-shift="sub" font-size="65%">20</tspan> |
| 2843 | ⟩ |
| 2844 | </text> |
| 2845 | <text |
| 2846 | font-size="16" |
| 2847 | x="20" |
| 2848 | y="3146" |
| 2849 | text-anchor="start" |
| 2850 | dominant-baseline="middle" |
| 2851 | data-wire="21" |
| 2852 | class="qs-maintext qs-qubit-label" |
| 2853 | > |
| 2854 | | |
| 2855 | <tspan class="qs-mathtext">ψ</tspan> |
| 2856 | <tspan baseline-shift="sub" font-size="65%">21</tspan> |
| 2857 | ⟩ |
| 2858 | </text> |
| 2859 | <text |
| 2860 | font-size="16" |
| 2861 | x="20" |
| 2862 | y="3374" |
| 2863 | text-anchor="start" |
| 2864 | dominant-baseline="middle" |
| 2865 | data-wire="22" |
| 2866 | class="qs-maintext qs-qubit-label" |
| 2867 | > |
| 2868 | | |
| 2869 | <tspan class="qs-mathtext">ψ</tspan> |
| 2870 | <tspan baseline-shift="sub" font-size="65%">22</tspan> |
| 2871 | ⟩ |
| 2872 | </text> |
| 2873 | <text |
| 2874 | font-size="16" |
| 2875 | x="20" |
| 2876 | y="3446" |
| 2877 | text-anchor="start" |
| 2878 | dominant-baseline="middle" |
| 2879 | data-wire="23" |
| 2880 | class="qs-maintext qs-qubit-label" |
| 2881 | > |
| 2882 | | |
| 2883 | <tspan class="qs-mathtext">ψ</tspan> |
| 2884 | <tspan baseline-shift="sub" font-size="65%">23</tspan> |
| 2885 | ⟩ |
| 2886 | </text> |
| 2887 | <text |
| 2888 | font-size="16" |
| 2889 | x="20" |
| 2890 | y="3674" |
| 2891 | text-anchor="start" |
| 2892 | dominant-baseline="middle" |
| 2893 | data-wire="24" |
| 2894 | class="qs-maintext qs-qubit-label" |
| 2895 | > |
| 2896 | | |
| 2897 | <tspan class="qs-mathtext">ψ</tspan> |
| 2898 | <tspan baseline-shift="sub" font-size="65%">24</tspan> |
| 2899 | ⟩ |
| 2900 | </text> |
| 2901 | <text |
| 2902 | font-size="16" |
| 2903 | x="20" |
| 2904 | y="3756" |
| 2905 | text-anchor="start" |
| 2906 | dominant-baseline="middle" |
| 2907 | data-wire="25" |
| 2908 | class="qs-maintext qs-qubit-label" |
| 2909 | > |
| 2910 | | |
| 2911 | <tspan class="qs-mathtext">ψ</tspan> |
| 2912 | <tspan baseline-shift="sub" font-size="65%">25</tspan> |
| 2913 | ⟩ |
| 2914 | </text> |
| 2915 | <text |
| 2916 | font-size="16" |
| 2917 | x="20" |
| 2918 | y="4056" |
| 2919 | text-anchor="start" |
| 2920 | dominant-baseline="middle" |
| 2921 | data-wire="26" |
| 2922 | class="qs-maintext qs-qubit-label" |
| 2923 | > |
| 2924 | | |
| 2925 | <tspan class="qs-mathtext">ψ</tspan> |
| 2926 | <tspan baseline-shift="sub" font-size="65%">26</tspan> |
| 2927 | ⟩ |
| 2928 | </text> |
| 2929 | <text |
| 2930 | font-size="16" |
| 2931 | x="20" |
| 2932 | y="4108" |
| 2933 | text-anchor="start" |
| 2934 | dominant-baseline="middle" |
| 2935 | data-wire="27" |
| 2936 | class="qs-maintext qs-qubit-label" |
| 2937 | > |
| 2938 | | |
| 2939 | <tspan class="qs-mathtext">ψ</tspan> |
| 2940 | <tspan baseline-shift="sub" font-size="65%">27</tspan> |
| 2941 | ⟩ |
| 2942 | </text> |
| 2943 | <text |
| 2944 | font-size="16" |
| 2945 | x="20" |
| 2946 | y="4212" |
| 2947 | text-anchor="start" |
| 2948 | dominant-baseline="middle" |
| 2949 | data-wire="28" |
| 2950 | class="qs-maintext qs-qubit-label" |
| 2951 | > |
| 2952 | | |
| 2953 | <tspan class="qs-mathtext">ψ</tspan> |
| 2954 | <tspan baseline-shift="sub" font-size="65%">28</tspan> |
| 2955 | ⟩ |
| 2956 | </text> |
| 2957 | <text |
| 2958 | font-size="16" |
| 2959 | x="20" |
| 2960 | y="4408" |
| 2961 | text-anchor="start" |
| 2962 | dominant-baseline="middle" |
| 2963 | data-wire="29" |
| 2964 | class="qs-maintext qs-qubit-label" |
| 2965 | > |
| 2966 | | |
| 2967 | <tspan class="qs-mathtext">ψ</tspan> |
| 2968 | <tspan baseline-shift="sub" font-size="65%">29</tspan> |
| 2969 | ⟩ |
| 2970 | </text> |
| 2971 | <text |
| 2972 | font-size="16" |
| 2973 | x="20" |
| 2974 | y="4460" |
| 2975 | text-anchor="start" |
| 2976 | dominant-baseline="middle" |
| 2977 | data-wire="30" |
| 2978 | class="qs-maintext qs-qubit-label" |
| 2979 | > |
| 2980 | | |
| 2981 | <tspan class="qs-mathtext">ψ</tspan> |
| 2982 | <tspan baseline-shift="sub" font-size="65%">30</tspan> |
| 2983 | ⟩ |
| 2984 | </text> |
| 2985 | <text |
| 2986 | font-size="16" |
| 2987 | x="20" |
| 2988 | y="4564" |
| 2989 | text-anchor="start" |
| 2990 | dominant-baseline="middle" |
| 2991 | data-wire="31" |
| 2992 | class="qs-maintext qs-qubit-label" |
| 2993 | > |
| 2994 | | |
| 2995 | <tspan class="qs-mathtext">ψ</tspan> |
| 2996 | <tspan baseline-shift="sub" font-size="65%">31</tspan> |
| 2997 | ⟩ |
| 2998 | </text> |
| 2999 | <text |
| 3000 | font-size="16" |
| 3001 | x="20" |
| 3002 | y="4740" |
| 3003 | text-anchor="start" |
| 3004 | dominant-baseline="middle" |
| 3005 | data-wire="32" |
| 3006 | class="qs-maintext qs-qubit-label" |
| 3007 | > |
| 3008 | | |
| 3009 | <tspan class="qs-mathtext">ψ</tspan> |
| 3010 | <tspan baseline-shift="sub" font-size="65%">32</tspan> |
| 3011 | ⟩ |
| 3012 | </text> |
| 3013 | <text |
| 3014 | font-size="16" |
| 3015 | x="20" |
| 3016 | y="4896" |
| 3017 | text-anchor="start" |
| 3018 | dominant-baseline="middle" |
| 3019 | data-wire="33" |
| 3020 | class="qs-maintext qs-qubit-label" |
| 3021 | > |
| 3022 | | |
| 3023 | <tspan class="qs-mathtext">ψ</tspan> |
| 3024 | <tspan baseline-shift="sub" font-size="65%">33</tspan> |
| 3025 | ⟩ |
| 3026 | </text> |
| 3027 | </g> |
| 3028 | <g class="wires"> |
| 3029 | <line x1="40" x2="964" y1="144" y2="144" class="qubit-wire" /> |
| 3030 | <line x1="40" x2="964" y1="320" y2="320" class="qubit-wire" /> |
| 3031 | <line x1="40" x2="964" y1="496" y2="496" class="qubit-wire" /> |
| 3032 | <line x1="40" x2="964" y1="672" y2="672" class="qubit-wire" /> |
| 3033 | <line x1="40" x2="964" y1="776" y2="776" class="qubit-wire" /> |
| 3034 | <line x1="40" x2="964" y1="926" y2="926" class="qubit-wire" /> |
| 3035 | <line x1="40" x2="964" y1="1030" y2="1030" class="qubit-wire" /> |
| 3036 | <line x1="40" x2="964" y1="1196" y2="1196" class="qubit-wire" /> |
| 3037 | <line x1="40" x2="964" y1="1300" y2="1300" class="qubit-wire" /> |
| 3038 | <line x1="40" x2="964" y1="1476" y2="1476" class="qubit-wire" /> |
| 3039 | <line x1="40" x2="964" y1="1606" y2="1606" class="qubit-wire" /> |
| 3040 | <line x1="40" x2="964" y1="1710" y2="1710" class="qubit-wire" /> |
| 3041 | <line x1="40" x2="964" y1="1912" y2="1912" class="qubit-wire" /> |
| 3042 | <line x1="40" x2="964" y1="2016" y2="2016" class="qubit-wire" /> |
| 3043 | <line x1="40" x2="964" y1="2120" y2="2120" class="qubit-wire" /> |
| 3044 | <line x1="40" x2="964" y1="2306" y2="2306" class="qubit-wire" /> |
| 3045 | <line x1="40" x2="964" y1="2410" y2="2410" class="qubit-wire" /> |
| 3046 | <line x1="40" x2="964" y1="2586" y2="2586" class="qubit-wire" /> |
| 3047 | <line x1="40" x2="964" y1="2762" y2="2762" class="qubit-wire" /> |
| 3048 | <line x1="40" x2="964" y1="2866" y2="2866" class="qubit-wire" /> |
| 3049 | <line x1="40" x2="964" y1="3042" y2="3042" class="qubit-wire" /> |
| 3050 | <line x1="40" x2="964" y1="3146" y2="3146" class="qubit-wire" /> |
| 3051 | <line x1="40" x2="964" y1="3374" y2="3374" class="qubit-wire" /> |
| 3052 | <line x1="40" x2="964" y1="3446" y2="3446" class="qubit-wire" /> |
| 3053 | <line x1="40" x2="964" y1="3674" y2="3674" class="qubit-wire" /> |
| 3054 | <line x1="40" x2="964" y1="3756" y2="3756" class="qubit-wire" /> |
| 3055 | <line x1="40" x2="964" y1="4056" y2="4056" class="qubit-wire" /> |
| 3056 | <line x1="40" x2="964" y1="4108" y2="4108" class="qubit-wire" /> |
| 3057 | <line x1="40" x2="964" y1="4212" y2="4212" class="qubit-wire" /> |
| 3058 | <line x1="40" x2="964" y1="4408" y2="4408" class="qubit-wire" /> |
| 3059 | <line x1="40" x2="964" y1="4460" y2="4460" class="qubit-wire" /> |
| 3060 | <line x1="40" x2="964" y1="4564" y2="4564" class="qubit-wire" /> |
| 3061 | <line x1="40" x2="964" y1="4740" y2="4740" class="qubit-wire" /> |
| 3062 | <line x1="40" x2="964" y1="4896" y2="4896" class="qubit-wire" /> |
| 3063 | <g> |
| 3064 | <line |
| 3065 | x1="439.5" |
| 3066 | x2="439.5" |
| 3067 | y1="144" |
| 3068 | y2="195" |
| 3069 | class="register-classical" |
| 3070 | /> |
| 3071 | <line |
| 3072 | x1="437.5" |
| 3073 | x2="437.5" |
| 3074 | y1="144" |
| 3075 | y2="197" |
| 3076 | class="register-classical" |
| 3077 | /> |
| 3078 | <line |
| 3079 | x1="439.5" |
| 3080 | x2="964" |
| 3081 | y1="195" |
| 3082 | y2="195" |
| 3083 | class="register-classical" |
| 3084 | /> |
| 3085 | <line |
| 3086 | x1="437.5" |
| 3087 | x2="964" |
| 3088 | y1="197" |
| 3089 | y2="197" |
| 3090 | class="register-classical" |
| 3091 | /> |
| 3092 | </g> |
| 3093 | <g> |
| 3094 | <line |
| 3095 | x1="439.5" |
| 3096 | x2="439.5" |
| 3097 | y1="320" |
| 3098 | y2="371" |
| 3099 | class="register-classical" |
| 3100 | /> |
| 3101 | <line |
| 3102 | x1="437.5" |
| 3103 | x2="437.5" |
| 3104 | y1="320" |
| 3105 | y2="373" |
| 3106 | class="register-classical" |
| 3107 | /> |
| 3108 | <line |
| 3109 | x1="439.5" |
| 3110 | x2="964" |
| 3111 | y1="371" |
| 3112 | y2="371" |
| 3113 | class="register-classical" |
| 3114 | /> |
| 3115 | <line |
| 3116 | x1="437.5" |
| 3117 | x2="964" |
| 3118 | y1="373" |
| 3119 | y2="373" |
| 3120 | class="register-classical" |
| 3121 | /> |
| 3122 | </g> |
| 3123 | <g> |
| 3124 | <line |
| 3125 | x1="439.5" |
| 3126 | x2="439.5" |
| 3127 | y1="496" |
| 3128 | y2="547" |
| 3129 | class="register-classical" |
| 3130 | /> |
| 3131 | <line |
| 3132 | x1="437.5" |
| 3133 | x2="437.5" |
| 3134 | y1="496" |
| 3135 | y2="549" |
| 3136 | class="register-classical" |
| 3137 | /> |
| 3138 | <line |
| 3139 | x1="439.5" |
| 3140 | x2="964" |
| 3141 | y1="547" |
| 3142 | y2="547" |
| 3143 | class="register-classical" |
| 3144 | /> |
| 3145 | <line |
| 3146 | x1="437.5" |
| 3147 | x2="964" |
| 3148 | y1="549" |
| 3149 | y2="549" |
| 3150 | class="register-classical" |
| 3151 | /> |
| 3152 | </g> |
| 3153 | <g> |
| 3154 | <line |
| 3155 | x1="369" |
| 3156 | x2="369" |
| 3157 | y1="672" |
| 3158 | y2="723" |
| 3159 | class="register-classical" |
| 3160 | /> |
| 3161 | <line |
| 3162 | x1="367" |
| 3163 | x2="367" |
| 3164 | y1="672" |
| 3165 | y2="725" |
| 3166 | class="register-classical" |
| 3167 | /> |
| 3168 | <line |
| 3169 | x1="369" |
| 3170 | x2="964" |
| 3171 | y1="723" |
| 3172 | y2="723" |
| 3173 | class="register-classical" |
| 3174 | /> |
| 3175 | <line |
| 3176 | x1="367" |
| 3177 | x2="964" |
| 3178 | y1="725" |
| 3179 | y2="725" |
| 3180 | class="register-classical" |
| 3181 | /> |
| 3182 | </g> |
| 3183 | <g> |
| 3184 | <line |
| 3185 | x1="369" |
| 3186 | x2="369" |
| 3187 | y1="776" |
| 3188 | y2="827" |
| 3189 | class="register-classical" |
| 3190 | /> |
| 3191 | <line |
| 3192 | x1="367" |
| 3193 | x2="367" |
| 3194 | y1="776" |
| 3195 | y2="829" |
| 3196 | class="register-classical" |
| 3197 | /> |
| 3198 | <line |
| 3199 | x1="369" |
| 3200 | x2="964" |
| 3201 | y1="827" |
| 3202 | y2="827" |
| 3203 | class="register-classical" |
| 3204 | /> |
| 3205 | <line |
| 3206 | x1="367" |
| 3207 | x2="964" |
| 3208 | y1="829" |
| 3209 | y2="829" |
| 3210 | class="register-classical" |
| 3211 | /> |
| 3212 | </g> |
| 3213 | <g> |
| 3214 | <line |
| 3215 | x1="468" |
| 3216 | x2="468" |
| 3217 | y1="926" |
| 3218 | y2="977" |
| 3219 | class="register-classical" |
| 3220 | /> |
| 3221 | <line |
| 3222 | x1="466" |
| 3223 | x2="466" |
| 3224 | y1="926" |
| 3225 | y2="979" |
| 3226 | class="register-classical" |
| 3227 | /> |
| 3228 | <line |
| 3229 | x1="468" |
| 3230 | x2="964" |
| 3231 | y1="977" |
| 3232 | y2="977" |
| 3233 | class="register-classical" |
| 3234 | /> |
| 3235 | <line |
| 3236 | x1="466" |
| 3237 | x2="964" |
| 3238 | y1="979" |
| 3239 | y2="979" |
| 3240 | class="register-classical" |
| 3241 | /> |
| 3242 | </g> |
| 3243 | <g> |
| 3244 | <line |
| 3245 | x1="468" |
| 3246 | x2="468" |
| 3247 | y1="1030" |
| 3248 | y2="1081" |
| 3249 | class="register-classical" |
| 3250 | /> |
| 3251 | <line |
| 3252 | x1="466" |
| 3253 | x2="466" |
| 3254 | y1="1030" |
| 3255 | y2="1083" |
| 3256 | class="register-classical" |
| 3257 | /> |
| 3258 | <line |
| 3259 | x1="468" |
| 3260 | x2="964" |
| 3261 | y1="1081" |
| 3262 | y2="1081" |
| 3263 | class="register-classical" |
| 3264 | /> |
| 3265 | <line |
| 3266 | x1="466" |
| 3267 | x2="964" |
| 3268 | y1="1083" |
| 3269 | y2="1083" |
| 3270 | class="register-classical" |
| 3271 | /> |
| 3272 | </g> |
| 3273 | <g> |
| 3274 | <line |
| 3275 | x1="339" |
| 3276 | x2="339" |
| 3277 | y1="1196" |
| 3278 | y2="1247" |
| 3279 | class="register-classical" |
| 3280 | /> |
| 3281 | <line |
| 3282 | x1="337" |
| 3283 | x2="337" |
| 3284 | y1="1196" |
| 3285 | y2="1249" |
| 3286 | class="register-classical" |
| 3287 | /> |
| 3288 | <line |
| 3289 | x1="339" |
| 3290 | x2="964" |
| 3291 | y1="1247" |
| 3292 | y2="1247" |
| 3293 | class="register-classical" |
| 3294 | /> |
| 3295 | <line |
| 3296 | x1="337" |
| 3297 | x2="964" |
| 3298 | y1="1249" |
| 3299 | y2="1249" |
| 3300 | class="register-classical" |
| 3301 | /> |
| 3302 | </g> |
| 3303 | <g> |
| 3304 | <line |
| 3305 | x1="689" |
| 3306 | x2="689" |
| 3307 | y1="1300" |
| 3308 | y2="1351" |
| 3309 | class="register-classical" |
| 3310 | /> |
| 3311 | <line |
| 3312 | x1="687" |
| 3313 | x2="687" |
| 3314 | y1="1300" |
| 3315 | y2="1353" |
| 3316 | class="register-classical" |
| 3317 | /> |
| 3318 | <line |
| 3319 | x1="689" |
| 3320 | x2="964" |
| 3321 | y1="1351" |
| 3322 | y2="1351" |
| 3323 | class="register-classical" |
| 3324 | /> |
| 3325 | <line |
| 3326 | x1="687" |
| 3327 | x2="964" |
| 3328 | y1="1353" |
| 3329 | y2="1353" |
| 3330 | class="register-classical" |
| 3331 | /> |
| 3332 | </g> |
| 3333 | <g> |
| 3334 | <line |
| 3335 | x1="182" |
| 3336 | x2="182" |
| 3337 | y1="1476" |
| 3338 | y2="1527" |
| 3339 | class="register-classical" |
| 3340 | /> |
| 3341 | <line |
| 3342 | x1="180" |
| 3343 | x2="180" |
| 3344 | y1="1476" |
| 3345 | y2="1529" |
| 3346 | class="register-classical" |
| 3347 | /> |
| 3348 | <line |
| 3349 | x1="182" |
| 3350 | x2="964" |
| 3351 | y1="1527" |
| 3352 | y2="1527" |
| 3353 | class="register-classical" |
| 3354 | /> |
| 3355 | <line |
| 3356 | x1="180" |
| 3357 | x2="964" |
| 3358 | y1="1529" |
| 3359 | y2="1529" |
| 3360 | class="register-classical" |
| 3361 | /> |
| 3362 | </g> |
| 3363 | <g> |
| 3364 | <line |
| 3365 | x1="182" |
| 3366 | x2="182" |
| 3367 | y1="1606" |
| 3368 | y2="1657" |
| 3369 | class="register-classical" |
| 3370 | /> |
| 3371 | <line |
| 3372 | x1="180" |
| 3373 | x2="180" |
| 3374 | y1="1606" |
| 3375 | y2="1659" |
| 3376 | class="register-classical" |
| 3377 | /> |
| 3378 | <line |
| 3379 | x1="182" |
| 3380 | x2="964" |
| 3381 | y1="1657" |
| 3382 | y2="1657" |
| 3383 | class="register-classical" |
| 3384 | /> |
| 3385 | <line |
| 3386 | x1="180" |
| 3387 | x2="964" |
| 3388 | y1="1659" |
| 3389 | y2="1659" |
| 3390 | class="register-classical" |
| 3391 | /> |
| 3392 | </g> |
| 3393 | <g> |
| 3394 | <line |
| 3395 | x1="846" |
| 3396 | x2="846" |
| 3397 | y1="1710" |
| 3398 | y2="1761" |
| 3399 | class="register-classical" |
| 3400 | /> |
| 3401 | <line |
| 3402 | x1="844" |
| 3403 | x2="844" |
| 3404 | y1="1710" |
| 3405 | y2="1763" |
| 3406 | class="register-classical" |
| 3407 | /> |
| 3408 | <line |
| 3409 | x1="846" |
| 3410 | x2="964" |
| 3411 | y1="1761" |
| 3412 | y2="1761" |
| 3413 | class="register-classical" |
| 3414 | /> |
| 3415 | <line |
| 3416 | x1="844" |
| 3417 | x2="964" |
| 3418 | y1="1763" |
| 3419 | y2="1763" |
| 3420 | class="register-classical" |
| 3421 | /> |
| 3422 | </g> |
| 3423 | <g> |
| 3424 | <line |
| 3425 | x1="222.5" |
| 3426 | x2="222.5" |
| 3427 | y1="1912" |
| 3428 | y2="1963" |
| 3429 | class="register-classical" |
| 3430 | /> |
| 3431 | <line |
| 3432 | x1="220.5" |
| 3433 | x2="220.5" |
| 3434 | y1="1912" |
| 3435 | y2="1965" |
| 3436 | class="register-classical" |
| 3437 | /> |
| 3438 | <line |
| 3439 | x1="222.5" |
| 3440 | x2="964" |
| 3441 | y1="1963" |
| 3442 | y2="1963" |
| 3443 | class="register-classical" |
| 3444 | /> |
| 3445 | <line |
| 3446 | x1="220.5" |
| 3447 | x2="964" |
| 3448 | y1="1965" |
| 3449 | y2="1965" |
| 3450 | class="register-classical" |
| 3451 | /> |
| 3452 | </g> |
| 3453 | <g> |
| 3454 | <line |
| 3455 | x1="222.5" |
| 3456 | x2="222.5" |
| 3457 | y1="2016" |
| 3458 | y2="2067" |
| 3459 | class="register-classical" |
| 3460 | /> |
| 3461 | <line |
| 3462 | x1="220.5" |
| 3463 | x2="220.5" |
| 3464 | y1="2016" |
| 3465 | y2="2069" |
| 3466 | class="register-classical" |
| 3467 | /> |
| 3468 | <line |
| 3469 | x1="222.5" |
| 3470 | x2="964" |
| 3471 | y1="2067" |
| 3472 | y2="2067" |
| 3473 | class="register-classical" |
| 3474 | /> |
| 3475 | <line |
| 3476 | x1="220.5" |
| 3477 | x2="964" |
| 3478 | y1="2069" |
| 3479 | y2="2069" |
| 3480 | class="register-classical" |
| 3481 | /> |
| 3482 | </g> |
| 3483 | <g> |
| 3484 | <line |
| 3485 | x1="805.5" |
| 3486 | x2="805.5" |
| 3487 | y1="2120" |
| 3488 | y2="2171" |
| 3489 | class="register-classical" |
| 3490 | /> |
| 3491 | <line |
| 3492 | x1="803.5" |
| 3493 | x2="803.5" |
| 3494 | y1="2120" |
| 3495 | y2="2173" |
| 3496 | class="register-classical" |
| 3497 | /> |
| 3498 | <line |
| 3499 | x1="805.5" |
| 3500 | x2="964" |
| 3501 | y1="2171" |
| 3502 | y2="2171" |
| 3503 | class="register-classical" |
| 3504 | /> |
| 3505 | <line |
| 3506 | x1="803.5" |
| 3507 | x2="964" |
| 3508 | y1="2173" |
| 3509 | y2="2173" |
| 3510 | class="register-classical" |
| 3511 | /> |
| 3512 | </g> |
| 3513 | <g> |
| 3514 | <line |
| 3515 | x1="417" |
| 3516 | x2="417" |
| 3517 | y1="2306" |
| 3518 | y2="2357" |
| 3519 | class="register-classical" |
| 3520 | /> |
| 3521 | <line |
| 3522 | x1="415" |
| 3523 | x2="415" |
| 3524 | y1="2306" |
| 3525 | y2="2359" |
| 3526 | class="register-classical" |
| 3527 | /> |
| 3528 | <line |
| 3529 | x1="417" |
| 3530 | x2="964" |
| 3531 | y1="2357" |
| 3532 | y2="2357" |
| 3533 | class="register-classical" |
| 3534 | /> |
| 3535 | <line |
| 3536 | x1="415" |
| 3537 | x2="964" |
| 3538 | y1="2359" |
| 3539 | y2="2359" |
| 3540 | class="register-classical" |
| 3541 | /> |
| 3542 | </g> |
| 3543 | <g> |
| 3544 | <line |
| 3545 | x1="611" |
| 3546 | x2="611" |
| 3547 | y1="2410" |
| 3548 | y2="2461" |
| 3549 | class="register-classical" |
| 3550 | /> |
| 3551 | <line |
| 3552 | x1="609" |
| 3553 | x2="609" |
| 3554 | y1="2410" |
| 3555 | y2="2463" |
| 3556 | class="register-classical" |
| 3557 | /> |
| 3558 | <line |
| 3559 | x1="611" |
| 3560 | x2="964" |
| 3561 | y1="2461" |
| 3562 | y2="2461" |
| 3563 | class="register-classical" |
| 3564 | /> |
| 3565 | <line |
| 3566 | x1="609" |
| 3567 | x2="964" |
| 3568 | y1="2463" |
| 3569 | y2="2463" |
| 3570 | class="register-classical" |
| 3571 | /> |
| 3572 | </g> |
| 3573 | <g> |
| 3574 | <line |
| 3575 | x1="443" |
| 3576 | x2="443" |
| 3577 | y1="2586" |
| 3578 | y2="2637" |
| 3579 | class="register-classical" |
| 3580 | /> |
| 3581 | <line |
| 3582 | x1="441" |
| 3583 | x2="441" |
| 3584 | y1="2586" |
| 3585 | y2="2639" |
| 3586 | class="register-classical" |
| 3587 | /> |
| 3588 | <line |
| 3589 | x1="443" |
| 3590 | x2="964" |
| 3591 | y1="2637" |
| 3592 | y2="2637" |
| 3593 | class="register-classical" |
| 3594 | /> |
| 3595 | <line |
| 3596 | x1="441" |
| 3597 | x2="964" |
| 3598 | y1="2639" |
| 3599 | y2="2639" |
| 3600 | class="register-classical" |
| 3601 | /> |
| 3602 | </g> |
| 3603 | <g> |
| 3604 | <line |
| 3605 | x1="417" |
| 3606 | x2="417" |
| 3607 | y1="2762" |
| 3608 | y2="2813" |
| 3609 | class="register-classical" |
| 3610 | /> |
| 3611 | <line |
| 3612 | x1="415" |
| 3613 | x2="415" |
| 3614 | y1="2762" |
| 3615 | y2="2815" |
| 3616 | class="register-classical" |
| 3617 | /> |
| 3618 | <line |
| 3619 | x1="417" |
| 3620 | x2="964" |
| 3621 | y1="2813" |
| 3622 | y2="2813" |
| 3623 | class="register-classical" |
| 3624 | /> |
| 3625 | <line |
| 3626 | x1="415" |
| 3627 | x2="964" |
| 3628 | y1="2815" |
| 3629 | y2="2815" |
| 3630 | class="register-classical" |
| 3631 | /> |
| 3632 | </g> |
| 3633 | <g> |
| 3634 | <line |
| 3635 | x1="611" |
| 3636 | x2="611" |
| 3637 | y1="2866" |
| 3638 | y2="2917" |
| 3639 | class="register-classical" |
| 3640 | /> |
| 3641 | <line |
| 3642 | x1="609" |
| 3643 | x2="609" |
| 3644 | y1="2866" |
| 3645 | y2="2919" |
| 3646 | class="register-classical" |
| 3647 | /> |
| 3648 | <line |
| 3649 | x1="611" |
| 3650 | x2="964" |
| 3651 | y1="2917" |
| 3652 | y2="2917" |
| 3653 | class="register-classical" |
| 3654 | /> |
| 3655 | <line |
| 3656 | x1="609" |
| 3657 | x2="964" |
| 3658 | y1="2919" |
| 3659 | y2="2919" |
| 3660 | class="register-classical" |
| 3661 | /> |
| 3662 | </g> |
| 3663 | <g> |
| 3664 | <line |
| 3665 | x1="416" |
| 3666 | x2="416" |
| 3667 | y1="3042" |
| 3668 | y2="3093" |
| 3669 | class="register-classical" |
| 3670 | /> |
| 3671 | <line |
| 3672 | x1="414" |
| 3673 | x2="414" |
| 3674 | y1="3042" |
| 3675 | y2="3095" |
| 3676 | class="register-classical" |
| 3677 | /> |
| 3678 | <line |
| 3679 | x1="416" |
| 3680 | x2="964" |
| 3681 | y1="3093" |
| 3682 | y2="3093" |
| 3683 | class="register-classical" |
| 3684 | /> |
| 3685 | <line |
| 3686 | x1="414" |
| 3687 | x2="964" |
| 3688 | y1="3095" |
| 3689 | y2="3095" |
| 3690 | class="register-classical" |
| 3691 | /> |
| 3692 | </g> |
| 3693 | <g> |
| 3694 | <line |
| 3695 | x1="612" |
| 3696 | x2="612" |
| 3697 | y1="3146" |
| 3698 | y2="3197" |
| 3699 | class="register-classical" |
| 3700 | /> |
| 3701 | <line |
| 3702 | x1="610" |
| 3703 | x2="610" |
| 3704 | y1="3146" |
| 3705 | y2="3199" |
| 3706 | class="register-classical" |
| 3707 | /> |
| 3708 | <line |
| 3709 | x1="612" |
| 3710 | x2="964" |
| 3711 | y1="3197" |
| 3712 | y2="3197" |
| 3713 | class="register-classical" |
| 3714 | /> |
| 3715 | <line |
| 3716 | x1="610" |
| 3717 | x2="964" |
| 3718 | y1="3199" |
| 3719 | y2="3199" |
| 3720 | class="register-classical" |
| 3721 | /> |
| 3722 | </g> |
| 3723 | <g> |
| 3724 | <line |
| 3725 | x1="458" |
| 3726 | x2="458" |
| 3727 | y1="3446" |
| 3728 | y2="3497" |
| 3729 | class="register-classical" |
| 3730 | /> |
| 3731 | <line |
| 3732 | x1="456" |
| 3733 | x2="456" |
| 3734 | y1="3446" |
| 3735 | y2="3499" |
| 3736 | class="register-classical" |
| 3737 | /> |
| 3738 | <line |
| 3739 | x1="458" |
| 3740 | x2="964" |
| 3741 | y1="3497" |
| 3742 | y2="3497" |
| 3743 | class="register-classical" |
| 3744 | /> |
| 3745 | <line |
| 3746 | x1="456" |
| 3747 | x2="964" |
| 3748 | y1="3499" |
| 3749 | y2="3499" |
| 3750 | class="register-classical" |
| 3751 | /> |
| 3752 | </g> |
| 3753 | <g> |
| 3754 | <line |
| 3755 | x1="121" |
| 3756 | x2="121" |
| 3757 | y1="3756" |
| 3758 | y2="3807" |
| 3759 | class="register-classical" |
| 3760 | /> |
| 3761 | <line |
| 3762 | x1="119" |
| 3763 | x2="119" |
| 3764 | y1="3756" |
| 3765 | y2="3809" |
| 3766 | class="register-classical" |
| 3767 | /> |
| 3768 | <line |
| 3769 | x1="121" |
| 3770 | x2="964" |
| 3771 | y1="3807" |
| 3772 | y2="3807" |
| 3773 | class="register-classical" |
| 3774 | /> |
| 3775 | <line |
| 3776 | x1="119" |
| 3777 | x2="964" |
| 3778 | y1="3809" |
| 3779 | y2="3809" |
| 3780 | class="register-classical" |
| 3781 | /> |
| 3782 | </g> |
| 3783 | <g> |
| 3784 | <line |
| 3785 | x1="225" |
| 3786 | x2="225" |
| 3787 | y1="3756" |
| 3788 | y2="3859" |
| 3789 | class="register-classical" |
| 3790 | /> |
| 3791 | <line |
| 3792 | x1="223" |
| 3793 | x2="223" |
| 3794 | y1="3756" |
| 3795 | y2="3861" |
| 3796 | class="register-classical" |
| 3797 | /> |
| 3798 | <line |
| 3799 | x1="225" |
| 3800 | x2="964" |
| 3801 | y1="3859" |
| 3802 | y2="3859" |
| 3803 | class="register-classical" |
| 3804 | /> |
| 3805 | <line |
| 3806 | x1="223" |
| 3807 | x2="964" |
| 3808 | y1="3861" |
| 3809 | y2="3861" |
| 3810 | class="register-classical" |
| 3811 | /> |
| 3812 | </g> |
| 3813 | <g> |
| 3814 | <line |
| 3815 | x1="265" |
| 3816 | x2="265" |
| 3817 | y1="4108" |
| 3818 | y2="4159" |
| 3819 | class="register-classical" |
| 3820 | /> |
| 3821 | <line |
| 3822 | x1="263" |
| 3823 | x2="263" |
| 3824 | y1="4108" |
| 3825 | y2="4161" |
| 3826 | class="register-classical" |
| 3827 | /> |
| 3828 | <line |
| 3829 | x1="265" |
| 3830 | x2="964" |
| 3831 | y1="4159" |
| 3832 | y2="4159" |
| 3833 | class="register-classical" |
| 3834 | /> |
| 3835 | <line |
| 3836 | x1="263" |
| 3837 | x2="964" |
| 3838 | y1="4161" |
| 3839 | y2="4161" |
| 3840 | class="register-classical" |
| 3841 | /> |
| 3842 | </g> |
| 3843 | <g> |
| 3844 | <line |
| 3845 | x1="265" |
| 3846 | x2="265" |
| 3847 | y1="4212" |
| 3848 | y2="4263" |
| 3849 | class="register-classical" |
| 3850 | /> |
| 3851 | <line |
| 3852 | x1="263" |
| 3853 | x2="263" |
| 3854 | y1="4212" |
| 3855 | y2="4265" |
| 3856 | class="register-classical" |
| 3857 | /> |
| 3858 | <line |
| 3859 | x1="265" |
| 3860 | x2="964" |
| 3861 | y1="4263" |
| 3862 | y2="4263" |
| 3863 | class="register-classical" |
| 3864 | /> |
| 3865 | <line |
| 3866 | x1="263" |
| 3867 | x2="964" |
| 3868 | y1="4265" |
| 3869 | y2="4265" |
| 3870 | class="register-classical" |
| 3871 | /> |
| 3872 | </g> |
| 3873 | <g> |
| 3874 | <line |
| 3875 | x1="435.5" |
| 3876 | x2="435.5" |
| 3877 | y1="4460" |
| 3878 | y2="4511" |
| 3879 | class="register-classical" |
| 3880 | /> |
| 3881 | <line |
| 3882 | x1="433.5" |
| 3883 | x2="433.5" |
| 3884 | y1="4460" |
| 3885 | y2="4513" |
| 3886 | class="register-classical" |
| 3887 | /> |
| 3888 | <line |
| 3889 | x1="435.5" |
| 3890 | x2="964" |
| 3891 | y1="4511" |
| 3892 | y2="4511" |
| 3893 | class="register-classical" |
| 3894 | /> |
| 3895 | <line |
| 3896 | x1="433.5" |
| 3897 | x2="964" |
| 3898 | y1="4513" |
| 3899 | y2="4513" |
| 3900 | class="register-classical" |
| 3901 | /> |
| 3902 | </g> |
| 3903 | <g> |
| 3904 | <line |
| 3905 | x1="537.5" |
| 3906 | x2="537.5" |
| 3907 | y1="4564" |
| 3908 | y2="4615" |
| 3909 | class="register-classical" |
| 3910 | /> |
| 3911 | <line |
| 3912 | x1="535.5" |
| 3913 | x2="535.5" |
| 3914 | y1="4564" |
| 3915 | y2="4617" |
| 3916 | class="register-classical" |
| 3917 | /> |
| 3918 | <line |
| 3919 | x1="537.5" |
| 3920 | x2="964" |
| 3921 | y1="4615" |
| 3922 | y2="4615" |
| 3923 | class="register-classical" |
| 3924 | /> |
| 3925 | <line |
| 3926 | x1="535.5" |
| 3927 | x2="964" |
| 3928 | y1="4617" |
| 3929 | y2="4617" |
| 3930 | class="register-classical" |
| 3931 | /> |
| 3932 | </g> |
| 3933 | <g> |
| 3934 | <line |
| 3935 | x1="331" |
| 3936 | x2="331" |
| 3937 | y1="4740" |
| 3938 | y2="4791" |
| 3939 | class="register-classical" |
| 3940 | /> |
| 3941 | <line |
| 3942 | x1="329" |
| 3943 | x2="329" |
| 3944 | y1="4740" |
| 3945 | y2="4793" |
| 3946 | class="register-classical" |
| 3947 | /> |
| 3948 | <line |
| 3949 | x1="331" |
| 3950 | x2="964" |
| 3951 | y1="4791" |
| 3952 | y2="4791" |
| 3953 | class="register-classical" |
| 3954 | /> |
| 3955 | <line |
| 3956 | x1="329" |
| 3957 | x2="964" |
| 3958 | y1="4793" |
| 3959 | y2="4793" |
| 3960 | class="register-classical" |
| 3961 | /> |
| 3962 | </g> |
| 3963 | <g> |
| 3964 | <line |
| 3965 | x1="540" |
| 3966 | x2="540" |
| 3967 | y1="4740" |
| 3968 | y2="4843" |
| 3969 | class="register-classical" |
| 3970 | /> |
| 3971 | <line |
| 3972 | x1="538" |
| 3973 | x2="538" |
| 3974 | y1="4740" |
| 3975 | y2="4845" |
| 3976 | class="register-classical" |
| 3977 | /> |
| 3978 | <line |
| 3979 | x1="540" |
| 3980 | x2="964" |
| 3981 | y1="4843" |
| 3982 | y2="4843" |
| 3983 | class="register-classical" |
| 3984 | /> |
| 3985 | <line |
| 3986 | x1="538" |
| 3987 | x2="964" |
| 3988 | y1="4845" |
| 3989 | y2="4845" |
| 3990 | class="register-classical" |
| 3991 | /> |
| 3992 | </g> |
| 3993 | <g> |
| 3994 | <line |
| 3995 | x1="433" |
| 3996 | x2="433" |
| 3997 | y1="4896" |
| 3998 | y2="4947" |
| 3999 | class="register-classical" |
| 4000 | /> |
| 4001 | <line |
| 4002 | x1="431" |
| 4003 | x2="431" |
| 4004 | y1="4896" |
| 4005 | y2="4949" |
| 4006 | class="register-classical" |
| 4007 | /> |
| 4008 | <line |
| 4009 | x1="433" |
| 4010 | x2="964" |
| 4011 | y1="4947" |
| 4012 | y2="4947" |
| 4013 | class="register-classical" |
| 4014 | /> |
| 4015 | <line |
| 4016 | x1="431" |
| 4017 | x2="964" |
| 4018 | y1="4949" |
| 4019 | y2="4949" |
| 4020 | class="register-classical" |
| 4021 | /> |
| 4022 | </g> |
| 4023 | <g> |
| 4024 | <line |
| 4025 | x1="642" |
| 4026 | x2="642" |
| 4027 | y1="4896" |
| 4028 | y2="4999" |
| 4029 | class="register-classical" |
| 4030 | /> |
| 4031 | <line |
| 4032 | x1="640" |
| 4033 | x2="640" |
| 4034 | y1="4896" |
| 4035 | y2="5001" |
| 4036 | class="register-classical" |
| 4037 | /> |
| 4038 | <line |
| 4039 | x1="642" |
| 4040 | x2="964" |
| 4041 | y1="4999" |
| 4042 | y2="4999" |
| 4043 | class="register-classical" |
| 4044 | /> |
| 4045 | <line |
| 4046 | x1="640" |
| 4047 | x2="964" |
| 4048 | y1="5001" |
| 4049 | y2="5001" |
| 4050 | class="register-classical" |
| 4051 | /> |
| 4052 | </g> |
| 4053 | </g> |
| 4054 | <g> |
| 4055 | <g class="gate" data-location="0,0" data-expanded="true"> |
| 4056 | <rect |
| 4057 | class="gate-unitary" |
| 4058 | x="80" |
| 4059 | y="46" |
| 4060 | width="866" |
| 4061 | height="5004" |
| 4062 | fill-opacity="0" |
| 4063 | stroke-dasharray="8, 8" |
| 4064 | /> |
| 4065 | <g> |
| 4066 | <g class="gate" data-location="0,0-0,0" data-expanded="true"> |
| 4067 | <rect |
| 4068 | class="gate-unitary" |
| 4069 | x="356.5" |
| 4070 | y="72" |
| 4071 | width="261" |
| 4072 | height="164" |
| 4073 | fill-opacity="0" |
| 4074 | stroke-dasharray="8, 8" |
| 4075 | /> |
| 4076 | <g> |
| 4077 | <g class="gate" data-location="0,0-0,0-0,0"> |
| 4078 | <a href="#" class="qs-circuit-source-link"> |
| 4079 | <title>conditionals.qs:26:5 H(q);</title> |
| 4080 | <g> |
| 4081 | <g> |
| 4082 | <rect |
| 4083 | class="gate-unitary" |
| 4084 | x="366.5" |
| 4085 | y="124" |
| 4086 | width="40" |
| 4087 | height="40" |
| 4088 | data-wire-ys="[144]" |
| 4089 | data-width="40" |
| 4090 | /> |
| 4091 | <text |
| 4092 | font-size="14" |
| 4093 | x="386.5" |
| 4094 | y="144" |
| 4095 | class="qs-maintext" |
| 4096 | > |
| 4097 | <tspan class="qs-mathtext">H</tspan> |
| 4098 | </text> |
| 4099 | </g> |
| 4100 | </g> |
| 4101 | </a> |
| 4102 | </g> |
| 4103 | <g class="gate" data-location="0,0-0,0-1,0"> |
| 4104 | <a href="#" class="qs-circuit-source-link"> |
| 4105 | <title>conditionals.qs:27:14 let r1 = M(q);</title> |
| 4106 | <g> |
| 4107 | <rect |
| 4108 | class="gate-measure" |
| 4109 | x="418.5" |
| 4110 | y="124" |
| 4111 | width="40" |
| 4112 | height="40" |
| 4113 | data-wire-ys="[144]" |
| 4114 | data-width="40" |
| 4115 | /> |
| 4116 | <path |
| 4117 | class="arc-measure" |
| 4118 | d="M 453.5 146 A 15 12 0 0 0 423.5 146" |
| 4119 | style="pointer-events: none" |
| 4120 | /> |
| 4121 | <line |
| 4122 | x1="438.5" |
| 4123 | x2="450.5" |
| 4124 | y1="152" |
| 4125 | y2="132" |
| 4126 | class="qs-line-measure" |
| 4127 | style="pointer-events: none" |
| 4128 | /> |
| 4129 | </g> |
| 4130 | </a> |
| 4131 | </g> |
| 4132 | <g |
| 4133 | class="gate classically-controlled-group" |
| 4134 | data-location="0,0-0,0-2,0" |
| 4135 | data-expanded="true" |
| 4136 | > |
| 4137 | <line |
| 4138 | x1="485.5" |
| 4139 | x2="510.5" |
| 4140 | y1="216" |
| 4141 | y2="216" |
| 4142 | class="classical-line" |
| 4143 | stroke-dasharray="8, 8" |
| 4144 | /> |
| 4145 | <line |
| 4146 | x1="485.5" |
| 4147 | x2="485.5" |
| 4148 | y1="211" |
| 4149 | y2="216" |
| 4150 | class="classical-line" |
| 4151 | stroke-dasharray="8, 8" |
| 4152 | /> |
| 4153 | <g class="classically-controlled-btn"> |
| 4154 | <circle cx="485.5" cy="196" r="15" /> |
| 4155 | <text |
| 4156 | font-size="14" |
| 4157 | x="485.5" |
| 4158 | y="196" |
| 4159 | text-anchor="start" |
| 4160 | dominant-baseline="middle" |
| 4161 | class="qs-maintext" |
| 4162 | > |
| 4163 | c |
| 4164 | <tspan baseline-shift="sub" font-size="65%">0</tspan> |
| 4165 | </text> |
| 4166 | </g> |
| 4167 | <rect |
| 4168 | class="classical-container" |
| 4169 | x="510.5" |
| 4170 | y="98" |
| 4171 | width="97" |
| 4172 | height="128" |
| 4173 | fill-opacity="0" |
| 4174 | stroke-dasharray="8, 8" |
| 4175 | /> |
| 4176 | <g> |
| 4177 | <g class="gate" data-location="0,0-0,0-2,0-0,0"> |
| 4178 | <a href="#" class="qs-circuit-source-link"> |
| 4179 | <title>conditionals.qs:29:9 X(q);</title> |
| 4180 | <g class="oplus" data-wire-ys="[144]" data-width="30"> |
| 4181 | <circle cx="540.5" cy="144" r="15" /> |
| 4182 | <line x1="540.5" x2="540.5" y1="129" y2="159" /> |
| 4183 | <line x1="525.5" x2="555.5" y1="144" y2="144" /> |
| 4184 | </g> |
| 4185 | </a> |
| 4186 | </g> |
| 4187 | </g> |
| 4188 | <a href="#" class="qs-circuit-source-link"> |
| 4189 | <title>conditionals.qs:28:5 if (r1 == One) {</title> |
| 4190 | <text |
| 4191 | font-size="14" |
| 4192 | x="520.5" |
| 4193 | y="113" |
| 4194 | class="qs-maintext qs-group-label" |
| 4195 | style="pointer-events: all" |
| 4196 | > |
| 4197 | <tspan class="qs-mathtext">if</tspan> |
| 4198 | : |
| 4199 | <tspan class="qs-mathtext">c</tspan> |
| 4200 | <tspan baseline-shift="sub" font-size="65%">0</tspan> |
| 4201 | = |1〉 |
| 4202 | </text> |
| 4203 | </a> |
| 4204 | <g class="gate-control gate-collapse"> |
| 4205 | <circle cx="512.5" cy="100" r="10" /> |
| 4206 | <path d="M505.5,100 h14" /> |
| 4207 | </g> |
| 4208 | </g> |
| 4209 | </g> |
| 4210 | <a href="#" class="qs-circuit-source-link"> |
| 4211 | <title> |
| 4212 | conditionals.qs:4:5 ResultComparisonToLiteral(qs[0]); |
| 4213 | </title> |
| 4214 | <text |
| 4215 | font-size="14" |
| 4216 | x="366.5" |
| 4217 | y="87" |
| 4218 | class="qs-maintext qs-group-label" |
| 4219 | style="pointer-events: all" |
| 4220 | > |
| 4221 | <tspan class="qs-mathtext">ResultComparisonToLiteral</tspan> |
| 4222 | </text> |
| 4223 | </a> |
| 4224 | <g class="gate-control gate-collapse"> |
| 4225 | <circle cx="358.5" cy="74" r="10" /> |
| 4226 | <path d="M351.5,74 h14" /> |
| 4227 | </g> |
| 4228 | </g> |
| 4229 | <g class="gate" data-location="0,0-0,1" data-expanded="true"> |
| 4230 | <rect |
| 4231 | class="gate-unitary" |
| 4232 | x="356.5" |
| 4233 | y="248" |
| 4234 | width="261" |
| 4235 | height="164" |
| 4236 | fill-opacity="0" |
| 4237 | stroke-dasharray="8, 8" |
| 4238 | /> |
| 4239 | <g> |
| 4240 | <g class="gate" data-location="0,0-0,1-0,0"> |
| 4241 | <a href="#" class="qs-circuit-source-link"> |
| 4242 | <title>conditionals.qs:37:5 H(q);</title> |
| 4243 | <g> |
| 4244 | <g> |
| 4245 | <rect |
| 4246 | class="gate-unitary" |
| 4247 | x="366.5" |
| 4248 | y="300" |
| 4249 | width="40" |
| 4250 | height="40" |
| 4251 | data-wire-ys="[320]" |
| 4252 | data-width="40" |
| 4253 | /> |
| 4254 | <text |
| 4255 | font-size="14" |
| 4256 | x="386.5" |
| 4257 | y="320" |
| 4258 | class="qs-maintext" |
| 4259 | > |
| 4260 | <tspan class="qs-mathtext">H</tspan> |
| 4261 | </text> |
| 4262 | </g> |
| 4263 | </g> |
| 4264 | </a> |
| 4265 | </g> |
| 4266 | <g class="gate" data-location="0,0-0,1-1,0"> |
| 4267 | <a href="#" class="qs-circuit-source-link"> |
| 4268 | <title>conditionals.qs:38:14 let r1 = M(q);</title> |
| 4269 | <g> |
| 4270 | <rect |
| 4271 | class="gate-measure" |
| 4272 | x="418.5" |
| 4273 | y="300" |
| 4274 | width="40" |
| 4275 | height="40" |
| 4276 | data-wire-ys="[320]" |
| 4277 | data-width="40" |
| 4278 | /> |
| 4279 | <path |
| 4280 | class="arc-measure" |
| 4281 | d="M 453.5 322 A 15 12 0 0 0 423.5 322" |
| 4282 | style="pointer-events: none" |
| 4283 | /> |
| 4284 | <line |
| 4285 | x1="438.5" |
| 4286 | x2="450.5" |
| 4287 | y1="328" |
| 4288 | y2="308" |
| 4289 | class="qs-line-measure" |
| 4290 | style="pointer-events: none" |
| 4291 | /> |
| 4292 | </g> |
| 4293 | </a> |
| 4294 | </g> |
| 4295 | <g |
| 4296 | class="gate classically-controlled-group" |
| 4297 | data-location="0,0-0,1-2,0" |
| 4298 | data-expanded="true" |
| 4299 | > |
| 4300 | <line |
| 4301 | x1="485.5" |
| 4302 | x2="510.5" |
| 4303 | y1="392" |
| 4304 | y2="392" |
| 4305 | class="classical-line" |
| 4306 | stroke-dasharray="8, 8" |
| 4307 | /> |
| 4308 | <line |
| 4309 | x1="485.5" |
| 4310 | x2="485.5" |
| 4311 | y1="387" |
| 4312 | y2="392" |
| 4313 | class="classical-line" |
| 4314 | stroke-dasharray="8, 8" |
| 4315 | /> |
| 4316 | <g class="classically-controlled-btn"> |
| 4317 | <circle cx="485.5" cy="372" r="15" /> |
| 4318 | <text |
| 4319 | font-size="14" |
| 4320 | x="485.5" |
| 4321 | y="372" |
| 4322 | text-anchor="start" |
| 4323 | dominant-baseline="middle" |
| 4324 | class="qs-maintext" |
| 4325 | > |
| 4326 | c |
| 4327 | <tspan baseline-shift="sub" font-size="65%">1</tspan> |
| 4328 | </text> |
| 4329 | </g> |
| 4330 | <rect |
| 4331 | class="classical-container" |
| 4332 | x="510.5" |
| 4333 | y="274" |
| 4334 | width="97" |
| 4335 | height="128" |
| 4336 | fill-opacity="0" |
| 4337 | stroke-dasharray="8, 8" |
| 4338 | /> |
| 4339 | <g> |
| 4340 | <g class="gate" data-location="0,0-0,1-2,0-0,0"> |
| 4341 | <a href="#" class="qs-circuit-source-link"> |
| 4342 | <title>conditionals.qs:40:9 X(q);</title> |
| 4343 | <g class="oplus" data-wire-ys="[320]" data-width="30"> |
| 4344 | <circle cx="540.5" cy="320" r="15" /> |
| 4345 | <line x1="540.5" x2="540.5" y1="305" y2="335" /> |
| 4346 | <line x1="525.5" x2="555.5" y1="320" y2="320" /> |
| 4347 | </g> |
| 4348 | </a> |
| 4349 | </g> |
| 4350 | </g> |
| 4351 | <a href="#" class="qs-circuit-source-link"> |
| 4352 | <title>conditionals.qs:39:5 if (r1 == Zero) {</title> |
| 4353 | <text |
| 4354 | font-size="14" |
| 4355 | x="520.5" |
| 4356 | y="289" |
| 4357 | class="qs-maintext qs-group-label" |
| 4358 | style="pointer-events: all" |
| 4359 | > |
| 4360 | <tspan class="qs-mathtext">if</tspan> |
| 4361 | : |
| 4362 | <tspan class="qs-mathtext">c</tspan> |
| 4363 | <tspan baseline-shift="sub" font-size="65%">1</tspan> |
| 4364 | = |0〉 |
| 4365 | </text> |
| 4366 | </a> |
| 4367 | <g class="gate-control gate-collapse"> |
| 4368 | <circle cx="512.5" cy="276" r="10" /> |
| 4369 | <path d="M505.5,276 h14" /> |
| 4370 | </g> |
| 4371 | </g> |
| 4372 | </g> |
| 4373 | <a href="#" class="qs-circuit-source-link"> |
| 4374 | <title> |
| 4375 | conditionals.qs:5:5 ResultComparisonToLiteralZero(qs[1]); |
| 4376 | </title> |
| 4377 | <text |
| 4378 | font-size="14" |
| 4379 | x="366.5" |
| 4380 | y="263" |
| 4381 | class="qs-maintext qs-group-label" |
| 4382 | style="pointer-events: all" |
| 4383 | > |
| 4384 | <tspan class="qs-mathtext"> |
| 4385 | ResultComparisonToLiteralZero |
| 4386 | </tspan> |
| 4387 | </text> |
| 4388 | </a> |
| 4389 | <g class="gate-control gate-collapse"> |
| 4390 | <circle cx="358.5" cy="250" r="10" /> |
| 4391 | <path d="M351.5,250 h14" /> |
| 4392 | </g> |
| 4393 | </g> |
| 4394 | <g class="gate" data-location="0,0-0,2" data-expanded="true"> |
| 4395 | <rect |
| 4396 | class="gate-unitary" |
| 4397 | x="356.5" |
| 4398 | y="424" |
| 4399 | width="261" |
| 4400 | height="164" |
| 4401 | fill-opacity="0" |
| 4402 | stroke-dasharray="8, 8" |
| 4403 | /> |
| 4404 | <g> |
| 4405 | <g class="gate" data-location="0,0-0,2-0,0"> |
| 4406 | <a href="#" class="qs-circuit-source-link"> |
| 4407 | <title>conditionals.qs:46:5 H(q);</title> |
| 4408 | <g> |
| 4409 | <g> |
| 4410 | <rect |
| 4411 | class="gate-unitary" |
| 4412 | x="366.5" |
| 4413 | y="476" |
| 4414 | width="40" |
| 4415 | height="40" |
| 4416 | data-wire-ys="[496]" |
| 4417 | data-width="40" |
| 4418 | /> |
| 4419 | <text |
| 4420 | font-size="14" |
| 4421 | x="386.5" |
| 4422 | y="496" |
| 4423 | class="qs-maintext" |
| 4424 | > |
| 4425 | <tspan class="qs-mathtext">H</tspan> |
| 4426 | </text> |
| 4427 | </g> |
| 4428 | </g> |
| 4429 | </a> |
| 4430 | </g> |
| 4431 | <g class="gate" data-location="0,0-0,2-1,0"> |
| 4432 | <a href="#" class="qs-circuit-source-link"> |
| 4433 | <title>conditionals.qs:47:14 let r1 = M(q);</title> |
| 4434 | <g> |
| 4435 | <rect |
| 4436 | class="gate-measure" |
| 4437 | x="418.5" |
| 4438 | y="476" |
| 4439 | width="40" |
| 4440 | height="40" |
| 4441 | data-wire-ys="[496]" |
| 4442 | data-width="40" |
| 4443 | /> |
| 4444 | <path |
| 4445 | class="arc-measure" |
| 4446 | d="M 453.5 498 A 15 12 0 0 0 423.5 498" |
| 4447 | style="pointer-events: none" |
| 4448 | /> |
| 4449 | <line |
| 4450 | x1="438.5" |
| 4451 | x2="450.5" |
| 4452 | y1="504" |
| 4453 | y2="484" |
| 4454 | class="qs-line-measure" |
| 4455 | style="pointer-events: none" |
| 4456 | /> |
| 4457 | </g> |
| 4458 | </a> |
| 4459 | </g> |
| 4460 | <g |
| 4461 | class="gate classically-controlled-group" |
| 4462 | data-location="0,0-0,2-2,0" |
| 4463 | data-expanded="true" |
| 4464 | > |
| 4465 | <line |
| 4466 | x1="485.5" |
| 4467 | x2="510.5" |
| 4468 | y1="568" |
| 4469 | y2="568" |
| 4470 | class="classical-line" |
| 4471 | stroke-dasharray="8, 8" |
| 4472 | /> |
| 4473 | <line |
| 4474 | x1="485.5" |
| 4475 | x2="485.5" |
| 4476 | y1="563" |
| 4477 | y2="568" |
| 4478 | class="classical-line" |
| 4479 | stroke-dasharray="8, 8" |
| 4480 | /> |
| 4481 | <g class="classically-controlled-btn"> |
| 4482 | <circle cx="485.5" cy="548" r="15" /> |
| 4483 | <text |
| 4484 | font-size="14" |
| 4485 | x="485.5" |
| 4486 | y="548" |
| 4487 | text-anchor="start" |
| 4488 | dominant-baseline="middle" |
| 4489 | class="qs-maintext" |
| 4490 | > |
| 4491 | c |
| 4492 | <tspan baseline-shift="sub" font-size="65%">2</tspan> |
| 4493 | </text> |
| 4494 | </g> |
| 4495 | <rect |
| 4496 | class="classical-container" |
| 4497 | x="510.5" |
| 4498 | y="450" |
| 4499 | width="97" |
| 4500 | height="128" |
| 4501 | fill-opacity="0" |
| 4502 | stroke-dasharray="8, 8" |
| 4503 | /> |
| 4504 | <g> |
| 4505 | <g class="gate" data-location="0,0-0,2-2,0-0,0"> |
| 4506 | <a href="#" class="qs-circuit-source-link"> |
| 4507 | <title>conditionals.qs:49:9 X(q);</title> |
| 4508 | <g class="oplus" data-wire-ys="[496]" data-width="30"> |
| 4509 | <circle cx="540.5" cy="496" r="15" /> |
| 4510 | <line x1="540.5" x2="540.5" y1="481" y2="511" /> |
| 4511 | <line x1="525.5" x2="555.5" y1="496" y2="496" /> |
| 4512 | </g> |
| 4513 | </a> |
| 4514 | </g> |
| 4515 | </g> |
| 4516 | <a href="#" class="qs-circuit-source-link"> |
| 4517 | <title> |
| 4518 | conditionals.qs:48:5 if (r1 == Zero) {} else { |
| 4519 | </title> |
| 4520 | <text |
| 4521 | font-size="14" |
| 4522 | x="520.5" |
| 4523 | y="465" |
| 4524 | class="qs-maintext qs-group-label" |
| 4525 | style="pointer-events: all" |
| 4526 | > |
| 4527 | <tspan class="qs-mathtext">if</tspan> |
| 4528 | : |
| 4529 | <tspan class="qs-mathtext">c</tspan> |
| 4530 | <tspan baseline-shift="sub" font-size="65%">2</tspan> |
| 4531 | = |1〉 |
| 4532 | </text> |
| 4533 | </a> |
| 4534 | <g class="gate-control gate-collapse"> |
| 4535 | <circle cx="512.5" cy="452" r="10" /> |
| 4536 | <path d="M505.5,452 h14" /> |
| 4537 | </g> |
| 4538 | </g> |
| 4539 | </g> |
| 4540 | <a href="#" class="qs-circuit-source-link"> |
| 4541 | <title>conditionals.qs:6:5 ElseBlockOnly(qs[2]);</title> |
| 4542 | <text |
| 4543 | font-size="14" |
| 4544 | x="366.5" |
| 4545 | y="439" |
| 4546 | class="qs-maintext qs-group-label" |
| 4547 | style="pointer-events: all" |
| 4548 | > |
| 4549 | <tspan class="qs-mathtext">ElseBlockOnly</tspan> |
| 4550 | </text> |
| 4551 | </a> |
| 4552 | <g class="gate-control gate-collapse"> |
| 4553 | <circle cx="358.5" cy="426" r="10" /> |
| 4554 | <path d="M351.5,426 h14" /> |
| 4555 | </g> |
| 4556 | </g> |
| 4557 | <g class="gate" data-location="0,0-0,3" data-expanded="true"> |
| 4558 | <rect |
| 4559 | class="gate-unitary" |
| 4560 | x="286" |
| 4561 | y="600" |
| 4562 | width="402" |
| 4563 | height="268" |
| 4564 | fill-opacity="0" |
| 4565 | stroke-dasharray="8, 8" |
| 4566 | /> |
| 4567 | <g> |
| 4568 | <g class="gate" data-location="0,0-0,3-0,0"> |
| 4569 | <a href="#" class="qs-circuit-source-link"> |
| 4570 | <title>conditionals.qs:55:5 H(q1);</title> |
| 4571 | <g> |
| 4572 | <g> |
| 4573 | <rect |
| 4574 | class="gate-unitary" |
| 4575 | x="296" |
| 4576 | y="652" |
| 4577 | width="40" |
| 4578 | height="40" |
| 4579 | data-wire-ys="[672]" |
| 4580 | data-width="40" |
| 4581 | /> |
| 4582 | <text |
| 4583 | font-size="14" |
| 4584 | x="316" |
| 4585 | y="672" |
| 4586 | class="qs-maintext" |
| 4587 | > |
| 4588 | <tspan class="qs-mathtext">H</tspan> |
| 4589 | </text> |
| 4590 | </g> |
| 4591 | </g> |
| 4592 | </a> |
| 4593 | </g> |
| 4594 | <g class="gate" data-location="0,0-0,3-0,1"> |
| 4595 | <a href="#" class="qs-circuit-source-link"> |
| 4596 | <title>conditionals.qs:56:5 H(q2);</title> |
| 4597 | <g> |
| 4598 | <g> |
| 4599 | <rect |
| 4600 | class="gate-unitary" |
| 4601 | x="296" |
| 4602 | y="756" |
| 4603 | width="40" |
| 4604 | height="40" |
| 4605 | data-wire-ys="[776]" |
| 4606 | data-width="40" |
| 4607 | /> |
| 4608 | <text |
| 4609 | font-size="14" |
| 4610 | x="316" |
| 4611 | y="776" |
| 4612 | class="qs-maintext" |
| 4613 | > |
| 4614 | <tspan class="qs-mathtext">H</tspan> |
| 4615 | </text> |
| 4616 | </g> |
| 4617 | </g> |
| 4618 | </a> |
| 4619 | </g> |
| 4620 | <g class="gate" data-location="0,0-0,3-1,0"> |
| 4621 | <a href="#" class="qs-circuit-source-link"> |
| 4622 | <title>conditionals.qs:57:14 let r1 = M(q1);</title> |
| 4623 | <g> |
| 4624 | <rect |
| 4625 | class="gate-measure" |
| 4626 | x="348" |
| 4627 | y="652" |
| 4628 | width="40" |
| 4629 | height="40" |
| 4630 | data-wire-ys="[672]" |
| 4631 | data-width="40" |
| 4632 | /> |
| 4633 | <path |
| 4634 | class="arc-measure" |
| 4635 | d="M 383 674 A 15 12 0 0 0 353 674" |
| 4636 | style="pointer-events: none" |
| 4637 | /> |
| 4638 | <line |
| 4639 | x1="368" |
| 4640 | x2="380" |
| 4641 | y1="680" |
| 4642 | y2="660" |
| 4643 | class="qs-line-measure" |
| 4644 | style="pointer-events: none" |
| 4645 | /> |
| 4646 | </g> |
| 4647 | </a> |
| 4648 | </g> |
| 4649 | <g class="gate" data-location="0,0-0,3-1,1"> |
| 4650 | <a href="#" class="qs-circuit-source-link"> |
| 4651 | <title>conditionals.qs:58:14 let r2 = M(q2);</title> |
| 4652 | <g> |
| 4653 | <rect |
| 4654 | class="gate-measure" |
| 4655 | x="348" |
| 4656 | y="756" |
| 4657 | width="40" |
| 4658 | height="40" |
| 4659 | data-wire-ys="[776]" |
| 4660 | data-width="40" |
| 4661 | /> |
| 4662 | <path |
| 4663 | class="arc-measure" |
| 4664 | d="M 383 778 A 15 12 0 0 0 353 778" |
| 4665 | style="pointer-events: none" |
| 4666 | /> |
| 4667 | <line |
| 4668 | x1="368" |
| 4669 | x2="380" |
| 4670 | y1="784" |
| 4671 | y2="764" |
| 4672 | class="qs-line-measure" |
| 4673 | style="pointer-events: none" |
| 4674 | /> |
| 4675 | </g> |
| 4676 | </a> |
| 4677 | </g> |
| 4678 | <g |
| 4679 | class="gate classically-controlled-group" |
| 4680 | data-location="0,0-0,3-2,0" |
| 4681 | data-expanded="true" |
| 4682 | > |
| 4683 | <line |
| 4684 | x1="415" |
| 4685 | x2="440" |
| 4686 | y1="744" |
| 4687 | y2="744" |
| 4688 | class="classical-line" |
| 4689 | stroke-dasharray="8, 8" |
| 4690 | /> |
| 4691 | <line |
| 4692 | x1="415" |
| 4693 | x2="415" |
| 4694 | y1="739" |
| 4695 | y2="744" |
| 4696 | class="classical-line" |
| 4697 | stroke-dasharray="8, 8" |
| 4698 | /> |
| 4699 | <g class="classically-controlled-btn"> |
| 4700 | <circle cx="415" cy="724" r="15" /> |
| 4701 | <text |
| 4702 | font-size="14" |
| 4703 | x="415" |
| 4704 | y="724" |
| 4705 | text-anchor="start" |
| 4706 | dominant-baseline="middle" |
| 4707 | class="qs-maintext" |
| 4708 | > |
| 4709 | c |
| 4710 | <tspan baseline-shift="sub" font-size="65%">3</tspan> |
| 4711 | </text> |
| 4712 | </g> |
| 4713 | <line |
| 4714 | x1="415" |
| 4715 | x2="440" |
| 4716 | y1="848" |
| 4717 | y2="848" |
| 4718 | class="classical-line" |
| 4719 | stroke-dasharray="8, 8" |
| 4720 | /> |
| 4721 | <line |
| 4722 | x1="415" |
| 4723 | x2="415" |
| 4724 | y1="843" |
| 4725 | y2="848" |
| 4726 | class="classical-line" |
| 4727 | stroke-dasharray="8, 8" |
| 4728 | /> |
| 4729 | <g class="classically-controlled-btn"> |
| 4730 | <circle cx="415" cy="828" r="15" /> |
| 4731 | <text |
| 4732 | font-size="14" |
| 4733 | x="415" |
| 4734 | y="828" |
| 4735 | text-anchor="start" |
| 4736 | dominant-baseline="middle" |
| 4737 | class="qs-maintext" |
| 4738 | > |
| 4739 | c |
| 4740 | <tspan baseline-shift="sub" font-size="65%">4</tspan> |
| 4741 | </text> |
| 4742 | </g> |
| 4743 | <rect |
| 4744 | class="classical-container" |
| 4745 | x="440" |
| 4746 | y="626" |
| 4747 | width="238" |
| 4748 | height="232" |
| 4749 | fill-opacity="0" |
| 4750 | stroke-dasharray="8, 8" |
| 4751 | /> |
| 4752 | <g> |
| 4753 | <g class="gate" data-location="0,0-0,3-2,0-0,0"> |
| 4754 | <a href="#" class="qs-circuit-source-link"> |
| 4755 | <title>conditionals.qs:60:9 X(q1);</title> |
| 4756 | <g class="oplus" data-wire-ys="[672]" data-width="30"> |
| 4757 | <circle cx="470" cy="672" r="15" /> |
| 4758 | <line x1="470" x2="470" y1="657" y2="687" /> |
| 4759 | <line x1="455" x2="485" y1="672" y2="672" /> |
| 4760 | </g> |
| 4761 | </a> |
| 4762 | </g> |
| 4763 | </g> |
| 4764 | <a href="#" class="qs-circuit-source-link"> |
| 4765 | <title>conditionals.qs:59:5 if (r1 == r2) {</title> |
| 4766 | <text |
| 4767 | font-size="14" |
| 4768 | x="450" |
| 4769 | y="641" |
| 4770 | class="qs-maintext qs-group-label" |
| 4771 | style="pointer-events: all" |
| 4772 | > |
| 4773 | <tspan class="qs-mathtext">if</tspan> |
| 4774 | : |
| 4775 | <tspan class="qs-mathtext">c</tspan> |
| 4776 | <tspan baseline-shift="sub" font-size="65%">3</tspan> |
| 4777 | <tspan class="qs-mathtext">c</tspan> |
| 4778 | <tspan baseline-shift="sub" font-size="65%">4</tspan> |
| 4779 | = |00〉 |
| 4780 | <tspan class="qs-mathtext">or</tspan> |
| 4781 | <tspan class="qs-mathtext">c</tspan> |
| 4782 | <tspan baseline-shift="sub" font-size="65%">3</tspan> |
| 4783 | <tspan class="qs-mathtext">c</tspan> |
| 4784 | <tspan baseline-shift="sub" font-size="65%">4</tspan> |
| 4785 | = |11〉 |
| 4786 | </text> |
| 4787 | </a> |
| 4788 | <g class="gate-control gate-collapse"> |
| 4789 | <circle cx="442" cy="628" r="10" /> |
| 4790 | <path d="M435,628 h14" /> |
| 4791 | </g> |
| 4792 | </g> |
| 4793 | </g> |
| 4794 | <a href="#" class="qs-circuit-source-link"> |
| 4795 | <title> |
| 4796 | conditionals.qs:7:5 ResultComparisonToResult(qs[3], qs[4]); |
| 4797 | </title> |
| 4798 | <text |
| 4799 | font-size="14" |
| 4800 | x="296" |
| 4801 | y="615" |
| 4802 | class="qs-maintext qs-group-label" |
| 4803 | style="pointer-events: all" |
| 4804 | > |
| 4805 | <tspan class="qs-mathtext">ResultComparisonToResult</tspan> |
| 4806 | </text> |
| 4807 | </a> |
| 4808 | <g class="gate-control gate-collapse"> |
| 4809 | <circle cx="288" cy="602" r="10" /> |
| 4810 | <path d="M281,602 h14" /> |
| 4811 | </g> |
| 4812 | </g> |
| 4813 | <g class="gate" data-location="0,0-0,4" data-expanded="true"> |
| 4814 | <rect |
| 4815 | class="gate-unitary" |
| 4816 | x="385" |
| 4817 | y="880" |
| 4818 | width="204" |
| 4819 | height="232" |
| 4820 | fill-opacity="0" |
| 4821 | stroke-dasharray="8, 8" |
| 4822 | /> |
| 4823 | <g> |
| 4824 | <g class="gate" data-location="0,0-0,4-0,0"> |
| 4825 | <a href="#" class="qs-circuit-source-link"> |
| 4826 | <title>conditionals.qs:66:5 H(q1);</title> |
| 4827 | <g> |
| 4828 | <g> |
| 4829 | <rect |
| 4830 | class="gate-unitary" |
| 4831 | x="395" |
| 4832 | y="906" |
| 4833 | width="40" |
| 4834 | height="40" |
| 4835 | data-wire-ys="[926]" |
| 4836 | data-width="40" |
| 4837 | /> |
| 4838 | <text |
| 4839 | font-size="14" |
| 4840 | x="415" |
| 4841 | y="926" |
| 4842 | class="qs-maintext" |
| 4843 | > |
| 4844 | <tspan class="qs-mathtext">H</tspan> |
| 4845 | </text> |
| 4846 | </g> |
| 4847 | </g> |
| 4848 | </a> |
| 4849 | </g> |
| 4850 | <g class="gate" data-location="0,0-0,4-0,1"> |
| 4851 | <a href="#" class="qs-circuit-source-link"> |
| 4852 | <title>conditionals.qs:67:5 H(q2);</title> |
| 4853 | <g> |
| 4854 | <g> |
| 4855 | <rect |
| 4856 | class="gate-unitary" |
| 4857 | x="395" |
| 4858 | y="1010" |
| 4859 | width="40" |
| 4860 | height="40" |
| 4861 | data-wire-ys="[1030]" |
| 4862 | data-width="40" |
| 4863 | /> |
| 4864 | <text |
| 4865 | font-size="14" |
| 4866 | x="415" |
| 4867 | y="1030" |
| 4868 | class="qs-maintext" |
| 4869 | > |
| 4870 | <tspan class="qs-mathtext">H</tspan> |
| 4871 | </text> |
| 4872 | </g> |
| 4873 | </g> |
| 4874 | </a> |
| 4875 | </g> |
| 4876 | <g class="gate" data-location="0,0-0,4-1,0"> |
| 4877 | <a href="#" class="qs-circuit-source-link"> |
| 4878 | <title>conditionals.qs:68:14 let r1 = M(q1);</title> |
| 4879 | <g> |
| 4880 | <rect |
| 4881 | class="gate-measure" |
| 4882 | x="447" |
| 4883 | y="906" |
| 4884 | width="40" |
| 4885 | height="40" |
| 4886 | data-wire-ys="[926]" |
| 4887 | data-width="40" |
| 4888 | /> |
| 4889 | <path |
| 4890 | class="arc-measure" |
| 4891 | d="M 482 928 A 15 12 0 0 0 452 928" |
| 4892 | style="pointer-events: none" |
| 4893 | /> |
| 4894 | <line |
| 4895 | x1="467" |
| 4896 | x2="479" |
| 4897 | y1="934" |
| 4898 | y2="914" |
| 4899 | class="qs-line-measure" |
| 4900 | style="pointer-events: none" |
| 4901 | /> |
| 4902 | </g> |
| 4903 | </a> |
| 4904 | </g> |
| 4905 | <g class="gate" data-location="0,0-0,4-1,1"> |
| 4906 | <a href="#" class="qs-circuit-source-link"> |
| 4907 | <title>conditionals.qs:69:14 let r2 = M(q2);</title> |
| 4908 | <g> |
| 4909 | <rect |
| 4910 | class="gate-measure" |
| 4911 | x="447" |
| 4912 | y="1010" |
| 4913 | width="40" |
| 4914 | height="40" |
| 4915 | data-wire-ys="[1030]" |
| 4916 | data-width="40" |
| 4917 | /> |
| 4918 | <path |
| 4919 | class="arc-measure" |
| 4920 | d="M 482 1032 A 15 12 0 0 0 452 1032" |
| 4921 | style="pointer-events: none" |
| 4922 | /> |
| 4923 | <line |
| 4924 | x1="467" |
| 4925 | x2="479" |
| 4926 | y1="1038" |
| 4927 | y2="1018" |
| 4928 | class="qs-line-measure" |
| 4929 | style="pointer-events: none" |
| 4930 | /> |
| 4931 | </g> |
| 4932 | </a> |
| 4933 | </g> |
| 4934 | </g> |
| 4935 | <a href="#" class="qs-circuit-source-link"> |
| 4936 | <title> |
| 4937 | conditionals.qs:8:5 ResultComparisonEmptyBlock(qs[5], |
| 4938 | qs[6]); |
| 4939 | </title> |
| 4940 | <text |
| 4941 | font-size="14" |
| 4942 | x="395" |
| 4943 | y="895" |
| 4944 | class="qs-maintext qs-group-label" |
| 4945 | style="pointer-events: all" |
| 4946 | > |
| 4947 | <tspan class="qs-mathtext"> |
| 4948 | ResultComparisonEmptyBlock |
| 4949 | </tspan> |
| 4950 | </text> |
| 4951 | </a> |
| 4952 | <g class="gate-control gate-collapse"> |
| 4953 | <circle cx="387" cy="882" r="10" /> |
| 4954 | <path d="M380,882 h14" /> |
| 4955 | </g> |
| 4956 | </g> |
| 4957 | <g class="gate" data-location="0,0-0,5" data-expanded="true"> |
| 4958 | <rect |
| 4959 | class="gate-unitary" |
| 4960 | x="256" |
| 4961 | y="1150" |
| 4962 | width="462" |
| 4963 | height="232" |
| 4964 | fill-opacity="0" |
| 4965 | stroke-dasharray="8, 8" |
| 4966 | /> |
| 4967 | <g> |
| 4968 | <g class="gate" data-location="0,0-0,5-0,0"> |
| 4969 | <a href="#" class="qs-circuit-source-link"> |
| 4970 | <title>conditionals.qs:78:5 H(q0);</title> |
| 4971 | <g> |
| 4972 | <g> |
| 4973 | <rect |
| 4974 | class="gate-unitary" |
| 4975 | x="266" |
| 4976 | y="1176" |
| 4977 | width="40" |
| 4978 | height="40" |
| 4979 | data-wire-ys="[1196]" |
| 4980 | data-width="40" |
| 4981 | /> |
| 4982 | <text |
| 4983 | font-size="14" |
| 4984 | x="286" |
| 4985 | y="1196" |
| 4986 | class="qs-maintext" |
| 4987 | > |
| 4988 | <tspan class="qs-mathtext">H</tspan> |
| 4989 | </text> |
| 4990 | </g> |
| 4991 | </g> |
| 4992 | </a> |
| 4993 | </g> |
| 4994 | <g class="gate" data-location="0,0-0,5-1,0"> |
| 4995 | <a href="#" class="qs-circuit-source-link"> |
| 4996 | <title>conditionals.qs:79:13 let r = M(q0);</title> |
| 4997 | <g> |
| 4998 | <rect |
| 4999 | class="gate-measure" |
| 5000 | x="318" |
| 5001 | y="1176" |
| 5002 | width="40" |
| 5003 | height="40" |
| 5004 | data-wire-ys="[1196]" |
| 5005 | data-width="40" |
| 5006 | /> |
| 5007 | <path |
| 5008 | class="arc-measure" |
| 5009 | d="M 353 1198 A 15 12 0 0 0 323 1198" |
| 5010 | style="pointer-events: none" |
| 5011 | /> |
| 5012 | <line |
| 5013 | x1="338" |
| 5014 | x2="350" |
| 5015 | y1="1204" |
| 5016 | y2="1184" |
| 5017 | class="qs-line-measure" |
| 5018 | style="pointer-events: none" |
| 5019 | /> |
| 5020 | </g> |
| 5021 | </a> |
| 5022 | </g> |
| 5023 | <g |
| 5024 | class="gate classically-controlled-group" |
| 5025 | data-location="0,0-0,5-2,0" |
| 5026 | data-expanded="true" |
| 5027 | > |
| 5028 | <line |
| 5029 | x1="385" |
| 5030 | x2="410" |
| 5031 | y1="1268" |
| 5032 | y2="1268" |
| 5033 | class="classical-line" |
| 5034 | stroke-dasharray="8, 8" |
| 5035 | /> |
| 5036 | <line |
| 5037 | x1="385" |
| 5038 | x2="385" |
| 5039 | y1="1263" |
| 5040 | y2="1268" |
| 5041 | class="classical-line" |
| 5042 | stroke-dasharray="8, 8" |
| 5043 | /> |
| 5044 | <g class="classically-controlled-btn"> |
| 5045 | <circle cx="385" cy="1248" r="15" /> |
| 5046 | <text |
| 5047 | font-size="14" |
| 5048 | x="385" |
| 5049 | y="1248" |
| 5050 | text-anchor="start" |
| 5051 | dominant-baseline="middle" |
| 5052 | class="qs-maintext" |
| 5053 | > |
| 5054 | c |
| 5055 | <tspan baseline-shift="sub" font-size="65%">7</tspan> |
| 5056 | </text> |
| 5057 | </g> |
| 5058 | <rect |
| 5059 | class="classical-container" |
| 5060 | x="410" |
| 5061 | y="1202" |
| 5062 | width="97" |
| 5063 | height="128" |
| 5064 | fill-opacity="0" |
| 5065 | stroke-dasharray="8, 8" |
| 5066 | /> |
| 5067 | <g> |
| 5068 | <g class="gate" data-location="0,0-0,5-2,0-0,0"> |
| 5069 | <a href="#" class="qs-circuit-source-link"> |
| 5070 | <title>conditionals.qs:81:9 X(q1);</title> |
| 5071 | <g |
| 5072 | class="oplus" |
| 5073 | data-wire-ys="[1300]" |
| 5074 | data-width="30" |
| 5075 | > |
| 5076 | <circle cx="440" cy="1300" r="15" /> |
| 5077 | <line x1="440" x2="440" y1="1285" y2="1315" /> |
| 5078 | <line x1="425" x2="455" y1="1300" y2="1300" /> |
| 5079 | </g> |
| 5080 | </a> |
| 5081 | </g> |
| 5082 | </g> |
| 5083 | <a href="#" class="qs-circuit-source-link"> |
| 5084 | <title>conditionals.qs:80:5 if r == One {</title> |
| 5085 | <text |
| 5086 | font-size="14" |
| 5087 | x="420" |
| 5088 | y="1217" |
| 5089 | class="qs-maintext qs-group-label" |
| 5090 | style="pointer-events: all" |
| 5091 | > |
| 5092 | <tspan class="qs-mathtext">if</tspan> |
| 5093 | : |
| 5094 | <tspan class="qs-mathtext">c</tspan> |
| 5095 | <tspan baseline-shift="sub" font-size="65%">7</tspan> |
| 5096 | = |1〉 |
| 5097 | </text> |
| 5098 | </a> |
| 5099 | <g class="gate-control gate-collapse"> |
| 5100 | <circle cx="412" cy="1204" r="10" /> |
| 5101 | <path d="M405,1204 h14" /> |
| 5102 | </g> |
| 5103 | </g> |
| 5104 | <g |
| 5105 | class="gate classically-controlled-group" |
| 5106 | data-location="0,0-0,5-3,0" |
| 5107 | data-expanded="true" |
| 5108 | > |
| 5109 | <line |
| 5110 | x1="534" |
| 5111 | x2="559" |
| 5112 | y1="1268" |
| 5113 | y2="1268" |
| 5114 | class="classical-line" |
| 5115 | stroke-dasharray="8, 8" |
| 5116 | /> |
| 5117 | <line |
| 5118 | x1="534" |
| 5119 | x2="534" |
| 5120 | y1="1263" |
| 5121 | y2="1268" |
| 5122 | class="classical-line" |
| 5123 | stroke-dasharray="8, 8" |
| 5124 | /> |
| 5125 | <g class="classically-controlled-btn"> |
| 5126 | <circle cx="534" cy="1248" r="15" /> |
| 5127 | <text |
| 5128 | font-size="14" |
| 5129 | x="534" |
| 5130 | y="1248" |
| 5131 | text-anchor="start" |
| 5132 | dominant-baseline="middle" |
| 5133 | class="qs-maintext" |
| 5134 | > |
| 5135 | c |
| 5136 | <tspan baseline-shift="sub" font-size="65%">7</tspan> |
| 5137 | </text> |
| 5138 | </g> |
| 5139 | <rect |
| 5140 | class="classical-container" |
| 5141 | x="559" |
| 5142 | y="1202" |
| 5143 | width="97" |
| 5144 | height="128" |
| 5145 | fill-opacity="0" |
| 5146 | stroke-dasharray="8, 8" |
| 5147 | /> |
| 5148 | <g> |
| 5149 | <g class="gate" data-location="0,0-0,5-3,0-0,0"> |
| 5150 | <a href="#" class="qs-circuit-source-link"> |
| 5151 | <title>conditionals.qs:83:9 Y(q1);</title> |
| 5152 | <g> |
| 5153 | <g> |
| 5154 | <rect |
| 5155 | class="gate-unitary" |
| 5156 | x="569" |
| 5157 | y="1280" |
| 5158 | width="40" |
| 5159 | height="40" |
| 5160 | data-wire-ys="[1300]" |
| 5161 | data-width="40" |
| 5162 | /> |
| 5163 | <text |
| 5164 | font-size="14" |
| 5165 | x="589" |
| 5166 | y="1300" |
| 5167 | class="qs-maintext" |
| 5168 | > |
| 5169 | <tspan class="qs-mathtext">Y</tspan> |
| 5170 | </text> |
| 5171 | </g> |
| 5172 | </g> |
| 5173 | </a> |
| 5174 | </g> |
| 5175 | </g> |
| 5176 | <a href="#" class="qs-circuit-source-link"> |
| 5177 | <title>conditionals.qs:80:5 if r == One {</title> |
| 5178 | <text |
| 5179 | font-size="14" |
| 5180 | x="569" |
| 5181 | y="1217" |
| 5182 | class="qs-maintext qs-group-label" |
| 5183 | style="pointer-events: all" |
| 5184 | > |
| 5185 | <tspan class="qs-mathtext">if</tspan> |
| 5186 | : |
| 5187 | <tspan class="qs-mathtext">c</tspan> |
| 5188 | <tspan baseline-shift="sub" font-size="65%">7</tspan> |
| 5189 | = |0〉 |
| 5190 | </text> |
| 5191 | </a> |
| 5192 | <g class="gate-control gate-collapse"> |
| 5193 | <circle cx="561" cy="1204" r="10" /> |
| 5194 | <path d="M554,1204 h14" /> |
| 5195 | </g> |
| 5196 | </g> |
| 5197 | <g class="gate" data-location="0,0-0,5-4,0"> |
| 5198 | <a href="#" class="qs-circuit-source-link"> |
| 5199 | <title>conditionals.qs:85:14 let r1 = M(q1);</title> |
| 5200 | <g> |
| 5201 | <rect |
| 5202 | class="gate-measure" |
| 5203 | x="668" |
| 5204 | y="1280" |
| 5205 | width="40" |
| 5206 | height="40" |
| 5207 | data-wire-ys="[1300]" |
| 5208 | data-width="40" |
| 5209 | /> |
| 5210 | <path |
| 5211 | class="arc-measure" |
| 5212 | d="M 703 1302 A 15 12 0 0 0 673 1302" |
| 5213 | style="pointer-events: none" |
| 5214 | /> |
| 5215 | <line |
| 5216 | x1="688" |
| 5217 | x2="700" |
| 5218 | y1="1308" |
| 5219 | y2="1288" |
| 5220 | class="qs-line-measure" |
| 5221 | style="pointer-events: none" |
| 5222 | /> |
| 5223 | </g> |
| 5224 | </a> |
| 5225 | </g> |
| 5226 | </g> |
| 5227 | <a href="#" class="qs-circuit-source-link"> |
| 5228 | <title>conditionals.qs:9:5 IfElse(qs[7], qs[8]);</title> |
| 5229 | <text |
| 5230 | font-size="14" |
| 5231 | x="266" |
| 5232 | y="1165" |
| 5233 | class="qs-maintext qs-group-label" |
| 5234 | style="pointer-events: all" |
| 5235 | > |
| 5236 | <tspan class="qs-mathtext">IfElse</tspan> |
| 5237 | </text> |
| 5238 | </a> |
| 5239 | <g class="gate-control gate-collapse"> |
| 5240 | <circle cx="258" cy="1152" r="10" /> |
| 5241 | <path d="M251,1152 h14" /> |
| 5242 | </g> |
| 5243 | </g> |
| 5244 | <g class="gate" data-location="0,0-0,6" data-expanded="true"> |
| 5245 | <rect |
| 5246 | class="gate-unitary" |
| 5247 | x="99" |
| 5248 | y="1430" |
| 5249 | width="776" |
| 5250 | height="362" |
| 5251 | fill-opacity="0" |
| 5252 | stroke-dasharray="8, 8" |
| 5253 | /> |
| 5254 | <g> |
| 5255 | <g class="gate" data-location="0,0-0,6-0,0"> |
| 5256 | <a href="#" class="qs-circuit-source-link"> |
| 5257 | <title>conditionals.qs:90:5 H(q0);</title> |
| 5258 | <g> |
| 5259 | <g> |
| 5260 | <rect |
| 5261 | class="gate-unitary" |
| 5262 | x="109" |
| 5263 | y="1456" |
| 5264 | width="40" |
| 5265 | height="40" |
| 5266 | data-wire-ys="[1476]" |
| 5267 | data-width="40" |
| 5268 | /> |
| 5269 | <text |
| 5270 | font-size="14" |
| 5271 | x="129" |
| 5272 | y="1476" |
| 5273 | class="qs-maintext" |
| 5274 | > |
| 5275 | <tspan class="qs-mathtext">H</tspan> |
| 5276 | </text> |
| 5277 | </g> |
| 5278 | </g> |
| 5279 | </a> |
| 5280 | </g> |
| 5281 | <g class="gate" data-location="0,0-0,6-0,1"> |
| 5282 | <a href="#" class="qs-circuit-source-link"> |
| 5283 | <title>conditionals.qs:91:5 H(q1);</title> |
| 5284 | <g> |
| 5285 | <g> |
| 5286 | <rect |
| 5287 | class="gate-unitary" |
| 5288 | x="109" |
| 5289 | y="1586" |
| 5290 | width="40" |
| 5291 | height="40" |
| 5292 | data-wire-ys="[1606]" |
| 5293 | data-width="40" |
| 5294 | /> |
| 5295 | <text |
| 5296 | font-size="14" |
| 5297 | x="129" |
| 5298 | y="1606" |
| 5299 | class="qs-maintext" |
| 5300 | > |
| 5301 | <tspan class="qs-mathtext">H</tspan> |
| 5302 | </text> |
| 5303 | </g> |
| 5304 | </g> |
| 5305 | </a> |
| 5306 | </g> |
| 5307 | <g class="gate" data-location="0,0-0,6-1,0"> |
| 5308 | <a href="#" class="qs-circuit-source-link"> |
| 5309 | <title>conditionals.qs:92:14 let r0 = M(q0);</title> |
| 5310 | <g> |
| 5311 | <rect |
| 5312 | class="gate-measure" |
| 5313 | x="161" |
| 5314 | y="1456" |
| 5315 | width="40" |
| 5316 | height="40" |
| 5317 | data-wire-ys="[1476]" |
| 5318 | data-width="40" |
| 5319 | /> |
| 5320 | <path |
| 5321 | class="arc-measure" |
| 5322 | d="M 196 1478 A 15 12 0 0 0 166 1478" |
| 5323 | style="pointer-events: none" |
| 5324 | /> |
| 5325 | <line |
| 5326 | x1="181" |
| 5327 | x2="193" |
| 5328 | y1="1484" |
| 5329 | y2="1464" |
| 5330 | class="qs-line-measure" |
| 5331 | style="pointer-events: none" |
| 5332 | /> |
| 5333 | </g> |
| 5334 | </a> |
| 5335 | </g> |
| 5336 | <g class="gate" data-location="0,0-0,6-1,1"> |
| 5337 | <a href="#" class="qs-circuit-source-link"> |
| 5338 | <title>conditionals.qs:93:14 let r1 = M(q1);</title> |
| 5339 | <g> |
| 5340 | <rect |
| 5341 | class="gate-measure" |
| 5342 | x="161" |
| 5343 | y="1586" |
| 5344 | width="40" |
| 5345 | height="40" |
| 5346 | data-wire-ys="[1606]" |
| 5347 | data-width="40" |
| 5348 | /> |
| 5349 | <path |
| 5350 | class="arc-measure" |
| 5351 | d="M 196 1608 A 15 12 0 0 0 166 1608" |
| 5352 | style="pointer-events: none" |
| 5353 | /> |
| 5354 | <line |
| 5355 | x1="181" |
| 5356 | x2="193" |
| 5357 | y1="1614" |
| 5358 | y2="1594" |
| 5359 | class="qs-line-measure" |
| 5360 | style="pointer-events: none" |
| 5361 | /> |
| 5362 | </g> |
| 5363 | </a> |
| 5364 | </g> |
| 5365 | <g |
| 5366 | class="gate classically-controlled-group" |
| 5367 | data-location="0,0-0,6-2,0" |
| 5368 | data-expanded="true" |
| 5369 | > |
| 5370 | <line |
| 5371 | x1="228" |
| 5372 | x2="253" |
| 5373 | y1="1548" |
| 5374 | y2="1548" |
| 5375 | class="classical-line" |
| 5376 | stroke-dasharray="8, 8" |
| 5377 | /> |
| 5378 | <line |
| 5379 | x1="228" |
| 5380 | x2="228" |
| 5381 | y1="1543" |
| 5382 | y2="1548" |
| 5383 | class="classical-line" |
| 5384 | stroke-dasharray="8, 8" |
| 5385 | /> |
| 5386 | <g class="classically-controlled-btn"> |
| 5387 | <circle cx="228" cy="1528" r="15" /> |
| 5388 | <text |
| 5389 | font-size="14" |
| 5390 | x="228" |
| 5391 | y="1528" |
| 5392 | text-anchor="start" |
| 5393 | dominant-baseline="middle" |
| 5394 | class="qs-maintext" |
| 5395 | > |
| 5396 | c |
| 5397 | <tspan baseline-shift="sub" font-size="65%">9</tspan> |
| 5398 | </text> |
| 5399 | </g> |
| 5400 | <rect |
| 5401 | class="classical-container" |
| 5402 | x="253" |
| 5403 | y="1482" |
| 5404 | width="97" |
| 5405 | height="258" |
| 5406 | fill-opacity="0" |
| 5407 | stroke-dasharray="8, 8" |
| 5408 | /> |
| 5409 | <g> |
| 5410 | <g class="gate" data-location="0,0-0,6-2,0-0,0"> |
| 5411 | <a href="#" class="qs-circuit-source-link"> |
| 5412 | <title>conditionals.qs:95:9 X(q2);</title> |
| 5413 | <g |
| 5414 | class="oplus" |
| 5415 | data-wire-ys="[1710]" |
| 5416 | data-width="30" |
| 5417 | > |
| 5418 | <circle cx="283" cy="1710" r="15" /> |
| 5419 | <line x1="283" x2="283" y1="1695" y2="1725" /> |
| 5420 | <line x1="268" x2="298" y1="1710" y2="1710" /> |
| 5421 | </g> |
| 5422 | </a> |
| 5423 | </g> |
| 5424 | </g> |
| 5425 | <a href="#" class="qs-circuit-source-link"> |
| 5426 | <title>conditionals.qs:94:5 if r0 == One {</title> |
| 5427 | <text |
| 5428 | font-size="14" |
| 5429 | x="263" |
| 5430 | y="1497" |
| 5431 | class="qs-maintext qs-group-label" |
| 5432 | style="pointer-events: all" |
| 5433 | > |
| 5434 | <tspan class="qs-mathtext">if</tspan> |
| 5435 | : |
| 5436 | <tspan class="qs-mathtext">c</tspan> |
| 5437 | <tspan baseline-shift="sub" font-size="65%">9</tspan> |
| 5438 | = |1〉 |
| 5439 | </text> |
| 5440 | </a> |
| 5441 | <g class="gate-control gate-collapse"> |
| 5442 | <circle cx="255" cy="1484" r="10" /> |
| 5443 | <path d="M248,1484 h14" /> |
| 5444 | </g> |
| 5445 | </g> |
| 5446 | <g |
| 5447 | class="gate classically-controlled-group" |
| 5448 | data-location="0,0-0,6-3,0" |
| 5449 | data-expanded="true" |
| 5450 | > |
| 5451 | <line |
| 5452 | x1="377" |
| 5453 | x2="402" |
| 5454 | y1="1548" |
| 5455 | y2="1548" |
| 5456 | class="classical-line" |
| 5457 | stroke-dasharray="8, 8" |
| 5458 | /> |
| 5459 | <line |
| 5460 | x1="377" |
| 5461 | x2="377" |
| 5462 | y1="1543" |
| 5463 | y2="1548" |
| 5464 | class="classical-line" |
| 5465 | stroke-dasharray="8, 8" |
| 5466 | /> |
| 5467 | <g class="classically-controlled-btn"> |
| 5468 | <circle cx="377" cy="1528" r="15" /> |
| 5469 | <text |
| 5470 | font-size="14" |
| 5471 | x="377" |
| 5472 | y="1528" |
| 5473 | text-anchor="start" |
| 5474 | dominant-baseline="middle" |
| 5475 | class="qs-maintext" |
| 5476 | > |
| 5477 | c |
| 5478 | <tspan baseline-shift="sub" font-size="65%">9</tspan> |
| 5479 | </text> |
| 5480 | </g> |
| 5481 | <rect |
| 5482 | class="classical-container" |
| 5483 | x="402" |
| 5484 | y="1482" |
| 5485 | width="97" |
| 5486 | height="258" |
| 5487 | fill-opacity="0" |
| 5488 | stroke-dasharray="8, 8" |
| 5489 | /> |
| 5490 | <g> |
| 5491 | <g class="gate" data-location="0,0-0,6-3,0-0,0"> |
| 5492 | <a href="#" class="qs-circuit-source-link"> |
| 5493 | <title>conditionals.qs:97:9 Z(q2);</title> |
| 5494 | <g> |
| 5495 | <g> |
| 5496 | <rect |
| 5497 | class="gate-unitary" |
| 5498 | x="412" |
| 5499 | y="1690" |
| 5500 | width="40" |
| 5501 | height="40" |
| 5502 | data-wire-ys="[1710]" |
| 5503 | data-width="40" |
| 5504 | /> |
| 5505 | <text |
| 5506 | font-size="14" |
| 5507 | x="432" |
| 5508 | y="1710" |
| 5509 | class="qs-maintext" |
| 5510 | > |
| 5511 | <tspan class="qs-mathtext">Z</tspan> |
| 5512 | </text> |
| 5513 | </g> |
| 5514 | </g> |
| 5515 | </a> |
| 5516 | </g> |
| 5517 | </g> |
| 5518 | <a href="#" class="qs-circuit-source-link"> |
| 5519 | <title>conditionals.qs:94:5 if r0 == One {</title> |
| 5520 | <text |
| 5521 | font-size="14" |
| 5522 | x="412" |
| 5523 | y="1497" |
| 5524 | class="qs-maintext qs-group-label" |
| 5525 | style="pointer-events: all" |
| 5526 | > |
| 5527 | <tspan class="qs-mathtext">if</tspan> |
| 5528 | : |
| 5529 | <tspan class="qs-mathtext">c</tspan> |
| 5530 | <tspan baseline-shift="sub" font-size="65%">9</tspan> |
| 5531 | = |0〉 |
| 5532 | </text> |
| 5533 | </a> |
| 5534 | <g class="gate-control gate-collapse"> |
| 5535 | <circle cx="404" cy="1484" r="10" /> |
| 5536 | <path d="M397,1484 h14" /> |
| 5537 | </g> |
| 5538 | </g> |
| 5539 | <g |
| 5540 | class="gate classically-controlled-group" |
| 5541 | data-location="0,0-0,6-4,0" |
| 5542 | data-expanded="true" |
| 5543 | > |
| 5544 | <line |
| 5545 | x1="526" |
| 5546 | x2="551" |
| 5547 | y1="1678" |
| 5548 | y2="1678" |
| 5549 | class="classical-line" |
| 5550 | stroke-dasharray="8, 8" |
| 5551 | /> |
| 5552 | <line |
| 5553 | x1="526" |
| 5554 | x2="526" |
| 5555 | y1="1673" |
| 5556 | y2="1678" |
| 5557 | class="classical-line" |
| 5558 | stroke-dasharray="8, 8" |
| 5559 | /> |
| 5560 | <g class="classically-controlled-btn"> |
| 5561 | <circle cx="526" cy="1658" r="15" /> |
| 5562 | <text |
| 5563 | font-size="14" |
| 5564 | x="526" |
| 5565 | y="1658" |
| 5566 | text-anchor="start" |
| 5567 | dominant-baseline="middle" |
| 5568 | class="qs-maintext" |
| 5569 | > |
| 5570 | c |
| 5571 | <tspan baseline-shift="sub" font-size="65%">10</tspan> |
| 5572 | </text> |
| 5573 | </g> |
| 5574 | <rect |
| 5575 | class="classical-container" |
| 5576 | x="551" |
| 5577 | y="1612" |
| 5578 | width="105" |
| 5579 | height="128" |
| 5580 | fill-opacity="0" |
| 5581 | stroke-dasharray="8, 8" |
| 5582 | /> |
| 5583 | <g> |
| 5584 | <g class="gate" data-location="0,0-0,6-4,0-0,0"> |
| 5585 | <a href="#" class="qs-circuit-source-link"> |
| 5586 | <title>conditionals.qs:100:9 X(q2);</title> |
| 5587 | <g |
| 5588 | class="oplus" |
| 5589 | data-wire-ys="[1710]" |
| 5590 | data-width="30" |
| 5591 | > |
| 5592 | <circle cx="581" cy="1710" r="15" /> |
| 5593 | <line x1="581" x2="581" y1="1695" y2="1725" /> |
| 5594 | <line x1="566" x2="596" y1="1710" y2="1710" /> |
| 5595 | </g> |
| 5596 | </a> |
| 5597 | </g> |
| 5598 | </g> |
| 5599 | <a href="#" class="qs-circuit-source-link"> |
| 5600 | <title>conditionals.qs:99:5 if r1 == One {</title> |
| 5601 | <text |
| 5602 | font-size="14" |
| 5603 | x="561" |
| 5604 | y="1627" |
| 5605 | class="qs-maintext qs-group-label" |
| 5606 | style="pointer-events: all" |
| 5607 | > |
| 5608 | <tspan class="qs-mathtext">if</tspan> |
| 5609 | : |
| 5610 | <tspan class="qs-mathtext">c</tspan> |
| 5611 | <tspan baseline-shift="sub" font-size="65%">10</tspan> |
| 5612 | = |1〉 |
| 5613 | </text> |
| 5614 | </a> |
| 5615 | <g class="gate-control gate-collapse"> |
| 5616 | <circle cx="553" cy="1614" r="10" /> |
| 5617 | <path d="M546,1614 h14" /> |
| 5618 | </g> |
| 5619 | </g> |
| 5620 | <g |
| 5621 | class="gate classically-controlled-group" |
| 5622 | data-location="0,0-0,6-5,0" |
| 5623 | data-expanded="true" |
| 5624 | > |
| 5625 | <line |
| 5626 | x1="683" |
| 5627 | x2="708" |
| 5628 | y1="1678" |
| 5629 | y2="1678" |
| 5630 | class="classical-line" |
| 5631 | stroke-dasharray="8, 8" |
| 5632 | /> |
| 5633 | <line |
| 5634 | x1="683" |
| 5635 | x2="683" |
| 5636 | y1="1673" |
| 5637 | y2="1678" |
| 5638 | class="classical-line" |
| 5639 | stroke-dasharray="8, 8" |
| 5640 | /> |
| 5641 | <g class="classically-controlled-btn"> |
| 5642 | <circle cx="683" cy="1658" r="15" /> |
| 5643 | <text |
| 5644 | font-size="14" |
| 5645 | x="683" |
| 5646 | y="1658" |
| 5647 | text-anchor="start" |
| 5648 | dominant-baseline="middle" |
| 5649 | class="qs-maintext" |
| 5650 | > |
| 5651 | c |
| 5652 | <tspan baseline-shift="sub" font-size="65%">10</tspan> |
| 5653 | </text> |
| 5654 | </g> |
| 5655 | <rect |
| 5656 | class="classical-container" |
| 5657 | x="708" |
| 5658 | y="1612" |
| 5659 | width="105" |
| 5660 | height="128" |
| 5661 | fill-opacity="0" |
| 5662 | stroke-dasharray="8, 8" |
| 5663 | /> |
| 5664 | <g> |
| 5665 | <g class="gate" data-location="0,0-0,6-5,0-0,0"> |
| 5666 | <a href="#" class="qs-circuit-source-link"> |
| 5667 | <title>conditionals.qs:102:9 Y(q2);</title> |
| 5668 | <g> |
| 5669 | <g> |
| 5670 | <rect |
| 5671 | class="gate-unitary" |
| 5672 | x="718" |
| 5673 | y="1690" |
| 5674 | width="40" |
| 5675 | height="40" |
| 5676 | data-wire-ys="[1710]" |
| 5677 | data-width="40" |
| 5678 | /> |
| 5679 | <text |
| 5680 | font-size="14" |
| 5681 | x="738" |
| 5682 | y="1710" |
| 5683 | class="qs-maintext" |
| 5684 | > |
| 5685 | <tspan class="qs-mathtext">Y</tspan> |
| 5686 | </text> |
| 5687 | </g> |
| 5688 | </g> |
| 5689 | </a> |
| 5690 | </g> |
| 5691 | </g> |
| 5692 | <a href="#" class="qs-circuit-source-link"> |
| 5693 | <title>conditionals.qs:99:5 if r1 == One {</title> |
| 5694 | <text |
| 5695 | font-size="14" |
| 5696 | x="718" |
| 5697 | y="1627" |
| 5698 | class="qs-maintext qs-group-label" |
| 5699 | style="pointer-events: all" |
| 5700 | > |
| 5701 | <tspan class="qs-mathtext">if</tspan> |
| 5702 | : |
| 5703 | <tspan class="qs-mathtext">c</tspan> |
| 5704 | <tspan baseline-shift="sub" font-size="65%">10</tspan> |
| 5705 | = |0〉 |
| 5706 | </text> |
| 5707 | </a> |
| 5708 | <g class="gate-control gate-collapse"> |
| 5709 | <circle cx="710" cy="1614" r="10" /> |
| 5710 | <path d="M703,1614 h14" /> |
| 5711 | </g> |
| 5712 | </g> |
| 5713 | <g class="gate" data-location="0,0-0,6-6,0"> |
| 5714 | <a href="#" class="qs-circuit-source-link"> |
| 5715 | <title>conditionals.qs:104:14 let r2 = M(q2);</title> |
| 5716 | <g> |
| 5717 | <rect |
| 5718 | class="gate-measure" |
| 5719 | x="825" |
| 5720 | y="1690" |
| 5721 | width="40" |
| 5722 | height="40" |
| 5723 | data-wire-ys="[1710]" |
| 5724 | data-width="40" |
| 5725 | /> |
| 5726 | <path |
| 5727 | class="arc-measure" |
| 5728 | d="M 860 1712 A 15 12 0 0 0 830 1712" |
| 5729 | style="pointer-events: none" |
| 5730 | /> |
| 5731 | <line |
| 5732 | x1="845" |
| 5733 | x2="857" |
| 5734 | y1="1718" |
| 5735 | y2="1698" |
| 5736 | class="qs-line-measure" |
| 5737 | style="pointer-events: none" |
| 5738 | /> |
| 5739 | </g> |
| 5740 | </a> |
| 5741 | </g> |
| 5742 | </g> |
| 5743 | <a href="#" class="qs-circuit-source-link"> |
| 5744 | <title> |
| 5745 | conditionals.qs:10:5 SequentialIfs(qs[9], qs[10], qs[11]); |
| 5746 | </title> |
| 5747 | <text |
| 5748 | font-size="14" |
| 5749 | x="109" |
| 5750 | y="1445" |
| 5751 | class="qs-maintext qs-group-label" |
| 5752 | style="pointer-events: all" |
| 5753 | > |
| 5754 | <tspan class="qs-mathtext">SequentialIfs</tspan> |
| 5755 | </text> |
| 5756 | </a> |
| 5757 | <g class="gate-control gate-collapse"> |
| 5758 | <circle cx="101" cy="1432" r="10" /> |
| 5759 | <path d="M94,1432 h14" /> |
| 5760 | </g> |
| 5761 | </g> |
| 5762 | <g class="gate" data-location="0,0-0,7" data-expanded="true"> |
| 5763 | <rect |
| 5764 | class="gate-unitary" |
| 5765 | x="139.5" |
| 5766 | y="1866" |
| 5767 | width="695" |
| 5768 | height="336" |
| 5769 | fill-opacity="0" |
| 5770 | stroke-dasharray="8, 8" |
| 5771 | /> |
| 5772 | <g> |
| 5773 | <g class="gate" data-location="0,0-0,7-0,0"> |
| 5774 | <a href="#" class="qs-circuit-source-link"> |
| 5775 | <title>conditionals.qs:109:5 H(q0);</title> |
| 5776 | <g> |
| 5777 | <g> |
| 5778 | <rect |
| 5779 | class="gate-unitary" |
| 5780 | x="149.5" |
| 5781 | y="1892" |
| 5782 | width="40" |
| 5783 | height="40" |
| 5784 | data-wire-ys="[1912]" |
| 5785 | data-width="40" |
| 5786 | /> |
| 5787 | <text |
| 5788 | font-size="14" |
| 5789 | x="169.5" |
| 5790 | y="1912" |
| 5791 | class="qs-maintext" |
| 5792 | > |
| 5793 | <tspan class="qs-mathtext">H</tspan> |
| 5794 | </text> |
| 5795 | </g> |
| 5796 | </g> |
| 5797 | </a> |
| 5798 | </g> |
| 5799 | <g class="gate" data-location="0,0-0,7-0,1"> |
| 5800 | <a href="#" class="qs-circuit-source-link"> |
| 5801 | <title>conditionals.qs:110:5 H(q1);</title> |
| 5802 | <g> |
| 5803 | <g> |
| 5804 | <rect |
| 5805 | class="gate-unitary" |
| 5806 | x="149.5" |
| 5807 | y="1996" |
| 5808 | width="40" |
| 5809 | height="40" |
| 5810 | data-wire-ys="[2016]" |
| 5811 | data-width="40" |
| 5812 | /> |
| 5813 | <text |
| 5814 | font-size="14" |
| 5815 | x="169.5" |
| 5816 | y="2016" |
| 5817 | class="qs-maintext" |
| 5818 | > |
| 5819 | <tspan class="qs-mathtext">H</tspan> |
| 5820 | </text> |
| 5821 | </g> |
| 5822 | </g> |
| 5823 | </a> |
| 5824 | </g> |
| 5825 | <g class="gate" data-location="0,0-0,7-1,0"> |
| 5826 | <a href="#" class="qs-circuit-source-link"> |
| 5827 | <title>conditionals.qs:111:14 let r0 = M(q0);</title> |
| 5828 | <g> |
| 5829 | <rect |
| 5830 | class="gate-measure" |
| 5831 | x="201.5" |
| 5832 | y="1892" |
| 5833 | width="40" |
| 5834 | height="40" |
| 5835 | data-wire-ys="[1912]" |
| 5836 | data-width="40" |
| 5837 | /> |
| 5838 | <path |
| 5839 | class="arc-measure" |
| 5840 | d="M 236.5 1914 A 15 12 0 0 0 206.5 1914" |
| 5841 | style="pointer-events: none" |
| 5842 | /> |
| 5843 | <line |
| 5844 | x1="221.5" |
| 5845 | x2="233.5" |
| 5846 | y1="1920" |
| 5847 | y2="1900" |
| 5848 | class="qs-line-measure" |
| 5849 | style="pointer-events: none" |
| 5850 | /> |
| 5851 | </g> |
| 5852 | </a> |
| 5853 | </g> |
| 5854 | <g class="gate" data-location="0,0-0,7-1,1"> |
| 5855 | <a href="#" class="qs-circuit-source-link"> |
| 5856 | <title>conditionals.qs:112:14 let r1 = M(q1);</title> |
| 5857 | <g> |
| 5858 | <rect |
| 5859 | class="gate-measure" |
| 5860 | x="201.5" |
| 5861 | y="1996" |
| 5862 | width="40" |
| 5863 | height="40" |
| 5864 | data-wire-ys="[2016]" |
| 5865 | data-width="40" |
| 5866 | /> |
| 5867 | <path |
| 5868 | class="arc-measure" |
| 5869 | d="M 236.5 2018 A 15 12 0 0 0 206.5 2018" |
| 5870 | style="pointer-events: none" |
| 5871 | /> |
| 5872 | <line |
| 5873 | x1="221.5" |
| 5874 | x2="233.5" |
| 5875 | y1="2024" |
| 5876 | y2="2004" |
| 5877 | class="qs-line-measure" |
| 5878 | style="pointer-events: none" |
| 5879 | /> |
| 5880 | </g> |
| 5881 | </a> |
| 5882 | </g> |
| 5883 | <g |
| 5884 | class="gate classically-controlled-group" |
| 5885 | data-location="0,0-0,7-2,0" |
| 5886 | data-expanded="true" |
| 5887 | > |
| 5888 | <line |
| 5889 | x1="268.5" |
| 5890 | x2="293.5" |
| 5891 | y1="1984" |
| 5892 | y2="1984" |
| 5893 | class="classical-line" |
| 5894 | stroke-dasharray="8, 8" |
| 5895 | /> |
| 5896 | <line |
| 5897 | x1="268.5" |
| 5898 | x2="268.5" |
| 5899 | y1="1979" |
| 5900 | y2="1984" |
| 5901 | class="classical-line" |
| 5902 | stroke-dasharray="8, 8" |
| 5903 | /> |
| 5904 | <g class="classically-controlled-btn"> |
| 5905 | <circle cx="268.5" cy="1964" r="15" /> |
| 5906 | <text |
| 5907 | font-size="14" |
| 5908 | x="268.5" |
| 5909 | y="1964" |
| 5910 | text-anchor="start" |
| 5911 | dominant-baseline="middle" |
| 5912 | class="qs-maintext" |
| 5913 | > |
| 5914 | c |
| 5915 | <tspan baseline-shift="sub" font-size="65%">12</tspan> |
| 5916 | </text> |
| 5917 | </g> |
| 5918 | <rect |
| 5919 | class="classical-container" |
| 5920 | x="293.5" |
| 5921 | y="1892" |
| 5922 | width="322" |
| 5923 | height="268" |
| 5924 | fill-opacity="0" |
| 5925 | stroke-dasharray="8, 8" |
| 5926 | /> |
| 5927 | <g> |
| 5928 | <g |
| 5929 | class="gate classically-controlled-group" |
| 5930 | data-location="0,0-0,7-2,0-0,0" |
| 5931 | data-expanded="true" |
| 5932 | > |
| 5933 | <line |
| 5934 | x1="318.5" |
| 5935 | x2="343.5" |
| 5936 | y1="1984" |
| 5937 | y2="1984" |
| 5938 | class="classical-line" |
| 5939 | stroke-dasharray="8, 8" |
| 5940 | /> |
| 5941 | <line |
| 5942 | x1="318.5" |
| 5943 | x2="318.5" |
| 5944 | y1="1979" |
| 5945 | y2="1984" |
| 5946 | class="classical-line" |
| 5947 | stroke-dasharray="8, 8" |
| 5948 | /> |
| 5949 | <g class="classically-controlled-btn"> |
| 5950 | <circle cx="318.5" cy="1964" r="15" /> |
| 5951 | <text |
| 5952 | font-size="14" |
| 5953 | x="318.5" |
| 5954 | y="1964" |
| 5955 | text-anchor="start" |
| 5956 | dominant-baseline="middle" |
| 5957 | class="qs-maintext" |
| 5958 | > |
| 5959 | c |
| 5960 | <tspan baseline-shift="sub" font-size="65%"> |
| 5961 | 12 |
| 5962 | </tspan> |
| 5963 | </text> |
| 5964 | </g> |
| 5965 | <line |
| 5966 | x1="318.5" |
| 5967 | x2="343.5" |
| 5968 | y1="2088" |
| 5969 | y2="2088" |
| 5970 | class="classical-line" |
| 5971 | stroke-dasharray="8, 8" |
| 5972 | /> |
| 5973 | <line |
| 5974 | x1="318.5" |
| 5975 | x2="318.5" |
| 5976 | y1="2083" |
| 5977 | y2="2088" |
| 5978 | class="classical-line" |
| 5979 | stroke-dasharray="8, 8" |
| 5980 | /> |
| 5981 | <g class="classically-controlled-btn"> |
| 5982 | <circle cx="318.5" cy="2068" r="15" /> |
| 5983 | <text |
| 5984 | font-size="14" |
| 5985 | x="318.5" |
| 5986 | y="2068" |
| 5987 | text-anchor="start" |
| 5988 | dominant-baseline="middle" |
| 5989 | class="qs-maintext" |
| 5990 | > |
| 5991 | c |
| 5992 | <tspan baseline-shift="sub" font-size="65%"> |
| 5993 | 13 |
| 5994 | </tspan> |
| 5995 | </text> |
| 5996 | </g> |
| 5997 | <rect |
| 5998 | class="classical-container" |
| 5999 | x="343.5" |
| 6000 | y="1918" |
| 6001 | width="105" |
| 6002 | height="232" |
| 6003 | fill-opacity="0" |
| 6004 | stroke-dasharray="8, 8" |
| 6005 | /> |
| 6006 | <g> |
| 6007 | <g class="gate" data-location="0,0-0,7-2,0-0,0-0,0"> |
| 6008 | <a href="#" class="qs-circuit-source-link"> |
| 6009 | <title>conditionals.qs:115:13 X(q2);</title> |
| 6010 | <g |
| 6011 | class="oplus" |
| 6012 | data-wire-ys="[2120]" |
| 6013 | data-width="30" |
| 6014 | > |
| 6015 | <circle cx="373.5" cy="2120" r="15" /> |
| 6016 | <line |
| 6017 | x1="373.5" |
| 6018 | x2="373.5" |
| 6019 | y1="2105" |
| 6020 | y2="2135" |
| 6021 | /> |
| 6022 | <line |
| 6023 | x1="358.5" |
| 6024 | x2="388.5" |
| 6025 | y1="2120" |
| 6026 | y2="2120" |
| 6027 | /> |
| 6028 | </g> |
| 6029 | </a> |
| 6030 | </g> |
| 6031 | </g> |
| 6032 | <a href="#" class="qs-circuit-source-link"> |
| 6033 | <title>conditionals.qs:114:9 if r1 == One {</title> |
| 6034 | <text |
| 6035 | font-size="14" |
| 6036 | x="353.5" |
| 6037 | y="1933" |
| 6038 | class="qs-maintext qs-group-label" |
| 6039 | style="pointer-events: all" |
| 6040 | > |
| 6041 | <tspan class="qs-mathtext">if</tspan> |
| 6042 | : |
| 6043 | <tspan class="qs-mathtext">c</tspan> |
| 6044 | <tspan baseline-shift="sub" font-size="65%"> |
| 6045 | 13 |
| 6046 | </tspan> |
| 6047 | = |1〉 |
| 6048 | </text> |
| 6049 | </a> |
| 6050 | <g class="gate-control gate-collapse"> |
| 6051 | <circle cx="345.5" cy="1920" r="10" /> |
| 6052 | <path d="M338.5,1920 h14" /> |
| 6053 | </g> |
| 6054 | </g> |
| 6055 | <g |
| 6056 | class="gate classically-controlled-group" |
| 6057 | data-location="0,0-0,7-2,0-1,0" |
| 6058 | data-expanded="true" |
| 6059 | > |
| 6060 | <line |
| 6061 | x1="475.5" |
| 6062 | x2="500.5" |
| 6063 | y1="1984" |
| 6064 | y2="1984" |
| 6065 | class="classical-line" |
| 6066 | stroke-dasharray="8, 8" |
| 6067 | /> |
| 6068 | <line |
| 6069 | x1="475.5" |
| 6070 | x2="475.5" |
| 6071 | y1="1979" |
| 6072 | y2="1984" |
| 6073 | class="classical-line" |
| 6074 | stroke-dasharray="8, 8" |
| 6075 | /> |
| 6076 | <g class="classically-controlled-btn"> |
| 6077 | <circle cx="475.5" cy="1964" r="15" /> |
| 6078 | <text |
| 6079 | font-size="14" |
| 6080 | x="475.5" |
| 6081 | y="1964" |
| 6082 | text-anchor="start" |
| 6083 | dominant-baseline="middle" |
| 6084 | class="qs-maintext" |
| 6085 | > |
| 6086 | c |
| 6087 | <tspan baseline-shift="sub" font-size="65%"> |
| 6088 | 12 |
| 6089 | </tspan> |
| 6090 | </text> |
| 6091 | </g> |
| 6092 | <line |
| 6093 | x1="475.5" |
| 6094 | x2="500.5" |
| 6095 | y1="2088" |
| 6096 | y2="2088" |
| 6097 | class="classical-line" |
| 6098 | stroke-dasharray="8, 8" |
| 6099 | /> |
| 6100 | <line |
| 6101 | x1="475.5" |
| 6102 | x2="475.5" |
| 6103 | y1="2083" |
| 6104 | y2="2088" |
| 6105 | class="classical-line" |
| 6106 | stroke-dasharray="8, 8" |
| 6107 | /> |
| 6108 | <g class="classically-controlled-btn"> |
| 6109 | <circle cx="475.5" cy="2068" r="15" /> |
| 6110 | <text |
| 6111 | font-size="14" |
| 6112 | x="475.5" |
| 6113 | y="2068" |
| 6114 | text-anchor="start" |
| 6115 | dominant-baseline="middle" |
| 6116 | class="qs-maintext" |
| 6117 | > |
| 6118 | c |
| 6119 | <tspan baseline-shift="sub" font-size="65%"> |
| 6120 | 13 |
| 6121 | </tspan> |
| 6122 | </text> |
| 6123 | </g> |
| 6124 | <rect |
| 6125 | class="classical-container" |
| 6126 | x="500.5" |
| 6127 | y="1918" |
| 6128 | width="105" |
| 6129 | height="232" |
| 6130 | fill-opacity="0" |
| 6131 | stroke-dasharray="8, 8" |
| 6132 | /> |
| 6133 | <g> |
| 6134 | <g class="gate" data-location="0,0-0,7-2,0-1,0-0,0"> |
| 6135 | <a href="#" class="qs-circuit-source-link"> |
| 6136 | <title>conditionals.qs:117:13 Y(q2);</title> |
| 6137 | <g> |
| 6138 | <g> |
| 6139 | <rect |
| 6140 | class="gate-unitary" |
| 6141 | x="510.5" |
| 6142 | y="2100" |
| 6143 | width="40" |
| 6144 | height="40" |
| 6145 | data-wire-ys="[2120]" |
| 6146 | data-width="40" |
| 6147 | /> |
| 6148 | <text |
| 6149 | font-size="14" |
| 6150 | x="530.5" |
| 6151 | y="2120" |
| 6152 | class="qs-maintext" |
| 6153 | > |
| 6154 | <tspan class="qs-mathtext">Y</tspan> |
| 6155 | </text> |
| 6156 | </g> |
| 6157 | </g> |
| 6158 | </a> |
| 6159 | </g> |
| 6160 | </g> |
| 6161 | <a href="#" class="qs-circuit-source-link"> |
| 6162 | <title>conditionals.qs:114:9 if r1 == One {</title> |
| 6163 | <text |
| 6164 | font-size="14" |
| 6165 | x="510.5" |
| 6166 | y="1933" |
| 6167 | class="qs-maintext qs-group-label" |
| 6168 | style="pointer-events: all" |
| 6169 | > |
| 6170 | <tspan class="qs-mathtext">if</tspan> |
| 6171 | : |
| 6172 | <tspan class="qs-mathtext">c</tspan> |
| 6173 | <tspan baseline-shift="sub" font-size="65%"> |
| 6174 | 13 |
| 6175 | </tspan> |
| 6176 | = |0〉 |
| 6177 | </text> |
| 6178 | </a> |
| 6179 | <g class="gate-control gate-collapse"> |
| 6180 | <circle cx="502.5" cy="1920" r="10" /> |
| 6181 | <path d="M495.5,1920 h14" /> |
| 6182 | </g> |
| 6183 | </g> |
| 6184 | </g> |
| 6185 | <a href="#" class="qs-circuit-source-link"> |
| 6186 | <title>conditionals.qs:113:5 if r0 == One {</title> |
| 6187 | <text |
| 6188 | font-size="14" |
| 6189 | x="303.5" |
| 6190 | y="1907" |
| 6191 | class="qs-maintext qs-group-label" |
| 6192 | style="pointer-events: all" |
| 6193 | > |
| 6194 | <tspan class="qs-mathtext">if</tspan> |
| 6195 | : |
| 6196 | <tspan class="qs-mathtext">c</tspan> |
| 6197 | <tspan baseline-shift="sub" font-size="65%">12</tspan> |
| 6198 | = |1〉 |
| 6199 | </text> |
| 6200 | </a> |
| 6201 | <g class="gate-control gate-collapse"> |
| 6202 | <circle cx="295.5" cy="1894" r="10" /> |
| 6203 | <path d="M288.5,1894 h14" /> |
| 6204 | </g> |
| 6205 | </g> |
| 6206 | <g |
| 6207 | class="gate classically-controlled-group" |
| 6208 | data-location="0,0-0,7-3,0" |
| 6209 | data-expanded="true" |
| 6210 | > |
| 6211 | <line |
| 6212 | x1="642.5" |
| 6213 | x2="667.5" |
| 6214 | y1="1984" |
| 6215 | y2="1984" |
| 6216 | class="classical-line" |
| 6217 | stroke-dasharray="8, 8" |
| 6218 | /> |
| 6219 | <line |
| 6220 | x1="642.5" |
| 6221 | x2="642.5" |
| 6222 | y1="1979" |
| 6223 | y2="1984" |
| 6224 | class="classical-line" |
| 6225 | stroke-dasharray="8, 8" |
| 6226 | /> |
| 6227 | <g class="classically-controlled-btn"> |
| 6228 | <circle cx="642.5" cy="1964" r="15" /> |
| 6229 | <text |
| 6230 | font-size="14" |
| 6231 | x="642.5" |
| 6232 | y="1964" |
| 6233 | text-anchor="start" |
| 6234 | dominant-baseline="middle" |
| 6235 | class="qs-maintext" |
| 6236 | > |
| 6237 | c |
| 6238 | <tspan baseline-shift="sub" font-size="65%">12</tspan> |
| 6239 | </text> |
| 6240 | </g> |
| 6241 | <rect |
| 6242 | class="classical-container" |
| 6243 | x="667.5" |
| 6244 | y="1918" |
| 6245 | width="105" |
| 6246 | height="232" |
| 6247 | fill-opacity="0" |
| 6248 | stroke-dasharray="8, 8" |
| 6249 | /> |
| 6250 | <g> |
| 6251 | <g class="gate" data-location="0,0-0,7-3,0-0,0"> |
| 6252 | <a href="#" class="qs-circuit-source-link"> |
| 6253 | <title>conditionals.qs:120:9 Z(q2);</title> |
| 6254 | <g> |
| 6255 | <g> |
| 6256 | <rect |
| 6257 | class="gate-unitary" |
| 6258 | x="677.5" |
| 6259 | y="2100" |
| 6260 | width="40" |
| 6261 | height="40" |
| 6262 | data-wire-ys="[2120]" |
| 6263 | data-width="40" |
| 6264 | /> |
| 6265 | <text |
| 6266 | font-size="14" |
| 6267 | x="697.5" |
| 6268 | y="2120" |
| 6269 | class="qs-maintext" |
| 6270 | > |
| 6271 | <tspan class="qs-mathtext">Z</tspan> |
| 6272 | </text> |
| 6273 | </g> |
| 6274 | </g> |
| 6275 | </a> |
| 6276 | </g> |
| 6277 | </g> |
| 6278 | <a href="#" class="qs-circuit-source-link"> |
| 6279 | <title>conditionals.qs:113:5 if r0 == One {</title> |
| 6280 | <text |
| 6281 | font-size="14" |
| 6282 | x="677.5" |
| 6283 | y="1933" |
| 6284 | class="qs-maintext qs-group-label" |
| 6285 | style="pointer-events: all" |
| 6286 | > |
| 6287 | <tspan class="qs-mathtext">if</tspan> |
| 6288 | : |
| 6289 | <tspan class="qs-mathtext">c</tspan> |
| 6290 | <tspan baseline-shift="sub" font-size="65%">12</tspan> |
| 6291 | = |0〉 |
| 6292 | </text> |
| 6293 | </a> |
| 6294 | <g class="gate-control gate-collapse"> |
| 6295 | <circle cx="669.5" cy="1920" r="10" /> |
| 6296 | <path d="M662.5,1920 h14" /> |
| 6297 | </g> |
| 6298 | </g> |
| 6299 | <g class="gate" data-location="0,0-0,7-4,0"> |
| 6300 | <a href="#" class="qs-circuit-source-link"> |
| 6301 | <title>conditionals.qs:122:14 let r2 = M(q2);</title> |
| 6302 | <g> |
| 6303 | <rect |
| 6304 | class="gate-measure" |
| 6305 | x="784.5" |
| 6306 | y="2100" |
| 6307 | width="40" |
| 6308 | height="40" |
| 6309 | data-wire-ys="[2120]" |
| 6310 | data-width="40" |
| 6311 | /> |
| 6312 | <path |
| 6313 | class="arc-measure" |
| 6314 | d="M 819.5 2122 A 15 12 0 0 0 789.5 2122" |
| 6315 | style="pointer-events: none" |
| 6316 | /> |
| 6317 | <line |
| 6318 | x1="804.5" |
| 6319 | x2="816.5" |
| 6320 | y1="2128" |
| 6321 | y2="2108" |
| 6322 | class="qs-line-measure" |
| 6323 | style="pointer-events: none" |
| 6324 | /> |
| 6325 | </g> |
| 6326 | </a> |
| 6327 | </g> |
| 6328 | </g> |
| 6329 | <a href="#" class="qs-circuit-source-link"> |
| 6330 | <title> |
| 6331 | conditionals.qs:11:5 NestedIfs(qs[12], qs[13], qs[14]); |
| 6332 | </title> |
| 6333 | <text |
| 6334 | font-size="14" |
| 6335 | x="149.5" |
| 6336 | y="1881" |
| 6337 | class="qs-maintext qs-group-label" |
| 6338 | style="pointer-events: all" |
| 6339 | > |
| 6340 | <tspan class="qs-mathtext">NestedIfs</tspan> |
| 6341 | </text> |
| 6342 | </a> |
| 6343 | <g class="gate-control gate-collapse"> |
| 6344 | <circle cx="141.5" cy="1868" r="10" /> |
| 6345 | <path d="M134.5,1868 h14" /> |
| 6346 | </g> |
| 6347 | </g> |
| 6348 | <g class="gate" data-location="0,0-0,8" data-expanded="true"> |
| 6349 | <rect |
| 6350 | class="gate-unitary" |
| 6351 | x="334" |
| 6352 | y="2260" |
| 6353 | width="306" |
| 6354 | height="232" |
| 6355 | fill-opacity="0" |
| 6356 | stroke-dasharray="8, 8" |
| 6357 | /> |
| 6358 | <g> |
| 6359 | <g class="gate" data-location="0,0-0,8-0,0"> |
| 6360 | <a href="#" class="qs-circuit-source-link"> |
| 6361 | <title>conditionals.qs:127:5 H(q0);</title> |
| 6362 | <g> |
| 6363 | <g> |
| 6364 | <rect |
| 6365 | class="gate-unitary" |
| 6366 | x="344" |
| 6367 | y="2286" |
| 6368 | width="40" |
| 6369 | height="40" |
| 6370 | data-wire-ys="[2306]" |
| 6371 | data-width="40" |
| 6372 | /> |
| 6373 | <text |
| 6374 | font-size="14" |
| 6375 | x="364" |
| 6376 | y="2306" |
| 6377 | class="qs-maintext" |
| 6378 | > |
| 6379 | <tspan class="qs-mathtext">H</tspan> |
| 6380 | </text> |
| 6381 | </g> |
| 6382 | </g> |
| 6383 | </a> |
| 6384 | </g> |
| 6385 | <g class="gate" data-location="0,0-0,8-1,0"> |
| 6386 | <a href="#" class="qs-circuit-source-link"> |
| 6387 | <title>conditionals.qs:128:13 let r = M(q0);</title> |
| 6388 | <g> |
| 6389 | <rect |
| 6390 | class="gate-measure" |
| 6391 | x="396" |
| 6392 | y="2286" |
| 6393 | width="40" |
| 6394 | height="40" |
| 6395 | data-wire-ys="[2306]" |
| 6396 | data-width="40" |
| 6397 | /> |
| 6398 | <path |
| 6399 | class="arc-measure" |
| 6400 | d="M 431 2308 A 15 12 0 0 0 401 2308" |
| 6401 | style="pointer-events: none" |
| 6402 | /> |
| 6403 | <line |
| 6404 | x1="416" |
| 6405 | x2="428" |
| 6406 | y1="2314" |
| 6407 | y2="2294" |
| 6408 | class="qs-line-measure" |
| 6409 | style="pointer-events: none" |
| 6410 | /> |
| 6411 | </g> |
| 6412 | </a> |
| 6413 | </g> |
| 6414 | <g |
| 6415 | class="gate classically-controlled-group" |
| 6416 | data-location="0,0-0,8-2,0" |
| 6417 | data-expanded="true" |
| 6418 | > |
| 6419 | <line |
| 6420 | x1="463" |
| 6421 | x2="488" |
| 6422 | y1="2378" |
| 6423 | y2="2378" |
| 6424 | class="classical-line" |
| 6425 | stroke-dasharray="8, 8" |
| 6426 | /> |
| 6427 | <line |
| 6428 | x1="463" |
| 6429 | x2="463" |
| 6430 | y1="2373" |
| 6431 | y2="2378" |
| 6432 | class="classical-line" |
| 6433 | stroke-dasharray="8, 8" |
| 6434 | /> |
| 6435 | <g class="classically-controlled-btn"> |
| 6436 | <circle cx="463" cy="2358" r="15" /> |
| 6437 | <text |
| 6438 | font-size="14" |
| 6439 | x="463" |
| 6440 | y="2358" |
| 6441 | text-anchor="start" |
| 6442 | dominant-baseline="middle" |
| 6443 | class="qs-maintext" |
| 6444 | > |
| 6445 | c |
| 6446 | <tspan baseline-shift="sub" font-size="65%">15</tspan> |
| 6447 | </text> |
| 6448 | </g> |
| 6449 | <rect |
| 6450 | class="classical-container" |
| 6451 | x="488" |
| 6452 | y="2312" |
| 6453 | width="90" |
| 6454 | height="128" |
| 6455 | fill-opacity="0" |
| 6456 | stroke-dasharray="8, 8" |
| 6457 | /> |
| 6458 | <g> |
| 6459 | <g class="gate" data-location="0,0-0,8-2,0-0,0"> |
| 6460 | <a href="#" class="qs-circuit-source-link"> |
| 6461 | <title> |
| 6462 | Error loading |
| 6463 | qsharp-library-source:Std/Intrinsic.qs:511 |
| 6464 | </title> |
| 6465 | <g> |
| 6466 | <g> |
| 6467 | <rect |
| 6468 | class="gate-unitary" |
| 6469 | x="498" |
| 6470 | y="2390" |
| 6471 | width="65" |
| 6472 | height="40" |
| 6473 | data-wire-ys="[2410]" |
| 6474 | data-width="65" |
| 6475 | /> |
| 6476 | <text |
| 6477 | font-size="14" |
| 6478 | x="530.5" |
| 6479 | y="2403" |
| 6480 | class="qs-maintext" |
| 6481 | > |
| 6482 | <tspan class="qs-mathtext">Rx</tspan> |
| 6483 | </text> |
| 6484 | <text |
| 6485 | font-size="12" |
| 6486 | x="530.5" |
| 6487 | y="2418" |
| 6488 | class="arg-button" |
| 6489 | > |
| 6490 | <tspan class="qs-mathtext">f</tspan> |
| 6491 | ( |
| 6492 | <tspan class="qs-mathtext">c</tspan> |
| 6493 | <tspan baseline-shift="sub" font-size="65%"> |
| 6494 | 15 |
| 6495 | </tspan> |
| 6496 | ) |
| 6497 | </text> |
| 6498 | </g> |
| 6499 | </g> |
| 6500 | </a> |
| 6501 | </g> |
| 6502 | </g> |
| 6503 | <a href="#" class="qs-circuit-source-link"> |
| 6504 | <title>conditionals.qs:133:5 Rx(theta, q1);</title> |
| 6505 | <text |
| 6506 | font-size="14" |
| 6507 | x="498" |
| 6508 | y="2327" |
| 6509 | class="qs-maintext qs-group-label" |
| 6510 | style="pointer-events: all" |
| 6511 | > |
| 6512 | <tspan class="qs-mathtext">using</tspan> |
| 6513 | : |
| 6514 | <tspan class="qs-mathtext">c</tspan> |
| 6515 | <tspan baseline-shift="sub" font-size="65%">15</tspan> |
| 6516 | </text> |
| 6517 | </a> |
| 6518 | <g class="gate-control gate-collapse"> |
| 6519 | <circle cx="490" cy="2314" r="10" /> |
| 6520 | <path d="M483,2314 h14" /> |
| 6521 | </g> |
| 6522 | </g> |
| 6523 | <g class="gate" data-location="0,0-0,8-3,0"> |
| 6524 | <a href="#" class="qs-circuit-source-link"> |
| 6525 | <title>conditionals.qs:134:14 let r1 = M(q1);</title> |
| 6526 | <g> |
| 6527 | <rect |
| 6528 | class="gate-measure" |
| 6529 | x="590" |
| 6530 | y="2390" |
| 6531 | width="40" |
| 6532 | height="40" |
| 6533 | data-wire-ys="[2410]" |
| 6534 | data-width="40" |
| 6535 | /> |
| 6536 | <path |
| 6537 | class="arc-measure" |
| 6538 | d="M 625 2412 A 15 12 0 0 0 595 2412" |
| 6539 | style="pointer-events: none" |
| 6540 | /> |
| 6541 | <line |
| 6542 | x1="610" |
| 6543 | x2="622" |
| 6544 | y1="2418" |
| 6545 | y2="2398" |
| 6546 | class="qs-line-measure" |
| 6547 | style="pointer-events: none" |
| 6548 | /> |
| 6549 | </g> |
| 6550 | </a> |
| 6551 | </g> |
| 6552 | </g> |
| 6553 | <a href="#" class="qs-circuit-source-link"> |
| 6554 | <title> |
| 6555 | conditionals.qs:12:5 |
| 6556 | MultiplePossibleFloatValuesInUnitaryArg(qs[15], qs[16]); |
| 6557 | </title> |
| 6558 | <text |
| 6559 | font-size="14" |
| 6560 | x="344" |
| 6561 | y="2275" |
| 6562 | class="qs-maintext qs-group-label" |
| 6563 | style="pointer-events: all" |
| 6564 | > |
| 6565 | <tspan class="qs-mathtext"> |
| 6566 | MultiplePossibleFloatValuesInUnitaryArg |
| 6567 | </tspan> |
| 6568 | </text> |
| 6569 | </a> |
| 6570 | <g class="gate-control gate-collapse"> |
| 6571 | <circle cx="336" cy="2262" r="10" /> |
| 6572 | <path d="M329,2262 h14" /> |
| 6573 | </g> |
| 6574 | </g> |
| 6575 | <g class="gate" data-location="0,0-0,9" data-expanded="true"> |
| 6576 | <rect |
| 6577 | class="gate-unitary" |
| 6578 | x="360" |
| 6579 | y="2514" |
| 6580 | width="254" |
| 6581 | height="164" |
| 6582 | fill-opacity="0" |
| 6583 | stroke-dasharray="8, 8" |
| 6584 | /> |
| 6585 | <g> |
| 6586 | <g class="gate" data-location="0,0-0,9-0,0"> |
| 6587 | <a href="#" class="qs-circuit-source-link"> |
| 6588 | <title>conditionals.qs:147:5 H(q);</title> |
| 6589 | <g> |
| 6590 | <g> |
| 6591 | <rect |
| 6592 | class="gate-unitary" |
| 6593 | x="370" |
| 6594 | y="2566" |
| 6595 | width="40" |
| 6596 | height="40" |
| 6597 | data-wire-ys="[2586]" |
| 6598 | data-width="40" |
| 6599 | /> |
| 6600 | <text |
| 6601 | font-size="14" |
| 6602 | x="390" |
| 6603 | y="2586" |
| 6604 | class="qs-maintext" |
| 6605 | > |
| 6606 | <tspan class="qs-mathtext">H</tspan> |
| 6607 | </text> |
| 6608 | </g> |
| 6609 | </g> |
| 6610 | </a> |
| 6611 | </g> |
| 6612 | <g class="gate" data-location="0,0-0,9-1,0"> |
| 6613 | <a href="#" class="qs-circuit-source-link"> |
| 6614 | <title>conditionals.qs:148:9 if (M(q) == One) {</title> |
| 6615 | <g> |
| 6616 | <rect |
| 6617 | class="gate-measure" |
| 6618 | x="422" |
| 6619 | y="2566" |
| 6620 | width="40" |
| 6621 | height="40" |
| 6622 | data-wire-ys="[2586]" |
| 6623 | data-width="40" |
| 6624 | /> |
| 6625 | <path |
| 6626 | class="arc-measure" |
| 6627 | d="M 457 2588 A 15 12 0 0 0 427 2588" |
| 6628 | style="pointer-events: none" |
| 6629 | /> |
| 6630 | <line |
| 6631 | x1="442" |
| 6632 | x2="454" |
| 6633 | y1="2594" |
| 6634 | y2="2574" |
| 6635 | class="qs-line-measure" |
| 6636 | style="pointer-events: none" |
| 6637 | /> |
| 6638 | </g> |
| 6639 | </a> |
| 6640 | </g> |
| 6641 | <g |
| 6642 | class="gate classically-controlled-group" |
| 6643 | data-location="0,0-0,9-2,0" |
| 6644 | data-expanded="true" |
| 6645 | > |
| 6646 | <line |
| 6647 | x1="489" |
| 6648 | x2="514" |
| 6649 | y1="2658" |
| 6650 | y2="2658" |
| 6651 | class="classical-line" |
| 6652 | stroke-dasharray="8, 8" |
| 6653 | /> |
| 6654 | <line |
| 6655 | x1="489" |
| 6656 | x2="489" |
| 6657 | y1="2653" |
| 6658 | y2="2658" |
| 6659 | class="classical-line" |
| 6660 | stroke-dasharray="8, 8" |
| 6661 | /> |
| 6662 | <g class="classically-controlled-btn"> |
| 6663 | <circle cx="489" cy="2638" r="15" /> |
| 6664 | <text |
| 6665 | font-size="14" |
| 6666 | x="489" |
| 6667 | y="2638" |
| 6668 | text-anchor="start" |
| 6669 | dominant-baseline="middle" |
| 6670 | class="qs-maintext" |
| 6671 | > |
| 6672 | c |
| 6673 | <tspan baseline-shift="sub" font-size="65%">17</tspan> |
| 6674 | </text> |
| 6675 | </g> |
| 6676 | <rect |
| 6677 | class="classical-container" |
| 6678 | x="514" |
| 6679 | y="2540" |
| 6680 | width="90" |
| 6681 | height="128" |
| 6682 | fill-opacity="0" |
| 6683 | stroke-dasharray="8, 8" |
| 6684 | /> |
| 6685 | <g> |
| 6686 | <g class="gate" data-location="0,0-0,9-2,0-0,0"> |
| 6687 | <a href="#" class="qs-circuit-source-link"> |
| 6688 | <title>conditionals.qs:151:5 foo(q, x);</title> |
| 6689 | <g> |
| 6690 | <g> |
| 6691 | <rect |
| 6692 | class="gate-unitary" |
| 6693 | x="524" |
| 6694 | y="2566" |
| 6695 | width="65" |
| 6696 | height="40" |
| 6697 | data-wire-ys="[2586]" |
| 6698 | data-width="65" |
| 6699 | /> |
| 6700 | <text |
| 6701 | font-size="14" |
| 6702 | x="556.5" |
| 6703 | y="2579" |
| 6704 | class="qs-maintext" |
| 6705 | > |
| 6706 | <tspan class="qs-mathtext">foo</tspan> |
| 6707 | </text> |
| 6708 | <text |
| 6709 | font-size="12" |
| 6710 | x="556.5" |
| 6711 | y="2594" |
| 6712 | class="arg-button" |
| 6713 | > |
| 6714 | <tspan class="qs-mathtext">f</tspan> |
| 6715 | ( |
| 6716 | <tspan class="qs-mathtext">c</tspan> |
| 6717 | <tspan baseline-shift="sub" font-size="65%"> |
| 6718 | 17 |
| 6719 | </tspan> |
| 6720 | ) |
| 6721 | </text> |
| 6722 | </g> |
| 6723 | </g> |
| 6724 | </a> |
| 6725 | </g> |
| 6726 | </g> |
| 6727 | <a href="#" class="qs-circuit-source-link"> |
| 6728 | <title>conditionals.qs:151:5 foo(q, x);</title> |
| 6729 | <text |
| 6730 | font-size="14" |
| 6731 | x="524" |
| 6732 | y="2555" |
| 6733 | class="qs-maintext qs-group-label" |
| 6734 | style="pointer-events: all" |
| 6735 | > |
| 6736 | <tspan class="qs-mathtext">using</tspan> |
| 6737 | : |
| 6738 | <tspan class="qs-mathtext">c</tspan> |
| 6739 | <tspan baseline-shift="sub" font-size="65%">17</tspan> |
| 6740 | </text> |
| 6741 | </a> |
| 6742 | <g class="gate-control gate-collapse"> |
| 6743 | <circle cx="516" cy="2542" r="10" /> |
| 6744 | <path d="M509,2542 h14" /> |
| 6745 | </g> |
| 6746 | </g> |
| 6747 | </g> |
| 6748 | <a href="#" class="qs-circuit-source-link"> |
| 6749 | <title> |
| 6750 | conditionals.qs:13:5 CustomIntrinsicVariableArg(qs[17]); |
| 6751 | </title> |
| 6752 | <text |
| 6753 | font-size="14" |
| 6754 | x="370" |
| 6755 | y="2529" |
| 6756 | class="qs-maintext qs-group-label" |
| 6757 | style="pointer-events: all" |
| 6758 | > |
| 6759 | <tspan class="qs-mathtext"> |
| 6760 | CustomIntrinsicVariableArg |
| 6761 | </tspan> |
| 6762 | </text> |
| 6763 | </a> |
| 6764 | <g class="gate-control gate-collapse"> |
| 6765 | <circle cx="362" cy="2516" r="10" /> |
| 6766 | <path d="M355,2516 h14" /> |
| 6767 | </g> |
| 6768 | </g> |
| 6769 | <g class="gate" data-location="0,0-0,10" data-expanded="true"> |
| 6770 | <rect |
| 6771 | class="gate-unitary" |
| 6772 | x="334" |
| 6773 | y="2716" |
| 6774 | width="306" |
| 6775 | height="232" |
| 6776 | fill-opacity="0" |
| 6777 | stroke-dasharray="8, 8" |
| 6778 | /> |
| 6779 | <g> |
| 6780 | <g class="gate" data-location="0,0-0,10-0,0"> |
| 6781 | <a href="#" class="qs-circuit-source-link"> |
| 6782 | <title>conditionals.qs:155:5 H(q0);</title> |
| 6783 | <g> |
| 6784 | <g> |
| 6785 | <rect |
| 6786 | class="gate-unitary" |
| 6787 | x="344" |
| 6788 | y="2742" |
| 6789 | width="40" |
| 6790 | height="40" |
| 6791 | data-wire-ys="[2762]" |
| 6792 | data-width="40" |
| 6793 | /> |
| 6794 | <text |
| 6795 | font-size="14" |
| 6796 | x="364" |
| 6797 | y="2762" |
| 6798 | class="qs-maintext" |
| 6799 | > |
| 6800 | <tspan class="qs-mathtext">H</tspan> |
| 6801 | </text> |
| 6802 | </g> |
| 6803 | </g> |
| 6804 | </a> |
| 6805 | </g> |
| 6806 | <g class="gate" data-location="0,0-0,10-1,0"> |
| 6807 | <a href="#" class="qs-circuit-source-link"> |
| 6808 | <title>conditionals.qs:156:13 let r = M(q0);</title> |
| 6809 | <g> |
| 6810 | <rect |
| 6811 | class="gate-measure" |
| 6812 | x="396" |
| 6813 | y="2742" |
| 6814 | width="40" |
| 6815 | height="40" |
| 6816 | data-wire-ys="[2762]" |
| 6817 | data-width="40" |
| 6818 | /> |
| 6819 | <path |
| 6820 | class="arc-measure" |
| 6821 | d="M 431 2764 A 15 12 0 0 0 401 2764" |
| 6822 | style="pointer-events: none" |
| 6823 | /> |
| 6824 | <line |
| 6825 | x1="416" |
| 6826 | x2="428" |
| 6827 | y1="2770" |
| 6828 | y2="2750" |
| 6829 | class="qs-line-measure" |
| 6830 | style="pointer-events: none" |
| 6831 | /> |
| 6832 | </g> |
| 6833 | </a> |
| 6834 | </g> |
| 6835 | <g |
| 6836 | class="gate classically-controlled-group" |
| 6837 | data-location="0,0-0,10-2,0" |
| 6838 | data-expanded="true" |
| 6839 | > |
| 6840 | <line |
| 6841 | x1="463" |
| 6842 | x2="488" |
| 6843 | y1="2834" |
| 6844 | y2="2834" |
| 6845 | class="classical-line" |
| 6846 | stroke-dasharray="8, 8" |
| 6847 | /> |
| 6848 | <line |
| 6849 | x1="463" |
| 6850 | x2="463" |
| 6851 | y1="2829" |
| 6852 | y2="2834" |
| 6853 | class="classical-line" |
| 6854 | stroke-dasharray="8, 8" |
| 6855 | /> |
| 6856 | <g class="classically-controlled-btn"> |
| 6857 | <circle cx="463" cy="2814" r="15" /> |
| 6858 | <text |
| 6859 | font-size="14" |
| 6860 | x="463" |
| 6861 | y="2814" |
| 6862 | text-anchor="start" |
| 6863 | dominant-baseline="middle" |
| 6864 | class="qs-maintext" |
| 6865 | > |
| 6866 | c |
| 6867 | <tspan baseline-shift="sub" font-size="65%">18</tspan> |
| 6868 | </text> |
| 6869 | </g> |
| 6870 | <rect |
| 6871 | class="classical-container" |
| 6872 | x="488" |
| 6873 | y="2768" |
| 6874 | width="90" |
| 6875 | height="128" |
| 6876 | fill-opacity="0" |
| 6877 | stroke-dasharray="8, 8" |
| 6878 | /> |
| 6879 | <g> |
| 6880 | <g class="gate" data-location="0,0-0,10-2,0-0,0"> |
| 6881 | <a href="#" class="qs-circuit-source-link"> |
| 6882 | <title> |
| 6883 | Error loading |
| 6884 | qsharp-library-source:Std/Intrinsic.qs:511 |
| 6885 | </title> |
| 6886 | <g> |
| 6887 | <g> |
| 6888 | <rect |
| 6889 | class="gate-unitary" |
| 6890 | x="498" |
| 6891 | y="2846" |
| 6892 | width="65" |
| 6893 | height="40" |
| 6894 | data-wire-ys="[2866]" |
| 6895 | data-width="65" |
| 6896 | /> |
| 6897 | <text |
| 6898 | font-size="14" |
| 6899 | x="530.5" |
| 6900 | y="2859" |
| 6901 | class="qs-maintext" |
| 6902 | > |
| 6903 | <tspan class="qs-mathtext">Rx</tspan> |
| 6904 | </text> |
| 6905 | <text |
| 6906 | font-size="12" |
| 6907 | x="530.5" |
| 6908 | y="2874" |
| 6909 | class="arg-button" |
| 6910 | > |
| 6911 | <tspan class="qs-mathtext">f</tspan> |
| 6912 | ( |
| 6913 | <tspan class="qs-mathtext">c</tspan> |
| 6914 | <tspan baseline-shift="sub" font-size="65%"> |
| 6915 | 18 |
| 6916 | </tspan> |
| 6917 | ) |
| 6918 | </text> |
| 6919 | </g> |
| 6920 | </g> |
| 6921 | </a> |
| 6922 | </g> |
| 6923 | </g> |
| 6924 | <a href="#" class="qs-circuit-source-link"> |
| 6925 | <title>conditionals.qs:166:5 Rx(theta, q1);</title> |
| 6926 | <text |
| 6927 | font-size="14" |
| 6928 | x="498" |
| 6929 | y="2783" |
| 6930 | class="qs-maintext qs-group-label" |
| 6931 | style="pointer-events: all" |
| 6932 | > |
| 6933 | <tspan class="qs-mathtext">using</tspan> |
| 6934 | : |
| 6935 | <tspan class="qs-mathtext">c</tspan> |
| 6936 | <tspan baseline-shift="sub" font-size="65%">18</tspan> |
| 6937 | </text> |
| 6938 | </a> |
| 6939 | <g class="gate-control gate-collapse"> |
| 6940 | <circle cx="490" cy="2770" r="10" /> |
| 6941 | <path d="M483,2770 h14" /> |
| 6942 | </g> |
| 6943 | </g> |
| 6944 | <g class="gate" data-location="0,0-0,10-3,0"> |
| 6945 | <a href="#" class="qs-circuit-source-link"> |
| 6946 | <title>conditionals.qs:167:14 let r1 = M(q1);</title> |
| 6947 | <g> |
| 6948 | <rect |
| 6949 | class="gate-measure" |
| 6950 | x="590" |
| 6951 | y="2846" |
| 6952 | width="40" |
| 6953 | height="40" |
| 6954 | data-wire-ys="[2866]" |
| 6955 | data-width="40" |
| 6956 | /> |
| 6957 | <path |
| 6958 | class="arc-measure" |
| 6959 | d="M 625 2868 A 15 12 0 0 0 595 2868" |
| 6960 | style="pointer-events: none" |
| 6961 | /> |
| 6962 | <line |
| 6963 | x1="610" |
| 6964 | x2="622" |
| 6965 | y1="2874" |
| 6966 | y2="2854" |
| 6967 | class="qs-line-measure" |
| 6968 | style="pointer-events: none" |
| 6969 | /> |
| 6970 | </g> |
| 6971 | </a> |
| 6972 | </g> |
| 6973 | </g> |
| 6974 | <a href="#" class="qs-circuit-source-link"> |
| 6975 | <title> |
| 6976 | conditionals.qs:14:5 BranchOnDynamicDouble(qs[18], qs[19]); |
| 6977 | </title> |
| 6978 | <text |
| 6979 | font-size="14" |
| 6980 | x="344" |
| 6981 | y="2731" |
| 6982 | class="qs-maintext qs-group-label" |
| 6983 | style="pointer-events: all" |
| 6984 | > |
| 6985 | <tspan class="qs-mathtext">BranchOnDynamicDouble</tspan> |
| 6986 | </text> |
| 6987 | </a> |
| 6988 | <g class="gate-control gate-collapse"> |
| 6989 | <circle cx="336" cy="2718" r="10" /> |
| 6990 | <path d="M329,2718 h14" /> |
| 6991 | </g> |
| 6992 | </g> |
| 6993 | <g class="gate" data-location="0,0-0,11" data-expanded="true"> |
| 6994 | <rect |
| 6995 | class="gate-unitary" |
| 6996 | x="333" |
| 6997 | y="2996" |
| 6998 | width="308" |
| 6999 | height="232" |
| 7000 | fill-opacity="0" |
| 7001 | stroke-dasharray="8, 8" |
| 7002 | /> |
| 7003 | <g> |
| 7004 | <g class="gate" data-location="0,0-0,11-0,0"> |
| 7005 | <a href="#" class="qs-circuit-source-link"> |
| 7006 | <title>conditionals.qs:172:5 H(q0);</title> |
| 7007 | <g> |
| 7008 | <g> |
| 7009 | <rect |
| 7010 | class="gate-unitary" |
| 7011 | x="343" |
| 7012 | y="3022" |
| 7013 | width="40" |
| 7014 | height="40" |
| 7015 | data-wire-ys="[3042]" |
| 7016 | data-width="40" |
| 7017 | /> |
| 7018 | <text |
| 7019 | font-size="14" |
| 7020 | x="363" |
| 7021 | y="3042" |
| 7022 | class="qs-maintext" |
| 7023 | > |
| 7024 | <tspan class="qs-mathtext">H</tspan> |
| 7025 | </text> |
| 7026 | </g> |
| 7027 | </g> |
| 7028 | </a> |
| 7029 | </g> |
| 7030 | <g class="gate" data-location="0,0-0,11-1,0"> |
| 7031 | <a href="#" class="qs-circuit-source-link"> |
| 7032 | <title>conditionals.qs:173:13 let r = M(q0);</title> |
| 7033 | <g> |
| 7034 | <rect |
| 7035 | class="gate-measure" |
| 7036 | x="395" |
| 7037 | y="3022" |
| 7038 | width="40" |
| 7039 | height="40" |
| 7040 | data-wire-ys="[3042]" |
| 7041 | data-width="40" |
| 7042 | /> |
| 7043 | <path |
| 7044 | class="arc-measure" |
| 7045 | d="M 430 3044 A 15 12 0 0 0 400 3044" |
| 7046 | style="pointer-events: none" |
| 7047 | /> |
| 7048 | <line |
| 7049 | x1="415" |
| 7050 | x2="427" |
| 7051 | y1="3050" |
| 7052 | y2="3030" |
| 7053 | class="qs-line-measure" |
| 7054 | style="pointer-events: none" |
| 7055 | /> |
| 7056 | </g> |
| 7057 | </a> |
| 7058 | </g> |
| 7059 | <g |
| 7060 | class="gate classically-controlled-group" |
| 7061 | data-location="0,0-0,11-2,0" |
| 7062 | data-expanded="true" |
| 7063 | > |
| 7064 | <line |
| 7065 | x1="462" |
| 7066 | x2="487" |
| 7067 | y1="3114" |
| 7068 | y2="3114" |
| 7069 | class="classical-line" |
| 7070 | stroke-dasharray="8, 8" |
| 7071 | /> |
| 7072 | <line |
| 7073 | x1="462" |
| 7074 | x2="462" |
| 7075 | y1="3109" |
| 7076 | y2="3114" |
| 7077 | class="classical-line" |
| 7078 | stroke-dasharray="8, 8" |
| 7079 | /> |
| 7080 | <g class="classically-controlled-btn"> |
| 7081 | <circle cx="462" cy="3094" r="15" /> |
| 7082 | <text |
| 7083 | font-size="14" |
| 7084 | x="462" |
| 7085 | y="3094" |
| 7086 | text-anchor="start" |
| 7087 | dominant-baseline="middle" |
| 7088 | class="qs-maintext" |
| 7089 | > |
| 7090 | c |
| 7091 | <tspan baseline-shift="sub" font-size="65%">20</tspan> |
| 7092 | </text> |
| 7093 | </g> |
| 7094 | <rect |
| 7095 | class="classical-container" |
| 7096 | x="487" |
| 7097 | y="3048" |
| 7098 | width="92" |
| 7099 | height="128" |
| 7100 | fill-opacity="0" |
| 7101 | stroke-dasharray="8, 8" |
| 7102 | /> |
| 7103 | <g> |
| 7104 | <g class="gate" data-location="0,0-0,11-2,0-0,0"> |
| 7105 | <a href="#" class="qs-circuit-source-link"> |
| 7106 | <title>conditionals.qs:184:9 X(q1);</title> |
| 7107 | <g |
| 7108 | class="oplus" |
| 7109 | data-wire-ys="[3146]" |
| 7110 | data-width="30" |
| 7111 | > |
| 7112 | <circle cx="517" cy="3146" r="15" /> |
| 7113 | <line x1="517" x2="517" y1="3131" y2="3161" /> |
| 7114 | <line x1="502" x2="532" y1="3146" y2="3146" /> |
| 7115 | </g> |
| 7116 | </a> |
| 7117 | </g> |
| 7118 | </g> |
| 7119 | <a href="#" class="qs-circuit-source-link"> |
| 7120 | <title>conditionals.qs:183:5 if cond {</title> |
| 7121 | <text |
| 7122 | font-size="14" |
| 7123 | x="497" |
| 7124 | y="3063" |
| 7125 | class="qs-maintext qs-group-label" |
| 7126 | style="pointer-events: all" |
| 7127 | > |
| 7128 | <tspan class="qs-mathtext">if</tspan> |
| 7129 | : |
| 7130 | <tspan class="qs-mathtext">f</tspan> |
| 7131 | ( |
| 7132 | <tspan class="qs-mathtext">c</tspan> |
| 7133 | <tspan baseline-shift="sub" font-size="65%">20</tspan> |
| 7134 | ) |
| 7135 | </text> |
| 7136 | </a> |
| 7137 | <g class="gate-control gate-collapse"> |
| 7138 | <circle cx="489" cy="3050" r="10" /> |
| 7139 | <path d="M482,3050 h14" /> |
| 7140 | </g> |
| 7141 | </g> |
| 7142 | <g class="gate" data-location="0,0-0,11-3,0"> |
| 7143 | <a href="#" class="qs-circuit-source-link"> |
| 7144 | <title>conditionals.qs:186:14 let r1 = M(q1);</title> |
| 7145 | <g> |
| 7146 | <rect |
| 7147 | class="gate-measure" |
| 7148 | x="591" |
| 7149 | y="3126" |
| 7150 | width="40" |
| 7151 | height="40" |
| 7152 | data-wire-ys="[3146]" |
| 7153 | data-width="40" |
| 7154 | /> |
| 7155 | <path |
| 7156 | class="arc-measure" |
| 7157 | d="M 626 3148 A 15 12 0 0 0 596 3148" |
| 7158 | style="pointer-events: none" |
| 7159 | /> |
| 7160 | <line |
| 7161 | x1="611" |
| 7162 | x2="623" |
| 7163 | y1="3154" |
| 7164 | y2="3134" |
| 7165 | class="qs-line-measure" |
| 7166 | style="pointer-events: none" |
| 7167 | /> |
| 7168 | </g> |
| 7169 | </a> |
| 7170 | </g> |
| 7171 | </g> |
| 7172 | <a href="#" class="qs-circuit-source-link"> |
| 7173 | <title> |
| 7174 | conditionals.qs:15:5 BranchOnDynamicBool(qs[20], qs[21]); |
| 7175 | </title> |
| 7176 | <text |
| 7177 | font-size="14" |
| 7178 | x="343" |
| 7179 | y="3011" |
| 7180 | class="qs-maintext qs-group-label" |
| 7181 | style="pointer-events: all" |
| 7182 | > |
| 7183 | <tspan class="qs-mathtext">BranchOnDynamicBool</tspan> |
| 7184 | </text> |
| 7185 | </a> |
| 7186 | <g class="gate-control gate-collapse"> |
| 7187 | <circle cx="335" cy="2998" r="10" /> |
| 7188 | <path d="M328,2998 h14" /> |
| 7189 | </g> |
| 7190 | </g> |
| 7191 | <g class="gate" data-location="0,0-0,12" data-expanded="true"> |
| 7192 | <rect |
| 7193 | class="gate-unitary" |
| 7194 | x="283" |
| 7195 | y="3250" |
| 7196 | width="408" |
| 7197 | height="288" |
| 7198 | fill-opacity="0" |
| 7199 | stroke-dasharray="8, 8" |
| 7200 | /> |
| 7201 | <g> |
| 7202 | <g |
| 7203 | class="gate" |
| 7204 | data-location="0,0-0,12-0,0" |
| 7205 | data-expanded="true" |
| 7206 | > |
| 7207 | <rect |
| 7208 | class="gate-unitary" |
| 7209 | x="293" |
| 7210 | y="3302" |
| 7211 | width="132" |
| 7212 | height="112" |
| 7213 | fill-opacity="0" |
| 7214 | stroke-dasharray="8, 8" |
| 7215 | /> |
| 7216 | <g> |
| 7217 | <g |
| 7218 | class="gate" |
| 7219 | data-location="0,0-0,12-0,0-0,0" |
| 7220 | data-expanded="true" |
| 7221 | > |
| 7222 | <rect |
| 7223 | class="gate-unitary" |
| 7224 | x="303" |
| 7225 | y="3328" |
| 7226 | width="112" |
| 7227 | height="76" |
| 7228 | fill-opacity="0" |
| 7229 | stroke-dasharray="8, 8" |
| 7230 | /> |
| 7231 | <g> |
| 7232 | <g class="gate" data-location="0,0-0,12-0,0-0,0-0,0"> |
| 7233 | <a href="#" class="qs-circuit-source-link"> |
| 7234 | <title>conditionals.qs:195:5 X(q);</title> |
| 7235 | <g |
| 7236 | class="oplus" |
| 7237 | data-wire-ys="[3374]" |
| 7238 | data-width="30" |
| 7239 | > |
| 7240 | <circle cx="333" cy="3374" r="15" /> |
| 7241 | <line x1="333" x2="333" y1="3359" y2="3389" /> |
| 7242 | <line x1="318" x2="348" y1="3374" y2="3374" /> |
| 7243 | </g> |
| 7244 | </a> |
| 7245 | </g> |
| 7246 | <g class="gate" data-location="0,0-0,12-0,0-0,0-1,0"> |
| 7247 | <a href="#" class="qs-circuit-source-link"> |
| 7248 | <title>conditionals.qs:196:5 Y(q);</title> |
| 7249 | <g> |
| 7250 | <g> |
| 7251 | <rect |
| 7252 | class="gate-unitary" |
| 7253 | x="365" |
| 7254 | y="3354" |
| 7255 | width="40" |
| 7256 | height="40" |
| 7257 | data-wire-ys="[3374]" |
| 7258 | data-width="40" |
| 7259 | /> |
| 7260 | <text |
| 7261 | font-size="14" |
| 7262 | x="385" |
| 7263 | y="3374" |
| 7264 | class="qs-maintext" |
| 7265 | > |
| 7266 | <tspan class="qs-mathtext">Y</tspan> |
| 7267 | </text> |
| 7268 | </g> |
| 7269 | </g> |
| 7270 | </a> |
| 7271 | </g> |
| 7272 | </g> |
| 7273 | <a href="#" class="qs-circuit-source-link"> |
| 7274 | <title>conditionals.qs:191:5 Bar(q);</title> |
| 7275 | <text |
| 7276 | font-size="14" |
| 7277 | x="313" |
| 7278 | y="3343" |
| 7279 | class="qs-maintext qs-group-label" |
| 7280 | style="pointer-events: all" |
| 7281 | > |
| 7282 | <tspan class="qs-mathtext">Bar</tspan> |
| 7283 | </text> |
| 7284 | </a> |
| 7285 | <g class="gate-control gate-collapse"> |
| 7286 | <circle cx="305" cy="3330" r="10" /> |
| 7287 | <path d="M298,3330 h14" /> |
| 7288 | </g> |
| 7289 | </g> |
| 7290 | </g> |
| 7291 | <a href="#" class="qs-circuit-source-link"> |
| 7292 | <title>conditionals.qs:200:5 Foo(q);</title> |
| 7293 | <text |
| 7294 | font-size="14" |
| 7295 | x="303" |
| 7296 | y="3317" |
| 7297 | class="qs-maintext qs-group-label" |
| 7298 | style="pointer-events: all" |
| 7299 | > |
| 7300 | <tspan class="qs-mathtext">Foo</tspan> |
| 7301 | </text> |
| 7302 | </a> |
| 7303 | <g class="gate-control gate-collapse"> |
| 7304 | <circle cx="295" cy="3304" r="10" /> |
| 7305 | <path d="M288,3304 h14" /> |
| 7306 | </g> |
| 7307 | </g> |
| 7308 | <g class="gate" data-location="0,0-0,12-0,1"> |
| 7309 | <a href="#" class="qs-circuit-source-link"> |
| 7310 | <title>conditionals.qs:201:5 H(q1);</title> |
| 7311 | <g> |
| 7312 | <g> |
| 7313 | <rect |
| 7314 | class="gate-unitary" |
| 7315 | x="339" |
| 7316 | y="3426" |
| 7317 | width="40" |
| 7318 | height="40" |
| 7319 | data-wire-ys="[3446]" |
| 7320 | data-width="40" |
| 7321 | /> |
| 7322 | <text |
| 7323 | font-size="14" |
| 7324 | x="359" |
| 7325 | y="3446" |
| 7326 | class="qs-maintext" |
| 7327 | > |
| 7328 | <tspan class="qs-mathtext">H</tspan> |
| 7329 | </text> |
| 7330 | </g> |
| 7331 | </g> |
| 7332 | </a> |
| 7333 | </g> |
| 7334 | <g class="gate" data-location="0,0-0,12-1,0"> |
| 7335 | <a href="#" class="qs-circuit-source-link"> |
| 7336 | <title>conditionals.qs:202:9 if (M(q1) == One) {</title> |
| 7337 | <g> |
| 7338 | <rect |
| 7339 | class="gate-measure" |
| 7340 | x="437" |
| 7341 | y="3426" |
| 7342 | width="40" |
| 7343 | height="40" |
| 7344 | data-wire-ys="[3446]" |
| 7345 | data-width="40" |
| 7346 | /> |
| 7347 | <path |
| 7348 | class="arc-measure" |
| 7349 | d="M 472 3448 A 15 12 0 0 0 442 3448" |
| 7350 | style="pointer-events: none" |
| 7351 | /> |
| 7352 | <line |
| 7353 | x1="457" |
| 7354 | x2="469" |
| 7355 | y1="3454" |
| 7356 | y2="3434" |
| 7357 | class="qs-line-measure" |
| 7358 | style="pointer-events: none" |
| 7359 | /> |
| 7360 | </g> |
| 7361 | </a> |
| 7362 | </g> |
| 7363 | <g |
| 7364 | class="gate classically-controlled-group" |
| 7365 | data-location="0,0-0,12-2,0" |
| 7366 | data-expanded="true" |
| 7367 | > |
| 7368 | <line |
| 7369 | x1="504" |
| 7370 | x2="529" |
| 7371 | y1="3518" |
| 7372 | y2="3518" |
| 7373 | class="classical-line" |
| 7374 | stroke-dasharray="8, 8" |
| 7375 | /> |
| 7376 | <line |
| 7377 | x1="504" |
| 7378 | x2="504" |
| 7379 | y1="3513" |
| 7380 | y2="3518" |
| 7381 | class="classical-line" |
| 7382 | stroke-dasharray="8, 8" |
| 7383 | /> |
| 7384 | <g class="classically-controlled-btn"> |
| 7385 | <circle cx="504" cy="3498" r="15" /> |
| 7386 | <text |
| 7387 | font-size="14" |
| 7388 | x="504" |
| 7389 | y="3498" |
| 7390 | text-anchor="start" |
| 7391 | dominant-baseline="middle" |
| 7392 | class="qs-maintext" |
| 7393 | > |
| 7394 | c |
| 7395 | <tspan baseline-shift="sub" font-size="65%">22</tspan> |
| 7396 | </text> |
| 7397 | </g> |
| 7398 | <rect |
| 7399 | class="classical-container" |
| 7400 | x="529" |
| 7401 | y="3276" |
| 7402 | width="152" |
| 7403 | height="252" |
| 7404 | fill-opacity="0" |
| 7405 | stroke-dasharray="8, 8" |
| 7406 | /> |
| 7407 | <g> |
| 7408 | <g |
| 7409 | class="gate" |
| 7410 | data-location="0,0-0,12-2,0-0,0" |
| 7411 | data-expanded="true" |
| 7412 | > |
| 7413 | <rect |
| 7414 | class="gate-unitary" |
| 7415 | x="539" |
| 7416 | y="3302" |
| 7417 | width="132" |
| 7418 | height="112" |
| 7419 | fill-opacity="0" |
| 7420 | stroke-dasharray="8, 8" |
| 7421 | /> |
| 7422 | <g> |
| 7423 | <g |
| 7424 | class="gate" |
| 7425 | data-location="0,0-0,12-2,0-0,0-0,0" |
| 7426 | data-expanded="true" |
| 7427 | > |
| 7428 | <rect |
| 7429 | class="gate-unitary" |
| 7430 | x="549" |
| 7431 | y="3328" |
| 7432 | width="112" |
| 7433 | height="76" |
| 7434 | fill-opacity="0" |
| 7435 | stroke-dasharray="8, 8" |
| 7436 | /> |
| 7437 | <g> |
| 7438 | <g |
| 7439 | class="gate" |
| 7440 | data-location="0,0-0,12-2,0-0,0-0,0-0,0" |
| 7441 | > |
| 7442 | <a href="#" class="qs-circuit-source-link"> |
| 7443 | <title>conditionals.qs:195:5 X(q);</title> |
| 7444 | <g |
| 7445 | class="oplus" |
| 7446 | data-wire-ys="[3374]" |
| 7447 | data-width="30" |
| 7448 | > |
| 7449 | <circle cx="579" cy="3374" r="15" /> |
| 7450 | <line |
| 7451 | x1="579" |
| 7452 | x2="579" |
| 7453 | y1="3359" |
| 7454 | y2="3389" |
| 7455 | /> |
| 7456 | <line |
| 7457 | x1="564" |
| 7458 | x2="594" |
| 7459 | y1="3374" |
| 7460 | y2="3374" |
| 7461 | /> |
| 7462 | </g> |
| 7463 | </a> |
| 7464 | </g> |
| 7465 | <g |
| 7466 | class="gate" |
| 7467 | data-location="0,0-0,12-2,0-0,0-0,0-1,0" |
| 7468 | > |
| 7469 | <a href="#" class="qs-circuit-source-link"> |
| 7470 | <title>conditionals.qs:196:5 Y(q);</title> |
| 7471 | <g> |
| 7472 | <g> |
| 7473 | <rect |
| 7474 | class="gate-unitary" |
| 7475 | x="611" |
| 7476 | y="3354" |
| 7477 | width="40" |
| 7478 | height="40" |
| 7479 | data-wire-ys="[3374]" |
| 7480 | data-width="40" |
| 7481 | /> |
| 7482 | <text |
| 7483 | font-size="14" |
| 7484 | x="631" |
| 7485 | y="3374" |
| 7486 | class="qs-maintext" |
| 7487 | > |
| 7488 | <tspan class="qs-mathtext">Y</tspan> |
| 7489 | </text> |
| 7490 | </g> |
| 7491 | </g> |
| 7492 | </a> |
| 7493 | </g> |
| 7494 | </g> |
| 7495 | <a href="#" class="qs-circuit-source-link"> |
| 7496 | <title>conditionals.qs:191:5 Bar(q);</title> |
| 7497 | <text |
| 7498 | font-size="14" |
| 7499 | x="559" |
| 7500 | y="3343" |
| 7501 | class="qs-maintext qs-group-label" |
| 7502 | style="pointer-events: all" |
| 7503 | > |
| 7504 | <tspan class="qs-mathtext">Bar</tspan> |
| 7505 | </text> |
| 7506 | </a> |
| 7507 | <g class="gate-control gate-collapse"> |
| 7508 | <circle cx="551" cy="3330" r="10" /> |
| 7509 | <path d="M544,3330 h14" /> |
| 7510 | </g> |
| 7511 | </g> |
| 7512 | </g> |
| 7513 | <a href="#" class="qs-circuit-source-link"> |
| 7514 | <title>conditionals.qs:203:9 Foo(q);</title> |
| 7515 | <text |
| 7516 | font-size="14" |
| 7517 | x="549" |
| 7518 | y="3317" |
| 7519 | class="qs-maintext qs-group-label" |
| 7520 | style="pointer-events: all" |
| 7521 | > |
| 7522 | <tspan class="qs-mathtext">Foo</tspan> |
| 7523 | </text> |
| 7524 | </a> |
| 7525 | <g class="gate-control gate-collapse"> |
| 7526 | <circle cx="541" cy="3304" r="10" /> |
| 7527 | <path d="M534,3304 h14" /> |
| 7528 | </g> |
| 7529 | </g> |
| 7530 | </g> |
| 7531 | <a href="#" class="qs-circuit-source-link"> |
| 7532 | <title>conditionals.qs:202:5 if (M(q1) == One) {</title> |
| 7533 | <text |
| 7534 | font-size="14" |
| 7535 | x="539" |
| 7536 | y="3291" |
| 7537 | class="qs-maintext qs-group-label" |
| 7538 | style="pointer-events: all" |
| 7539 | > |
| 7540 | <tspan class="qs-mathtext">if</tspan> |
| 7541 | : |
| 7542 | <tspan class="qs-mathtext">c</tspan> |
| 7543 | <tspan baseline-shift="sub" font-size="65%">22</tspan> |
| 7544 | = |1〉 |
| 7545 | </text> |
| 7546 | </a> |
| 7547 | <g class="gate-control gate-collapse"> |
| 7548 | <circle cx="531" cy="3278" r="10" /> |
| 7549 | <path d="M524,3278 h14" /> |
| 7550 | </g> |
| 7551 | </g> |
| 7552 | </g> |
| 7553 | <a href="#" class="qs-circuit-source-link"> |
| 7554 | <title> |
| 7555 | conditionals.qs:16:5 NestedCallablesInBranch(qs[22], |
| 7556 | qs[23]); |
| 7557 | </title> |
| 7558 | <text |
| 7559 | font-size="14" |
| 7560 | x="293" |
| 7561 | y="3265" |
| 7562 | class="qs-maintext qs-group-label" |
| 7563 | style="pointer-events: all" |
| 7564 | > |
| 7565 | <tspan class="qs-mathtext">NestedCallablesInBranch</tspan> |
| 7566 | </text> |
| 7567 | </a> |
| 7568 | <g class="gate-control gate-collapse"> |
| 7569 | <circle cx="285" cy="3252" r="10" /> |
| 7570 | <path d="M278,3252 h14" /> |
| 7571 | </g> |
| 7572 | </g> |
| 7573 | <g class="gate" data-location="0,0-0,13" data-expanded="true"> |
| 7574 | <rect |
| 7575 | class="gate-unitary" |
| 7576 | x="90" |
| 7577 | y="3550" |
| 7578 | width="794" |
| 7579 | height="370" |
| 7580 | fill-opacity="0" |
| 7581 | stroke-dasharray="8, 8" |
| 7582 | /> |
| 7583 | <g> |
| 7584 | <g class="gate" data-location="0,0-0,13-0,0"> |
| 7585 | <a href="#" class="qs-circuit-source-link"> |
| 7586 | <title> |
| 7587 | conditionals.qs:208:20 let results = [MResetZ(q1), |
| 7588 | MResetZ(q1)]; |
| 7589 | </title> |
| 7590 | <g> |
| 7591 | <rect |
| 7592 | class="gate-measure" |
| 7593 | x="100" |
| 7594 | y="3736" |
| 7595 | width="40" |
| 7596 | height="40" |
| 7597 | data-wire-ys="[3756]" |
| 7598 | data-width="40" |
| 7599 | /> |
| 7600 | <path |
| 7601 | class="arc-measure" |
| 7602 | d="M 135 3758 A 15 12 0 0 0 105 3758" |
| 7603 | style="pointer-events: none" |
| 7604 | /> |
| 7605 | <line |
| 7606 | x1="120" |
| 7607 | x2="132" |
| 7608 | y1="3764" |
| 7609 | y2="3744" |
| 7610 | class="qs-line-measure" |
| 7611 | style="pointer-events: none" |
| 7612 | /> |
| 7613 | </g> |
| 7614 | </a> |
| 7615 | </g> |
| 7616 | <g class="gate" data-location="0,0-0,13-1,0"> |
| 7617 | <a href="#" class="qs-circuit-source-link"> |
| 7618 | <title> |
| 7619 | conditionals.qs:208:20 let results = [MResetZ(q1), |
| 7620 | MResetZ(q1)]; |
| 7621 | </title> |
| 7622 | <g> |
| 7623 | <g> |
| 7624 | <rect |
| 7625 | class="gate-ket" |
| 7626 | x="152" |
| 7627 | y="3736" |
| 7628 | width="40" |
| 7629 | height="40" |
| 7630 | data-wire-ys="[3756]" |
| 7631 | data-width="40" |
| 7632 | /> |
| 7633 | <text |
| 7634 | font-size="14" |
| 7635 | x="172" |
| 7636 | y="3756" |
| 7637 | class="qs-maintext ket-text" |
| 7638 | > |
| 7639 | |0⟩ |
| 7640 | </text> |
| 7641 | </g> |
| 7642 | </g> |
| 7643 | </a> |
| 7644 | </g> |
| 7645 | <g class="gate" data-location="0,0-0,13-2,0"> |
| 7646 | <a href="#" class="qs-circuit-source-link"> |
| 7647 | <title> |
| 7648 | conditionals.qs:208:33 let results = [MResetZ(q1), |
| 7649 | MResetZ(q1)]; |
| 7650 | </title> |
| 7651 | <g> |
| 7652 | <rect |
| 7653 | class="gate-measure" |
| 7654 | x="204" |
| 7655 | y="3736" |
| 7656 | width="40" |
| 7657 | height="40" |
| 7658 | data-wire-ys="[3756]" |
| 7659 | data-width="40" |
| 7660 | /> |
| 7661 | <path |
| 7662 | class="arc-measure" |
| 7663 | d="M 239 3758 A 15 12 0 0 0 209 3758" |
| 7664 | style="pointer-events: none" |
| 7665 | /> |
| 7666 | <line |
| 7667 | x1="224" |
| 7668 | x2="236" |
| 7669 | y1="3764" |
| 7670 | y2="3744" |
| 7671 | class="qs-line-measure" |
| 7672 | style="pointer-events: none" |
| 7673 | /> |
| 7674 | </g> |
| 7675 | </a> |
| 7676 | </g> |
| 7677 | <g class="gate" data-location="0,0-0,13-3,0"> |
| 7678 | <a href="#" class="qs-circuit-source-link"> |
| 7679 | <title> |
| 7680 | conditionals.qs:208:33 let results = [MResetZ(q1), |
| 7681 | MResetZ(q1)]; |
| 7682 | </title> |
| 7683 | <g> |
| 7684 | <g> |
| 7685 | <rect |
| 7686 | class="gate-ket" |
| 7687 | x="256" |
| 7688 | y="3736" |
| 7689 | width="40" |
| 7690 | height="40" |
| 7691 | data-wire-ys="[3756]" |
| 7692 | data-width="40" |
| 7693 | /> |
| 7694 | <text |
| 7695 | font-size="14" |
| 7696 | x="276" |
| 7697 | y="3756" |
| 7698 | class="qs-maintext ket-text" |
| 7699 | > |
| 7700 | |0⟩ |
| 7701 | </text> |
| 7702 | </g> |
| 7703 | </g> |
| 7704 | </a> |
| 7705 | </g> |
| 7706 | <g |
| 7707 | class="gate" |
| 7708 | data-location="0,0-0,13-4,0" |
| 7709 | data-expanded="true" |
| 7710 | > |
| 7711 | <rect |
| 7712 | class="gate-unitary" |
| 7713 | x="308" |
| 7714 | y="3576" |
| 7715 | width="362" |
| 7716 | height="334" |
| 7717 | fill-opacity="0" |
| 7718 | stroke-dasharray="8, 8" |
| 7719 | /> |
| 7720 | <g> |
| 7721 | <g |
| 7722 | class="gate" |
| 7723 | data-location="0,0-0,13-4,0-0,0" |
| 7724 | data-expanded="true" |
| 7725 | > |
| 7726 | <rect |
| 7727 | class="gate-unitary" |
| 7728 | x="318" |
| 7729 | y="3602" |
| 7730 | width="165" |
| 7731 | height="246" |
| 7732 | fill-opacity="0" |
| 7733 | stroke-dasharray="8, 8" |
| 7734 | /> |
| 7735 | <g> |
| 7736 | <g |
| 7737 | class="gate classically-controlled-group" |
| 7738 | data-location="0,0-0,13-4,0-0,0-0,0" |
| 7739 | data-expanded="true" |
| 7740 | > |
| 7741 | <line |
| 7742 | x1="343" |
| 7743 | x2="368" |
| 7744 | y1="3828" |
| 7745 | y2="3828" |
| 7746 | class="classical-line" |
| 7747 | stroke-dasharray="8, 8" |
| 7748 | /> |
| 7749 | <line |
| 7750 | x1="343" |
| 7751 | x2="343" |
| 7752 | y1="3823" |
| 7753 | y2="3828" |
| 7754 | class="classical-line" |
| 7755 | stroke-dasharray="8, 8" |
| 7756 | /> |
| 7757 | <g class="classically-controlled-btn"> |
| 7758 | <circle cx="343" cy="3808" r="15" /> |
| 7759 | <text |
| 7760 | font-size="14" |
| 7761 | x="343" |
| 7762 | y="3808" |
| 7763 | text-anchor="start" |
| 7764 | dominant-baseline="middle" |
| 7765 | class="qs-maintext" |
| 7766 | > |
| 7767 | c |
| 7768 | <tspan baseline-shift="sub" font-size="65%"> |
| 7769 | 23 |
| 7770 | </tspan> |
| 7771 | </text> |
| 7772 | </g> |
| 7773 | <rect |
| 7774 | class="classical-container" |
| 7775 | x="368" |
| 7776 | y="3628" |
| 7777 | width="105" |
| 7778 | height="210" |
| 7779 | fill-opacity="0" |
| 7780 | stroke-dasharray="8, 8" |
| 7781 | /> |
| 7782 | <g> |
| 7783 | <g |
| 7784 | class="gate" |
| 7785 | data-location="0,0-0,13-4,0-0,0-0,0-0,0" |
| 7786 | > |
| 7787 | <a href="#" class="qs-circuit-source-link"> |
| 7788 | <title>conditionals.qs:212:13 X(q0);</title> |
| 7789 | <g |
| 7790 | class="oplus" |
| 7791 | data-wire-ys="[3674]" |
| 7792 | data-width="30" |
| 7793 | > |
| 7794 | <circle cx="398" cy="3674" r="15" /> |
| 7795 | <line |
| 7796 | x1="398" |
| 7797 | x2="398" |
| 7798 | y1="3659" |
| 7799 | y2="3689" |
| 7800 | /> |
| 7801 | <line |
| 7802 | x1="383" |
| 7803 | x2="413" |
| 7804 | y1="3674" |
| 7805 | y2="3674" |
| 7806 | /> |
| 7807 | </g> |
| 7808 | </a> |
| 7809 | </g> |
| 7810 | </g> |
| 7811 | <a href="#" class="qs-circuit-source-link"> |
| 7812 | <title> |
| 7813 | conditionals.qs:211:9 if results[j] == One { |
| 7814 | </title> |
| 7815 | <text |
| 7816 | font-size="14" |
| 7817 | x="378" |
| 7818 | y="3643" |
| 7819 | class="qs-maintext qs-group-label" |
| 7820 | style="pointer-events: all" |
| 7821 | > |
| 7822 | <tspan class="qs-mathtext">if</tspan> |
| 7823 | : |
| 7824 | <tspan class="qs-mathtext">c</tspan> |
| 7825 | <tspan baseline-shift="sub" font-size="65%"> |
| 7826 | 23 |
| 7827 | </tspan> |
| 7828 | = |1〉 |
| 7829 | </text> |
| 7830 | </a> |
| 7831 | <g class="gate-control gate-collapse"> |
| 7832 | <circle cx="370" cy="3630" r="10" /> |
| 7833 | <path d="M363,3630 h14" /> |
| 7834 | </g> |
| 7835 | </g> |
| 7836 | </g> |
| 7837 | <a href="#" class="qs-circuit-source-link"> |
| 7838 | <title>conditionals.qs:210:19 for j in 0..1 {</title> |
| 7839 | <text |
| 7840 | font-size="14" |
| 7841 | x="328" |
| 7842 | y="3617" |
| 7843 | class="qs-maintext qs-group-label" |
| 7844 | style="pointer-events: all" |
| 7845 | > |
| 7846 | (1) |
| 7847 | </text> |
| 7848 | </a> |
| 7849 | <g class="gate-control gate-collapse"> |
| 7850 | <circle cx="320" cy="3604" r="10" /> |
| 7851 | <path d="M313,3604 h14" /> |
| 7852 | </g> |
| 7853 | </g> |
| 7854 | <g |
| 7855 | class="gate" |
| 7856 | data-location="0,0-0,13-4,0-1,0" |
| 7857 | data-expanded="true" |
| 7858 | > |
| 7859 | <rect |
| 7860 | class="gate-unitary" |
| 7861 | x="495" |
| 7862 | y="3602" |
| 7863 | width="165" |
| 7864 | height="298" |
| 7865 | fill-opacity="0" |
| 7866 | stroke-dasharray="8, 8" |
| 7867 | /> |
| 7868 | <g> |
| 7869 | <g |
| 7870 | class="gate classically-controlled-group" |
| 7871 | data-location="0,0-0,13-4,0-1,0-0,0" |
| 7872 | data-expanded="true" |
| 7873 | > |
| 7874 | <line |
| 7875 | x1="520" |
| 7876 | x2="545" |
| 7877 | y1="3880" |
| 7878 | y2="3880" |
| 7879 | class="classical-line" |
| 7880 | stroke-dasharray="8, 8" |
| 7881 | /> |
| 7882 | <line |
| 7883 | x1="520" |
| 7884 | x2="520" |
| 7885 | y1="3875" |
| 7886 | y2="3880" |
| 7887 | class="classical-line" |
| 7888 | stroke-dasharray="8, 8" |
| 7889 | /> |
| 7890 | <g class="classically-controlled-btn"> |
| 7891 | <circle cx="520" cy="3860" r="15" /> |
| 7892 | <text |
| 7893 | font-size="14" |
| 7894 | x="520" |
| 7895 | y="3860" |
| 7896 | text-anchor="start" |
| 7897 | dominant-baseline="middle" |
| 7898 | class="qs-maintext" |
| 7899 | > |
| 7900 | c |
| 7901 | <tspan baseline-shift="sub" font-size="65%"> |
| 7902 | 24 |
| 7903 | </tspan> |
| 7904 | </text> |
| 7905 | </g> |
| 7906 | <rect |
| 7907 | class="classical-container" |
| 7908 | x="545" |
| 7909 | y="3628" |
| 7910 | width="105" |
| 7911 | height="262" |
| 7912 | fill-opacity="0" |
| 7913 | stroke-dasharray="8, 8" |
| 7914 | /> |
| 7915 | <g> |
| 7916 | <g |
| 7917 | class="gate" |
| 7918 | data-location="0,0-0,13-4,0-1,0-0,0-0,0" |
| 7919 | > |
| 7920 | <a href="#" class="qs-circuit-source-link"> |
| 7921 | <title>conditionals.qs:212:13 X(q0);</title> |
| 7922 | <g |
| 7923 | class="oplus" |
| 7924 | data-wire-ys="[3674]" |
| 7925 | data-width="30" |
| 7926 | > |
| 7927 | <circle cx="575" cy="3674" r="15" /> |
| 7928 | <line |
| 7929 | x1="575" |
| 7930 | x2="575" |
| 7931 | y1="3659" |
| 7932 | y2="3689" |
| 7933 | /> |
| 7934 | <line |
| 7935 | x1="560" |
| 7936 | x2="590" |
| 7937 | y1="3674" |
| 7938 | y2="3674" |
| 7939 | /> |
| 7940 | </g> |
| 7941 | </a> |
| 7942 | </g> |
| 7943 | </g> |
| 7944 | <a href="#" class="qs-circuit-source-link"> |
| 7945 | <title> |
| 7946 | conditionals.qs:211:9 if results[j] == One { |
| 7947 | </title> |
| 7948 | <text |
| 7949 | font-size="14" |
| 7950 | x="555" |
| 7951 | y="3643" |
| 7952 | class="qs-maintext qs-group-label" |
| 7953 | style="pointer-events: all" |
| 7954 | > |
| 7955 | <tspan class="qs-mathtext">if</tspan> |
| 7956 | : |
| 7957 | <tspan class="qs-mathtext">c</tspan> |
| 7958 | <tspan baseline-shift="sub" font-size="65%"> |
| 7959 | 24 |
| 7960 | </tspan> |
| 7961 | = |1〉 |
| 7962 | </text> |
| 7963 | </a> |
| 7964 | <g class="gate-control gate-collapse"> |
| 7965 | <circle cx="547" cy="3630" r="10" /> |
| 7966 | <path d="M540,3630 h14" /> |
| 7967 | </g> |
| 7968 | </g> |
| 7969 | </g> |
| 7970 | <a href="#" class="qs-circuit-source-link"> |
| 7971 | <title>conditionals.qs:210:19 for j in 0..1 {</title> |
| 7972 | <text |
| 7973 | font-size="14" |
| 7974 | x="505" |
| 7975 | y="3617" |
| 7976 | class="qs-maintext qs-group-label" |
| 7977 | style="pointer-events: all" |
| 7978 | > |
| 7979 | (2) |
| 7980 | </text> |
| 7981 | </a> |
| 7982 | <g class="gate-control gate-collapse"> |
| 7983 | <circle cx="497" cy="3604" r="10" /> |
| 7984 | <path d="M490,3604 h14" /> |
| 7985 | </g> |
| 7986 | </g> |
| 7987 | </g> |
| 7988 | <a href="#" class="qs-circuit-source-link"> |
| 7989 | <title>conditionals.qs:210:5 for j in 0..1 {</title> |
| 7990 | <text |
| 7991 | font-size="14" |
| 7992 | x="318" |
| 7993 | y="3591" |
| 7994 | class="qs-maintext qs-group-label" |
| 7995 | style="pointer-events: all" |
| 7996 | > |
| 7997 | <tspan class="qs-mathtext">loop</tspan> |
| 7998 | : 0..1 |
| 7999 | </text> |
| 8000 | </a> |
| 8001 | <g class="gate-control gate-collapse"> |
| 8002 | <circle cx="310" cy="3578" r="10" /> |
| 8003 | <path d="M303,3578 h14" /> |
| 8004 | </g> |
| 8005 | </g> |
| 8006 | <g |
| 8007 | class="gate" |
| 8008 | data-location="0,0-0,13-5,0" |
| 8009 | data-expanded="true" |
| 8010 | > |
| 8011 | <rect |
| 8012 | class="gate-unitary" |
| 8013 | x="682" |
| 8014 | y="3576" |
| 8015 | width="192" |
| 8016 | height="148" |
| 8017 | fill-opacity="0" |
| 8018 | stroke-dasharray="8, 8" |
| 8019 | /> |
| 8020 | <g> |
| 8021 | <g |
| 8022 | class="gate" |
| 8023 | data-location="0,0-0,13-5,0-0,0" |
| 8024 | data-expanded="true" |
| 8025 | > |
| 8026 | <rect |
| 8027 | class="gate-unitary" |
| 8028 | x="692" |
| 8029 | y="3602" |
| 8030 | width="80" |
| 8031 | height="112" |
| 8032 | fill-opacity="0" |
| 8033 | stroke-dasharray="8, 8" |
| 8034 | /> |
| 8035 | <g> |
| 8036 | <g |
| 8037 | class="gate" |
| 8038 | data-location="0,0-0,13-5,0-0,0-0,0" |
| 8039 | data-expanded="true" |
| 8040 | > |
| 8041 | <rect |
| 8042 | class="gate-unitary" |
| 8043 | x="702" |
| 8044 | y="3628" |
| 8045 | width="60" |
| 8046 | height="76" |
| 8047 | fill-opacity="0" |
| 8048 | stroke-dasharray="8, 8" |
| 8049 | /> |
| 8050 | <g> |
| 8051 | <g |
| 8052 | class="gate" |
| 8053 | data-location="0,0-0,13-5,0-0,0-0,0-0,0" |
| 8054 | > |
| 8055 | <a href="#" class="qs-circuit-source-link"> |
| 8056 | <title>conditionals.qs:222:5 H(q);</title> |
| 8057 | <g> |
| 8058 | <g> |
| 8059 | <rect |
| 8060 | class="gate-unitary" |
| 8061 | x="712" |
| 8062 | y="3654" |
| 8063 | width="40" |
| 8064 | height="40" |
| 8065 | data-wire-ys="[3674]" |
| 8066 | data-width="40" |
| 8067 | /> |
| 8068 | <text |
| 8069 | font-size="14" |
| 8070 | x="732" |
| 8071 | y="3674" |
| 8072 | class="qs-maintext" |
| 8073 | > |
| 8074 | <tspan class="qs-mathtext">H</tspan> |
| 8075 | </text> |
| 8076 | </g> |
| 8077 | </g> |
| 8078 | </a> |
| 8079 | </g> |
| 8080 | </g> |
| 8081 | <a href="#" class="qs-circuit-source-link"> |
| 8082 | <title>conditionals.qs:217:9 Baz(q0);</title> |
| 8083 | <text |
| 8084 | font-size="14" |
| 8085 | x="712" |
| 8086 | y="3643" |
| 8087 | class="qs-maintext qs-group-label" |
| 8088 | style="pointer-events: all" |
| 8089 | > |
| 8090 | <tspan class="qs-mathtext">Baz</tspan> |
| 8091 | </text> |
| 8092 | </a> |
| 8093 | <g class="gate-control gate-collapse"> |
| 8094 | <circle cx="704" cy="3630" r="10" /> |
| 8095 | <path d="M697,3630 h14" /> |
| 8096 | </g> |
| 8097 | </g> |
| 8098 | </g> |
| 8099 | <a href="#" class="qs-circuit-source-link"> |
| 8100 | <title>conditionals.qs:216:19 for j in 0..1 {</title> |
| 8101 | <text |
| 8102 | font-size="14" |
| 8103 | x="702" |
| 8104 | y="3617" |
| 8105 | class="qs-maintext qs-group-label" |
| 8106 | style="pointer-events: all" |
| 8107 | > |
| 8108 | (1) |
| 8109 | </text> |
| 8110 | </a> |
| 8111 | <g class="gate-control gate-collapse"> |
| 8112 | <circle cx="694" cy="3604" r="10" /> |
| 8113 | <path d="M687,3604 h14" /> |
| 8114 | </g> |
| 8115 | </g> |
| 8116 | <g |
| 8117 | class="gate" |
| 8118 | data-location="0,0-0,13-5,0-1,0" |
| 8119 | data-expanded="true" |
| 8120 | > |
| 8121 | <rect |
| 8122 | class="gate-unitary" |
| 8123 | x="784" |
| 8124 | y="3602" |
| 8125 | width="80" |
| 8126 | height="112" |
| 8127 | fill-opacity="0" |
| 8128 | stroke-dasharray="8, 8" |
| 8129 | /> |
| 8130 | <g> |
| 8131 | <g |
| 8132 | class="gate" |
| 8133 | data-location="0,0-0,13-5,0-1,0-0,0" |
| 8134 | data-expanded="true" |
| 8135 | > |
| 8136 | <rect |
| 8137 | class="gate-unitary" |
| 8138 | x="794" |
| 8139 | y="3628" |
| 8140 | width="60" |
| 8141 | height="76" |
| 8142 | fill-opacity="0" |
| 8143 | stroke-dasharray="8, 8" |
| 8144 | /> |
| 8145 | <g> |
| 8146 | <g |
| 8147 | class="gate" |
| 8148 | data-location="0,0-0,13-5,0-1,0-0,0-0,0" |
| 8149 | > |
| 8150 | <a href="#" class="qs-circuit-source-link"> |
| 8151 | <title>conditionals.qs:222:5 H(q);</title> |
| 8152 | <g> |
| 8153 | <g> |
| 8154 | <rect |
| 8155 | class="gate-unitary" |
| 8156 | x="804" |
| 8157 | y="3654" |
| 8158 | width="40" |
| 8159 | height="40" |
| 8160 | data-wire-ys="[3674]" |
| 8161 | data-width="40" |
| 8162 | /> |
| 8163 | <text |
| 8164 | font-size="14" |
| 8165 | x="824" |
| 8166 | y="3674" |
| 8167 | class="qs-maintext" |
| 8168 | > |
| 8169 | <tspan class="qs-mathtext">H</tspan> |
| 8170 | </text> |
| 8171 | </g> |
| 8172 | </g> |
| 8173 | </a> |
| 8174 | </g> |
| 8175 | </g> |
| 8176 | <a href="#" class="qs-circuit-source-link"> |
| 8177 | <title>conditionals.qs:217:9 Baz(q0);</title> |
| 8178 | <text |
| 8179 | font-size="14" |
| 8180 | x="804" |
| 8181 | y="3643" |
| 8182 | class="qs-maintext qs-group-label" |
| 8183 | style="pointer-events: all" |
| 8184 | > |
| 8185 | <tspan class="qs-mathtext">Baz</tspan> |
| 8186 | </text> |
| 8187 | </a> |
| 8188 | <g class="gate-control gate-collapse"> |
| 8189 | <circle cx="796" cy="3630" r="10" /> |
| 8190 | <path d="M789,3630 h14" /> |
| 8191 | </g> |
| 8192 | </g> |
| 8193 | </g> |
| 8194 | <a href="#" class="qs-circuit-source-link"> |
| 8195 | <title>conditionals.qs:216:19 for j in 0..1 {</title> |
| 8196 | <text |
| 8197 | font-size="14" |
| 8198 | x="794" |
| 8199 | y="3617" |
| 8200 | class="qs-maintext qs-group-label" |
| 8201 | style="pointer-events: all" |
| 8202 | > |
| 8203 | (2) |
| 8204 | </text> |
| 8205 | </a> |
| 8206 | <g class="gate-control gate-collapse"> |
| 8207 | <circle cx="786" cy="3604" r="10" /> |
| 8208 | <path d="M779,3604 h14" /> |
| 8209 | </g> |
| 8210 | </g> |
| 8211 | </g> |
| 8212 | <a href="#" class="qs-circuit-source-link"> |
| 8213 | <title>conditionals.qs:216:5 for j in 0..1 {</title> |
| 8214 | <text |
| 8215 | font-size="14" |
| 8216 | x="692" |
| 8217 | y="3591" |
| 8218 | class="qs-maintext qs-group-label" |
| 8219 | style="pointer-events: all" |
| 8220 | > |
| 8221 | <tspan class="qs-mathtext">loop</tspan> |
| 8222 | : 0..1 |
| 8223 | </text> |
| 8224 | </a> |
| 8225 | <g class="gate-control gate-collapse"> |
| 8226 | <circle cx="684" cy="3578" r="10" /> |
| 8227 | <path d="M677,3578 h14" /> |
| 8228 | </g> |
| 8229 | </g> |
| 8230 | </g> |
| 8231 | <a href="#" class="qs-circuit-source-link"> |
| 8232 | <title> |
| 8233 | conditionals.qs:17:5 ConditionalInLoop(qs[24], qs[25]); |
| 8234 | </title> |
| 8235 | <text |
| 8236 | font-size="14" |
| 8237 | x="100" |
| 8238 | y="3565" |
| 8239 | class="qs-maintext qs-group-label" |
| 8240 | style="pointer-events: all" |
| 8241 | > |
| 8242 | <tspan class="qs-mathtext">ConditionalInLoop</tspan> |
| 8243 | </text> |
| 8244 | </a> |
| 8245 | <g class="gate-control gate-collapse"> |
| 8246 | <circle cx="92" cy="3552" r="10" /> |
| 8247 | <path d="M85,3552 h14" /> |
| 8248 | </g> |
| 8249 | </g> |
| 8250 | <g class="gate" data-location="0,0-0,14" data-expanded="true"> |
| 8251 | <rect |
| 8252 | class="gate-unitary" |
| 8253 | x="234" |
| 8254 | y="3932" |
| 8255 | width="506" |
| 8256 | height="392" |
| 8257 | fill-opacity="0" |
| 8258 | stroke-dasharray="8, 8" |
| 8259 | /> |
| 8260 | <g> |
| 8261 | <g class="gate" data-location="0,0-0,14-0,0"> |
| 8262 | <a href="#" class="qs-circuit-source-link"> |
| 8263 | <title> |
| 8264 | conditionals.qs:226:14 let r0 = MResetZ(q0); |
| 8265 | </title> |
| 8266 | <g> |
| 8267 | <rect |
| 8268 | class="gate-measure" |
| 8269 | x="244" |
| 8270 | y="4088" |
| 8271 | width="40" |
| 8272 | height="40" |
| 8273 | data-wire-ys="[4108]" |
| 8274 | data-width="40" |
| 8275 | /> |
| 8276 | <path |
| 8277 | class="arc-measure" |
| 8278 | d="M 279 4110 A 15 12 0 0 0 249 4110" |
| 8279 | style="pointer-events: none" |
| 8280 | /> |
| 8281 | <line |
| 8282 | x1="264" |
| 8283 | x2="276" |
| 8284 | y1="4116" |
| 8285 | y2="4096" |
| 8286 | class="qs-line-measure" |
| 8287 | style="pointer-events: none" |
| 8288 | /> |
| 8289 | </g> |
| 8290 | </a> |
| 8291 | </g> |
| 8292 | <g class="gate" data-location="0,0-0,14-0,1"> |
| 8293 | <a href="#" class="qs-circuit-source-link"> |
| 8294 | <title> |
| 8295 | conditionals.qs:227:14 let r1 = MResetZ(q1); |
| 8296 | </title> |
| 8297 | <g> |
| 8298 | <rect |
| 8299 | class="gate-measure" |
| 8300 | x="244" |
| 8301 | y="4192" |
| 8302 | width="40" |
| 8303 | height="40" |
| 8304 | data-wire-ys="[4212]" |
| 8305 | data-width="40" |
| 8306 | /> |
| 8307 | <path |
| 8308 | class="arc-measure" |
| 8309 | d="M 279 4214 A 15 12 0 0 0 249 4214" |
| 8310 | style="pointer-events: none" |
| 8311 | /> |
| 8312 | <line |
| 8313 | x1="264" |
| 8314 | x2="276" |
| 8315 | y1="4220" |
| 8316 | y2="4200" |
| 8317 | class="qs-line-measure" |
| 8318 | style="pointer-events: none" |
| 8319 | /> |
| 8320 | </g> |
| 8321 | </a> |
| 8322 | </g> |
| 8323 | <g class="gate" data-location="0,0-0,14-1,0"> |
| 8324 | <a href="#" class="qs-circuit-source-link"> |
| 8325 | <title> |
| 8326 | conditionals.qs:226:14 let r0 = MResetZ(q0); |
| 8327 | </title> |
| 8328 | <g> |
| 8329 | <g> |
| 8330 | <rect |
| 8331 | class="gate-ket" |
| 8332 | x="296" |
| 8333 | y="4088" |
| 8334 | width="40" |
| 8335 | height="40" |
| 8336 | data-wire-ys="[4108]" |
| 8337 | data-width="40" |
| 8338 | /> |
| 8339 | <text |
| 8340 | font-size="14" |
| 8341 | x="316" |
| 8342 | y="4108" |
| 8343 | class="qs-maintext ket-text" |
| 8344 | > |
| 8345 | |0⟩ |
| 8346 | </text> |
| 8347 | </g> |
| 8348 | </g> |
| 8349 | </a> |
| 8350 | </g> |
| 8351 | <g class="gate" data-location="0,0-0,14-1,1"> |
| 8352 | <a href="#" class="qs-circuit-source-link"> |
| 8353 | <title> |
| 8354 | conditionals.qs:227:14 let r1 = MResetZ(q1); |
| 8355 | </title> |
| 8356 | <g> |
| 8357 | <g> |
| 8358 | <rect |
| 8359 | class="gate-ket" |
| 8360 | x="296" |
| 8361 | y="4192" |
| 8362 | width="40" |
| 8363 | height="40" |
| 8364 | data-wire-ys="[4212]" |
| 8365 | data-width="40" |
| 8366 | /> |
| 8367 | <text |
| 8368 | font-size="14" |
| 8369 | x="316" |
| 8370 | y="4212" |
| 8371 | class="qs-maintext ket-text" |
| 8372 | > |
| 8373 | |0⟩ |
| 8374 | </text> |
| 8375 | </g> |
| 8376 | </g> |
| 8377 | </a> |
| 8378 | </g> |
| 8379 | <g |
| 8380 | class="gate" |
| 8381 | data-location="0,0-0,14-2,0" |
| 8382 | data-expanded="true" |
| 8383 | > |
| 8384 | <rect |
| 8385 | class="gate-unitary" |
| 8386 | x="348" |
| 8387 | y="3958" |
| 8388 | width="382" |
| 8389 | height="356" |
| 8390 | fill-opacity="0" |
| 8391 | stroke-dasharray="8, 8" |
| 8392 | /> |
| 8393 | <g> |
| 8394 | <g |
| 8395 | class="gate classically-controlled-group" |
| 8396 | data-location="0,0-0,14-2,0-0,0" |
| 8397 | data-expanded="true" |
| 8398 | > |
| 8399 | <line |
| 8400 | x1="373" |
| 8401 | x2="398" |
| 8402 | y1="4180" |
| 8403 | y2="4180" |
| 8404 | class="classical-line" |
| 8405 | stroke-dasharray="8, 8" |
| 8406 | /> |
| 8407 | <line |
| 8408 | x1="373" |
| 8409 | x2="373" |
| 8410 | y1="4175" |
| 8411 | y2="4180" |
| 8412 | class="classical-line" |
| 8413 | stroke-dasharray="8, 8" |
| 8414 | /> |
| 8415 | <g class="classically-controlled-btn"> |
| 8416 | <circle cx="373" cy="4160" r="15" /> |
| 8417 | <text |
| 8418 | font-size="14" |
| 8419 | x="373" |
| 8420 | y="4160" |
| 8421 | text-anchor="start" |
| 8422 | dominant-baseline="middle" |
| 8423 | class="qs-maintext" |
| 8424 | > |
| 8425 | c |
| 8426 | <tspan baseline-shift="sub" font-size="65%"> |
| 8427 | 25 |
| 8428 | </tspan> |
| 8429 | </text> |
| 8430 | </g> |
| 8431 | <rect |
| 8432 | class="classical-container" |
| 8433 | x="398" |
| 8434 | y="3984" |
| 8435 | width="322" |
| 8436 | height="320" |
| 8437 | fill-opacity="0" |
| 8438 | stroke-dasharray="8, 8" |
| 8439 | /> |
| 8440 | <g> |
| 8441 | <g |
| 8442 | class="gate classically-controlled-group" |
| 8443 | data-location="0,0-0,14-2,0-0,0-0,0" |
| 8444 | data-expanded="true" |
| 8445 | > |
| 8446 | <line |
| 8447 | x1="423" |
| 8448 | x2="448" |
| 8449 | y1="4180" |
| 8450 | y2="4180" |
| 8451 | class="classical-line" |
| 8452 | stroke-dasharray="8, 8" |
| 8453 | /> |
| 8454 | <line |
| 8455 | x1="423" |
| 8456 | x2="423" |
| 8457 | y1="4175" |
| 8458 | y2="4180" |
| 8459 | class="classical-line" |
| 8460 | stroke-dasharray="8, 8" |
| 8461 | /> |
| 8462 | <g class="classically-controlled-btn"> |
| 8463 | <circle cx="423" cy="4160" r="15" /> |
| 8464 | <text |
| 8465 | font-size="14" |
| 8466 | x="423" |
| 8467 | y="4160" |
| 8468 | text-anchor="start" |
| 8469 | dominant-baseline="middle" |
| 8470 | class="qs-maintext" |
| 8471 | > |
| 8472 | c |
| 8473 | <tspan baseline-shift="sub" font-size="65%"> |
| 8474 | 25 |
| 8475 | </tspan> |
| 8476 | </text> |
| 8477 | </g> |
| 8478 | <line |
| 8479 | x1="423" |
| 8480 | x2="448" |
| 8481 | y1="4284" |
| 8482 | y2="4284" |
| 8483 | class="classical-line" |
| 8484 | stroke-dasharray="8, 8" |
| 8485 | /> |
| 8486 | <line |
| 8487 | x1="423" |
| 8488 | x2="423" |
| 8489 | y1="4279" |
| 8490 | y2="4284" |
| 8491 | class="classical-line" |
| 8492 | stroke-dasharray="8, 8" |
| 8493 | /> |
| 8494 | <g class="classically-controlled-btn"> |
| 8495 | <circle cx="423" cy="4264" r="15" /> |
| 8496 | <text |
| 8497 | font-size="14" |
| 8498 | x="423" |
| 8499 | y="4264" |
| 8500 | text-anchor="start" |
| 8501 | dominant-baseline="middle" |
| 8502 | class="qs-maintext" |
| 8503 | > |
| 8504 | c |
| 8505 | <tspan baseline-shift="sub" font-size="65%"> |
| 8506 | 26 |
| 8507 | </tspan> |
| 8508 | </text> |
| 8509 | </g> |
| 8510 | <rect |
| 8511 | class="classical-container" |
| 8512 | x="448" |
| 8513 | y="4010" |
| 8514 | width="105" |
| 8515 | height="284" |
| 8516 | fill-opacity="0" |
| 8517 | stroke-dasharray="8, 8" |
| 8518 | /> |
| 8519 | <g> |
| 8520 | <g |
| 8521 | class="gate" |
| 8522 | data-location="0,0-0,14-2,0-0,0-0,0-0,0" |
| 8523 | > |
| 8524 | <a href="#" class="qs-circuit-source-link"> |
| 8525 | <title>conditionals.qs:234:13 X(q);</title> |
| 8526 | <g |
| 8527 | class="oplus" |
| 8528 | data-wire-ys="[4056]" |
| 8529 | data-width="30" |
| 8530 | > |
| 8531 | <circle cx="478" cy="4056" r="15" /> |
| 8532 | <line |
| 8533 | x1="478" |
| 8534 | x2="478" |
| 8535 | y1="4041" |
| 8536 | y2="4071" |
| 8537 | /> |
| 8538 | <line |
| 8539 | x1="463" |
| 8540 | x2="493" |
| 8541 | y1="4056" |
| 8542 | y2="4056" |
| 8543 | /> |
| 8544 | </g> |
| 8545 | </a> |
| 8546 | </g> |
| 8547 | </g> |
| 8548 | <a href="#" class="qs-circuit-source-link"> |
| 8549 | <title> |
| 8550 | conditionals.qs:233:9 if r1 == One { |
| 8551 | </title> |
| 8552 | <text |
| 8553 | font-size="14" |
| 8554 | x="458" |
| 8555 | y="4025" |
| 8556 | class="qs-maintext qs-group-label" |
| 8557 | style="pointer-events: all" |
| 8558 | > |
| 8559 | <tspan class="qs-mathtext">if</tspan> |
| 8560 | : |
| 8561 | <tspan class="qs-mathtext">c</tspan> |
| 8562 | <tspan baseline-shift="sub" font-size="65%"> |
| 8563 | 26 |
| 8564 | </tspan> |
| 8565 | = |1〉 |
| 8566 | </text> |
| 8567 | </a> |
| 8568 | <g class="gate-control gate-collapse"> |
| 8569 | <circle cx="450" cy="4012" r="10" /> |
| 8570 | <path d="M443,4012 h14" /> |
| 8571 | </g> |
| 8572 | </g> |
| 8573 | <g |
| 8574 | class="gate classically-controlled-group" |
| 8575 | data-location="0,0-0,14-2,0-0,0-1,0" |
| 8576 | data-expanded="true" |
| 8577 | > |
| 8578 | <line |
| 8579 | x1="580" |
| 8580 | x2="605" |
| 8581 | y1="4180" |
| 8582 | y2="4180" |
| 8583 | class="classical-line" |
| 8584 | stroke-dasharray="8, 8" |
| 8585 | /> |
| 8586 | <line |
| 8587 | x1="580" |
| 8588 | x2="580" |
| 8589 | y1="4175" |
| 8590 | y2="4180" |
| 8591 | class="classical-line" |
| 8592 | stroke-dasharray="8, 8" |
| 8593 | /> |
| 8594 | <g class="classically-controlled-btn"> |
| 8595 | <circle cx="580" cy="4160" r="15" /> |
| 8596 | <text |
| 8597 | font-size="14" |
| 8598 | x="580" |
| 8599 | y="4160" |
| 8600 | text-anchor="start" |
| 8601 | dominant-baseline="middle" |
| 8602 | class="qs-maintext" |
| 8603 | > |
| 8604 | c |
| 8605 | <tspan baseline-shift="sub" font-size="65%"> |
| 8606 | 25 |
| 8607 | </tspan> |
| 8608 | </text> |
| 8609 | </g> |
| 8610 | <line |
| 8611 | x1="580" |
| 8612 | x2="605" |
| 8613 | y1="4284" |
| 8614 | y2="4284" |
| 8615 | class="classical-line" |
| 8616 | stroke-dasharray="8, 8" |
| 8617 | /> |
| 8618 | <line |
| 8619 | x1="580" |
| 8620 | x2="580" |
| 8621 | y1="4279" |
| 8622 | y2="4284" |
| 8623 | class="classical-line" |
| 8624 | stroke-dasharray="8, 8" |
| 8625 | /> |
| 8626 | <g class="classically-controlled-btn"> |
| 8627 | <circle cx="580" cy="4264" r="15" /> |
| 8628 | <text |
| 8629 | font-size="14" |
| 8630 | x="580" |
| 8631 | y="4264" |
| 8632 | text-anchor="start" |
| 8633 | dominant-baseline="middle" |
| 8634 | class="qs-maintext" |
| 8635 | > |
| 8636 | c |
| 8637 | <tspan baseline-shift="sub" font-size="65%"> |
| 8638 | 26 |
| 8639 | </tspan> |
| 8640 | </text> |
| 8641 | </g> |
| 8642 | <rect |
| 8643 | class="classical-container" |
| 8644 | x="605" |
| 8645 | y="4010" |
| 8646 | width="105" |
| 8647 | height="284" |
| 8648 | fill-opacity="0" |
| 8649 | stroke-dasharray="8, 8" |
| 8650 | /> |
| 8651 | <g> |
| 8652 | <g |
| 8653 | class="gate" |
| 8654 | data-location="0,0-0,14-2,0-0,0-1,0-0,0" |
| 8655 | > |
| 8656 | <a href="#" class="qs-circuit-source-link"> |
| 8657 | <title>conditionals.qs:236:13 Z(q);</title> |
| 8658 | <g> |
| 8659 | <g> |
| 8660 | <rect |
| 8661 | class="gate-unitary" |
| 8662 | x="615" |
| 8663 | y="4036" |
| 8664 | width="40" |
| 8665 | height="40" |
| 8666 | data-wire-ys="[4056]" |
| 8667 | data-width="40" |
| 8668 | /> |
| 8669 | <text |
| 8670 | font-size="14" |
| 8671 | x="635" |
| 8672 | y="4056" |
| 8673 | class="qs-maintext" |
| 8674 | > |
| 8675 | <tspan class="qs-mathtext">Z</tspan> |
| 8676 | </text> |
| 8677 | </g> |
| 8678 | </g> |
| 8679 | </a> |
| 8680 | </g> |
| 8681 | </g> |
| 8682 | <a href="#" class="qs-circuit-source-link"> |
| 8683 | <title> |
| 8684 | conditionals.qs:233:9 if r1 == One { |
| 8685 | </title> |
| 8686 | <text |
| 8687 | font-size="14" |
| 8688 | x="615" |
| 8689 | y="4025" |
| 8690 | class="qs-maintext qs-group-label" |
| 8691 | style="pointer-events: all" |
| 8692 | > |
| 8693 | <tspan class="qs-mathtext">if</tspan> |
| 8694 | : |
| 8695 | <tspan class="qs-mathtext">c</tspan> |
| 8696 | <tspan baseline-shift="sub" font-size="65%"> |
| 8697 | 26 |
| 8698 | </tspan> |
| 8699 | = |0〉 |
| 8700 | </text> |
| 8701 | </a> |
| 8702 | <g class="gate-control gate-collapse"> |
| 8703 | <circle cx="607" cy="4012" r="10" /> |
| 8704 | <path d="M600,4012 h14" /> |
| 8705 | </g> |
| 8706 | </g> |
| 8707 | </g> |
| 8708 | <a href="#" class="qs-circuit-source-link"> |
| 8709 | <title> |
| 8710 | conditionals.qs:232:5 if r0 == One {} else { |
| 8711 | </title> |
| 8712 | <text |
| 8713 | font-size="14" |
| 8714 | x="408" |
| 8715 | y="3999" |
| 8716 | class="qs-maintext qs-group-label" |
| 8717 | style="pointer-events: all" |
| 8718 | > |
| 8719 | <tspan class="qs-mathtext">if</tspan> |
| 8720 | : |
| 8721 | <tspan class="qs-mathtext">c</tspan> |
| 8722 | <tspan baseline-shift="sub" font-size="65%"> |
| 8723 | 25 |
| 8724 | </tspan> |
| 8725 | = |0〉 |
| 8726 | </text> |
| 8727 | </a> |
| 8728 | <g class="gate-control gate-collapse"> |
| 8729 | <circle cx="400" cy="3986" r="10" /> |
| 8730 | <path d="M393,3986 h14" /> |
| 8731 | </g> |
| 8732 | </g> |
| 8733 | </g> |
| 8734 | <a href="#" class="qs-circuit-source-link"> |
| 8735 | <title>conditionals.qs:228:5 Quux(q, r0, r1);</title> |
| 8736 | <text |
| 8737 | font-size="14" |
| 8738 | x="358" |
| 8739 | y="3973" |
| 8740 | class="qs-maintext qs-group-label" |
| 8741 | style="pointer-events: all" |
| 8742 | > |
| 8743 | <tspan class="qs-mathtext">Quux</tspan> |
| 8744 | </text> |
| 8745 | </a> |
| 8746 | <g class="gate-control gate-collapse"> |
| 8747 | <circle cx="350" cy="3960" r="10" /> |
| 8748 | <path d="M343,3960 h14" /> |
| 8749 | </g> |
| 8750 | </g> |
| 8751 | </g> |
| 8752 | <a href="#" class="qs-circuit-source-link"> |
| 8753 | <title> |
| 8754 | conditionals.qs:18:5 NestedConditionalsInCallable(qs[26], |
| 8755 | qs[27], qs[28]); |
| 8756 | </title> |
| 8757 | <text |
| 8758 | font-size="14" |
| 8759 | x="244" |
| 8760 | y="3947" |
| 8761 | class="qs-maintext qs-group-label" |
| 8762 | style="pointer-events: all" |
| 8763 | > |
| 8764 | <tspan class="qs-mathtext"> |
| 8765 | NestedConditionalsInCallable |
| 8766 | </tspan> |
| 8767 | </text> |
| 8768 | </a> |
| 8769 | <g class="gate-control gate-collapse"> |
| 8770 | <circle cx="236" cy="3934" r="10" /> |
| 8771 | <path d="M229,3934 h14" /> |
| 8772 | </g> |
| 8773 | </g> |
| 8774 | <g class="gate" data-location="0,0-0,15" data-expanded="true"> |
| 8775 | <rect |
| 8776 | class="gate-unitary" |
| 8777 | x="352.5" |
| 8778 | y="4336" |
| 8779 | width="269" |
| 8780 | height="320" |
| 8781 | fill-opacity="0" |
| 8782 | stroke-dasharray="8, 8" |
| 8783 | /> |
| 8784 | <g> |
| 8785 | <g class="gate" data-location="0,0-0,15-0,0"> |
| 8786 | <a href="#" class="qs-circuit-source-link"> |
| 8787 | <title>conditionals.qs:242:5 H(q1);</title> |
| 8788 | <g> |
| 8789 | <g> |
| 8790 | <rect |
| 8791 | class="gate-unitary" |
| 8792 | x="362.5" |
| 8793 | y="4440" |
| 8794 | width="40" |
| 8795 | height="40" |
| 8796 | data-wire-ys="[4460]" |
| 8797 | data-width="40" |
| 8798 | /> |
| 8799 | <text |
| 8800 | font-size="14" |
| 8801 | x="382.5" |
| 8802 | y="4460" |
| 8803 | class="qs-maintext" |
| 8804 | > |
| 8805 | <tspan class="qs-mathtext">H</tspan> |
| 8806 | </text> |
| 8807 | </g> |
| 8808 | </g> |
| 8809 | </a> |
| 8810 | </g> |
| 8811 | <g class="gate" data-location="0,0-0,15-1,0"> |
| 8812 | <a href="#" class="qs-circuit-source-link"> |
| 8813 | <title>conditionals.qs:243:14 let r1 = M(q1);</title> |
| 8814 | <g> |
| 8815 | <rect |
| 8816 | class="gate-measure" |
| 8817 | x="414.5" |
| 8818 | y="4440" |
| 8819 | width="40" |
| 8820 | height="40" |
| 8821 | data-wire-ys="[4460]" |
| 8822 | data-width="40" |
| 8823 | /> |
| 8824 | <path |
| 8825 | class="arc-measure" |
| 8826 | d="M 449.5 4462 A 15 12 0 0 0 419.5 4462" |
| 8827 | style="pointer-events: none" |
| 8828 | /> |
| 8829 | <line |
| 8830 | x1="434.5" |
| 8831 | x2="446.5" |
| 8832 | y1="4468" |
| 8833 | y2="4448" |
| 8834 | class="qs-line-measure" |
| 8835 | style="pointer-events: none" |
| 8836 | /> |
| 8837 | </g> |
| 8838 | </a> |
| 8839 | </g> |
| 8840 | <g |
| 8841 | class="gate classically-controlled-group" |
| 8842 | data-location="0,0-0,15-2,0" |
| 8843 | data-expanded="true" |
| 8844 | > |
| 8845 | <line |
| 8846 | x1="481.5" |
| 8847 | x2="506.5" |
| 8848 | y1="4532" |
| 8849 | y2="4532" |
| 8850 | class="classical-line" |
| 8851 | stroke-dasharray="8, 8" |
| 8852 | /> |
| 8853 | <line |
| 8854 | x1="481.5" |
| 8855 | x2="481.5" |
| 8856 | y1="4527" |
| 8857 | y2="4532" |
| 8858 | class="classical-line" |
| 8859 | stroke-dasharray="8, 8" |
| 8860 | /> |
| 8861 | <g class="classically-controlled-btn"> |
| 8862 | <circle cx="481.5" cy="4512" r="15" /> |
| 8863 | <text |
| 8864 | font-size="14" |
| 8865 | x="481.5" |
| 8866 | y="4512" |
| 8867 | text-anchor="start" |
| 8868 | dominant-baseline="middle" |
| 8869 | class="qs-maintext" |
| 8870 | > |
| 8871 | c |
| 8872 | <tspan baseline-shift="sub" font-size="65%">27</tspan> |
| 8873 | </text> |
| 8874 | </g> |
| 8875 | <rect |
| 8876 | class="classical-container" |
| 8877 | x="506.5" |
| 8878 | y="4362" |
| 8879 | width="105" |
| 8880 | height="284" |
| 8881 | fill-opacity="0" |
| 8882 | stroke-dasharray="8, 8" |
| 8883 | /> |
| 8884 | <g> |
| 8885 | <g class="gate" data-location="0,0-0,15-2,0-0,0"> |
| 8886 | <a href="#" class="qs-circuit-source-link"> |
| 8887 | <title>conditionals.qs:246:9 H(q0);</title> |
| 8888 | <g> |
| 8889 | <g> |
| 8890 | <rect |
| 8891 | class="gate-unitary" |
| 8892 | x="516.5" |
| 8893 | y="4388" |
| 8894 | width="40" |
| 8895 | height="40" |
| 8896 | data-wire-ys="[4408]" |
| 8897 | data-width="40" |
| 8898 | /> |
| 8899 | <text |
| 8900 | font-size="14" |
| 8901 | x="536.5" |
| 8902 | y="4408" |
| 8903 | class="qs-maintext" |
| 8904 | > |
| 8905 | <tspan class="qs-mathtext">H</tspan> |
| 8906 | </text> |
| 8907 | </g> |
| 8908 | </g> |
| 8909 | </a> |
| 8910 | </g> |
| 8911 | <g class="gate" data-location="0,0-0,15-2,0-0,1"> |
| 8912 | <a href="#" class="qs-circuit-source-link"> |
| 8913 | <title>conditionals.qs:247:18 let r0 = M(q2);</title> |
| 8914 | <g> |
| 8915 | <rect |
| 8916 | class="gate-measure" |
| 8917 | x="516.5" |
| 8918 | y="4544" |
| 8919 | width="40" |
| 8920 | height="40" |
| 8921 | data-wire-ys="[4564]" |
| 8922 | data-width="40" |
| 8923 | /> |
| 8924 | <path |
| 8925 | class="arc-measure" |
| 8926 | d="M 551.5 4566 A 15 12 0 0 0 521.5 4566" |
| 8927 | style="pointer-events: none" |
| 8928 | /> |
| 8929 | <line |
| 8930 | x1="536.5" |
| 8931 | x2="548.5" |
| 8932 | y1="4572" |
| 8933 | y2="4552" |
| 8934 | class="qs-line-measure" |
| 8935 | style="pointer-events: none" |
| 8936 | /> |
| 8937 | </g> |
| 8938 | </a> |
| 8939 | </g> |
| 8940 | </g> |
| 8941 | <a href="#" class="qs-circuit-source-link"> |
| 8942 | <title>conditionals.qs:245:5 if r1 == One {</title> |
| 8943 | <text |
| 8944 | font-size="14" |
| 8945 | x="516.5" |
| 8946 | y="4377" |
| 8947 | class="qs-maintext qs-group-label" |
| 8948 | style="pointer-events: all" |
| 8949 | > |
| 8950 | <tspan class="qs-mathtext">if</tspan> |
| 8951 | : |
| 8952 | <tspan class="qs-mathtext">c</tspan> |
| 8953 | <tspan baseline-shift="sub" font-size="65%">27</tspan> |
| 8954 | = |1〉 |
| 8955 | </text> |
| 8956 | </a> |
| 8957 | <g class="gate-control gate-collapse"> |
| 8958 | <circle cx="508.5" cy="4364" r="10" /> |
| 8959 | <path d="M501.5,4364 h14" /> |
| 8960 | </g> |
| 8961 | </g> |
| 8962 | </g> |
| 8963 | <a href="#" class="qs-circuit-source-link"> |
| 8964 | <title> |
| 8965 | conditionals.qs:19:5 MeasurementInConditional(qs[29], |
| 8966 | qs[30], qs[31]); |
| 8967 | </title> |
| 8968 | <text |
| 8969 | font-size="14" |
| 8970 | x="362.5" |
| 8971 | y="4351" |
| 8972 | class="qs-maintext qs-group-label" |
| 8973 | style="pointer-events: all" |
| 8974 | > |
| 8975 | <tspan class="qs-mathtext">MeasurementInConditional</tspan> |
| 8976 | </text> |
| 8977 | </a> |
| 8978 | <g class="gate-control gate-collapse"> |
| 8979 | <circle cx="354.5" cy="4338" r="10" /> |
| 8980 | <path d="M347.5,4338 h14" /> |
| 8981 | </g> |
| 8982 | </g> |
| 8983 | <g class="gate" data-location="0,0-0,16" data-expanded="true"> |
| 8984 | <rect |
| 8985 | class="gate-unitary" |
| 8986 | x="248" |
| 8987 | y="4694" |
| 8988 | width="478" |
| 8989 | height="346" |
| 8990 | fill-opacity="0" |
| 8991 | stroke-dasharray="8, 8" |
| 8992 | /> |
| 8993 | <g> |
| 8994 | <g class="gate" data-location="0,0-0,16-0,0"> |
| 8995 | <a href="#" class="qs-circuit-source-link"> |
| 8996 | <title>conditionals.qs:252:5 H(q0);</title> |
| 8997 | <g> |
| 8998 | <g> |
| 8999 | <rect |
| 9000 | class="gate-unitary" |
| 9001 | x="258" |
| 9002 | y="4720" |
| 9003 | width="40" |
| 9004 | height="40" |
| 9005 | data-wire-ys="[4740]" |
| 9006 | data-width="40" |
| 9007 | /> |
| 9008 | <text |
| 9009 | font-size="14" |
| 9010 | x="278" |
| 9011 | y="4740" |
| 9012 | class="qs-maintext" |
| 9013 | > |
| 9014 | <tspan class="qs-mathtext">H</tspan> |
| 9015 | </text> |
| 9016 | </g> |
| 9017 | </g> |
| 9018 | </a> |
| 9019 | </g> |
| 9020 | <g class="gate" data-location="0,0-0,16-0,1"> |
| 9021 | <a href="#" class="qs-circuit-source-link"> |
| 9022 | <title>conditionals.qs:253:5 H(q1);</title> |
| 9023 | <g> |
| 9024 | <g> |
| 9025 | <rect |
| 9026 | class="gate-unitary" |
| 9027 | x="258" |
| 9028 | y="4876" |
| 9029 | width="40" |
| 9030 | height="40" |
| 9031 | data-wire-ys="[4896]" |
| 9032 | data-width="40" |
| 9033 | /> |
| 9034 | <text |
| 9035 | font-size="14" |
| 9036 | x="278" |
| 9037 | y="4896" |
| 9038 | class="qs-maintext" |
| 9039 | > |
| 9040 | <tspan class="qs-mathtext">H</tspan> |
| 9041 | </text> |
| 9042 | </g> |
| 9043 | </g> |
| 9044 | </a> |
| 9045 | </g> |
| 9046 | <g class="gate" data-location="0,0-0,16-1,0"> |
| 9047 | <a href="#" class="qs-circuit-source-link"> |
| 9048 | <title> |
| 9049 | conditionals.qs:254:15 let r = { M(q0) == Zero } and { |
| 9050 | M(q1) == Zero }; |
| 9051 | </title> |
| 9052 | <g> |
| 9053 | <rect |
| 9054 | class="gate-measure" |
| 9055 | x="310" |
| 9056 | y="4720" |
| 9057 | width="40" |
| 9058 | height="40" |
| 9059 | data-wire-ys="[4740]" |
| 9060 | data-width="40" |
| 9061 | /> |
| 9062 | <path |
| 9063 | class="arc-measure" |
| 9064 | d="M 345 4742 A 15 12 0 0 0 315 4742" |
| 9065 | style="pointer-events: none" |
| 9066 | /> |
| 9067 | <line |
| 9068 | x1="330" |
| 9069 | x2="342" |
| 9070 | y1="4748" |
| 9071 | y2="4728" |
| 9072 | class="qs-line-measure" |
| 9073 | style="pointer-events: none" |
| 9074 | /> |
| 9075 | </g> |
| 9076 | </a> |
| 9077 | </g> |
| 9078 | <g |
| 9079 | class="gate classically-controlled-group" |
| 9080 | data-location="0,0-0,16-2,0" |
| 9081 | data-expanded="true" |
| 9082 | > |
| 9083 | <line |
| 9084 | x1="377" |
| 9085 | x2="402" |
| 9086 | y1="4812" |
| 9087 | y2="4812" |
| 9088 | class="classical-line" |
| 9089 | stroke-dasharray="8, 8" |
| 9090 | /> |
| 9091 | <line |
| 9092 | x1="377" |
| 9093 | x2="377" |
| 9094 | y1="4807" |
| 9095 | y2="4812" |
| 9096 | class="classical-line" |
| 9097 | stroke-dasharray="8, 8" |
| 9098 | /> |
| 9099 | <g class="classically-controlled-btn"> |
| 9100 | <circle cx="377" cy="4792" r="15" /> |
| 9101 | <text |
| 9102 | font-size="14" |
| 9103 | x="377" |
| 9104 | y="4792" |
| 9105 | text-anchor="start" |
| 9106 | dominant-baseline="middle" |
| 9107 | class="qs-maintext" |
| 9108 | > |
| 9109 | c |
| 9110 | <tspan baseline-shift="sub" font-size="65%">29</tspan> |
| 9111 | </text> |
| 9112 | </g> |
| 9113 | <rect |
| 9114 | class="classical-container" |
| 9115 | x="402" |
| 9116 | y="4746" |
| 9117 | width="105" |
| 9118 | height="232" |
| 9119 | fill-opacity="0" |
| 9120 | stroke-dasharray="8, 8" |
| 9121 | /> |
| 9122 | <g> |
| 9123 | <g class="gate" data-location="0,0-0,16-2,0-0,0"> |
| 9124 | <a href="#" class="qs-circuit-source-link"> |
| 9125 | <title> |
| 9126 | conditionals.qs:254:37 let r = { M(q0) == Zero } and |
| 9127 | { M(q1) == Zero }; |
| 9128 | </title> |
| 9129 | <g> |
| 9130 | <rect |
| 9131 | class="gate-measure" |
| 9132 | x="412" |
| 9133 | y="4876" |
| 9134 | width="40" |
| 9135 | height="40" |
| 9136 | data-wire-ys="[4896]" |
| 9137 | data-width="40" |
| 9138 | /> |
| 9139 | <path |
| 9140 | class="arc-measure" |
| 9141 | d="M 447 4898 A 15 12 0 0 0 417 4898" |
| 9142 | style="pointer-events: none" |
| 9143 | /> |
| 9144 | <line |
| 9145 | x1="432" |
| 9146 | x2="444" |
| 9147 | y1="4904" |
| 9148 | y2="4884" |
| 9149 | class="qs-line-measure" |
| 9150 | style="pointer-events: none" |
| 9151 | /> |
| 9152 | </g> |
| 9153 | </a> |
| 9154 | </g> |
| 9155 | </g> |
| 9156 | <a href="#" class="qs-circuit-source-link"> |
| 9157 | <title> |
| 9158 | conditionals.qs:254:35 let r = { M(q0) == Zero } and { |
| 9159 | M(q1) == Zero }; |
| 9160 | </title> |
| 9161 | <text |
| 9162 | font-size="14" |
| 9163 | x="412" |
| 9164 | y="4761" |
| 9165 | class="qs-maintext qs-group-label" |
| 9166 | style="pointer-events: all" |
| 9167 | > |
| 9168 | <tspan class="qs-mathtext">if</tspan> |
| 9169 | : |
| 9170 | <tspan class="qs-mathtext">c</tspan> |
| 9171 | <tspan baseline-shift="sub" font-size="65%">29</tspan> |
| 9172 | = |0〉 |
| 9173 | </text> |
| 9174 | </a> |
| 9175 | <g class="gate-control gate-collapse"> |
| 9176 | <circle cx="404" cy="4748" r="10" /> |
| 9177 | <path d="M397,4748 h14" /> |
| 9178 | </g> |
| 9179 | </g> |
| 9180 | <g class="gate" data-location="0,0-0,16-3,0"> |
| 9181 | <a href="#" class="qs-circuit-source-link"> |
| 9182 | <title> |
| 9183 | conditionals.qs:255:16 let r1 = { M(q0) == Zero } or { |
| 9184 | M(q1) == Zero }; |
| 9185 | </title> |
| 9186 | <g> |
| 9187 | <rect |
| 9188 | class="gate-measure" |
| 9189 | x="519" |
| 9190 | y="4720" |
| 9191 | width="40" |
| 9192 | height="40" |
| 9193 | data-wire-ys="[4740]" |
| 9194 | data-width="40" |
| 9195 | /> |
| 9196 | <path |
| 9197 | class="arc-measure" |
| 9198 | d="M 554 4742 A 15 12 0 0 0 524 4742" |
| 9199 | style="pointer-events: none" |
| 9200 | /> |
| 9201 | <line |
| 9202 | x1="539" |
| 9203 | x2="551" |
| 9204 | y1="4748" |
| 9205 | y2="4728" |
| 9206 | class="qs-line-measure" |
| 9207 | style="pointer-events: none" |
| 9208 | /> |
| 9209 | </g> |
| 9210 | </a> |
| 9211 | </g> |
| 9212 | <g |
| 9213 | class="gate classically-controlled-group" |
| 9214 | data-location="0,0-0,16-4,0" |
| 9215 | data-expanded="true" |
| 9216 | > |
| 9217 | <line |
| 9218 | x1="586" |
| 9219 | x2="611" |
| 9220 | y1="4864" |
| 9221 | y2="4864" |
| 9222 | class="classical-line" |
| 9223 | stroke-dasharray="8, 8" |
| 9224 | /> |
| 9225 | <line |
| 9226 | x1="586" |
| 9227 | x2="586" |
| 9228 | y1="4859" |
| 9229 | y2="4864" |
| 9230 | class="classical-line" |
| 9231 | stroke-dasharray="8, 8" |
| 9232 | /> |
| 9233 | <g class="classically-controlled-btn"> |
| 9234 | <circle cx="586" cy="4844" r="15" /> |
| 9235 | <text |
| 9236 | font-size="14" |
| 9237 | x="586" |
| 9238 | y="4844" |
| 9239 | text-anchor="start" |
| 9240 | dominant-baseline="middle" |
| 9241 | class="qs-maintext" |
| 9242 | > |
| 9243 | c |
| 9244 | <tspan baseline-shift="sub" font-size="65%">31</tspan> |
| 9245 | </text> |
| 9246 | </g> |
| 9247 | <rect |
| 9248 | class="classical-container" |
| 9249 | x="611" |
| 9250 | y="4798" |
| 9251 | width="105" |
| 9252 | height="232" |
| 9253 | fill-opacity="0" |
| 9254 | stroke-dasharray="8, 8" |
| 9255 | /> |
| 9256 | <g> |
| 9257 | <g class="gate" data-location="0,0-0,16-4,0-0,0"> |
| 9258 | <a href="#" class="qs-circuit-source-link"> |
| 9259 | <title> |
| 9260 | conditionals.qs:255:37 let r1 = { M(q0) == Zero } or |
| 9261 | { M(q1) == Zero }; |
| 9262 | </title> |
| 9263 | <g> |
| 9264 | <rect |
| 9265 | class="gate-measure" |
| 9266 | x="621" |
| 9267 | y="4876" |
| 9268 | width="40" |
| 9269 | height="40" |
| 9270 | data-wire-ys="[4896]" |
| 9271 | data-width="40" |
| 9272 | /> |
| 9273 | <path |
| 9274 | class="arc-measure" |
| 9275 | d="M 656 4898 A 15 12 0 0 0 626 4898" |
| 9276 | style="pointer-events: none" |
| 9277 | /> |
| 9278 | <line |
| 9279 | x1="641" |
| 9280 | x2="653" |
| 9281 | y1="4904" |
| 9282 | y2="4884" |
| 9283 | class="qs-line-measure" |
| 9284 | style="pointer-events: none" |
| 9285 | /> |
| 9286 | </g> |
| 9287 | </a> |
| 9288 | </g> |
| 9289 | </g> |
| 9290 | <a href="#" class="qs-circuit-source-link"> |
| 9291 | <title> |
| 9292 | conditionals.qs:255:35 let r1 = { M(q0) == Zero } or { |
| 9293 | M(q1) == Zero }; |
| 9294 | </title> |
| 9295 | <text |
| 9296 | font-size="14" |
| 9297 | x="621" |
| 9298 | y="4813" |
| 9299 | class="qs-maintext qs-group-label" |
| 9300 | style="pointer-events: all" |
| 9301 | > |
| 9302 | <tspan class="qs-mathtext">if</tspan> |
| 9303 | : |
| 9304 | <tspan class="qs-mathtext">c</tspan> |
| 9305 | <tspan baseline-shift="sub" font-size="65%">31</tspan> |
| 9306 | = |1〉 |
| 9307 | </text> |
| 9308 | </a> |
| 9309 | <g class="gate-control gate-collapse"> |
| 9310 | <circle cx="613" cy="4800" r="10" /> |
| 9311 | <path d="M606,4800 h14" /> |
| 9312 | </g> |
| 9313 | </g> |
| 9314 | </g> |
| 9315 | <a href="#" class="qs-circuit-source-link"> |
| 9316 | <title> |
| 9317 | conditionals.qs:20:5 BranchDueToBinOpShortCircuit(qs[32], |
| 9318 | qs[33]); |
| 9319 | </title> |
| 9320 | <text |
| 9321 | font-size="14" |
| 9322 | x="258" |
| 9323 | y="4709" |
| 9324 | class="qs-maintext qs-group-label" |
| 9325 | style="pointer-events: all" |
| 9326 | > |
| 9327 | <tspan class="qs-mathtext"> |
| 9328 | BranchDueToBinOpShortCircuit |
| 9329 | </tspan> |
| 9330 | </text> |
| 9331 | </a> |
| 9332 | <g class="gate-control gate-collapse"> |
| 9333 | <circle cx="250" cy="4696" r="10" /> |
| 9334 | <path d="M243,4696 h14" /> |
| 9335 | </g> |
| 9336 | </g> |
| 9337 | <g class="gate" data-location="0,0-1,0"> |
| 9338 | <a href="#" class="qs-circuit-source-link"> |
| 9339 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9340 | <g> |
| 9341 | <g> |
| 9342 | <rect |
| 9343 | class="gate-ket" |
| 9344 | x="896" |
| 9345 | y="124" |
| 9346 | width="40" |
| 9347 | height="40" |
| 9348 | data-wire-ys="[144]" |
| 9349 | data-width="40" |
| 9350 | /> |
| 9351 | <text |
| 9352 | font-size="14" |
| 9353 | x="916" |
| 9354 | y="144" |
| 9355 | class="qs-maintext ket-text" |
| 9356 | > |
| 9357 | |0⟩ |
| 9358 | </text> |
| 9359 | </g> |
| 9360 | </g> |
| 9361 | </a> |
| 9362 | </g> |
| 9363 | <g class="gate" data-location="0,0-1,1"> |
| 9364 | <a href="#" class="qs-circuit-source-link"> |
| 9365 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9366 | <g> |
| 9367 | <g> |
| 9368 | <rect |
| 9369 | class="gate-ket" |
| 9370 | x="896" |
| 9371 | y="300" |
| 9372 | width="40" |
| 9373 | height="40" |
| 9374 | data-wire-ys="[320]" |
| 9375 | data-width="40" |
| 9376 | /> |
| 9377 | <text |
| 9378 | font-size="14" |
| 9379 | x="916" |
| 9380 | y="320" |
| 9381 | class="qs-maintext ket-text" |
| 9382 | > |
| 9383 | |0⟩ |
| 9384 | </text> |
| 9385 | </g> |
| 9386 | </g> |
| 9387 | </a> |
| 9388 | </g> |
| 9389 | <g class="gate" data-location="0,0-1,2"> |
| 9390 | <a href="#" class="qs-circuit-source-link"> |
| 9391 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9392 | <g> |
| 9393 | <g> |
| 9394 | <rect |
| 9395 | class="gate-ket" |
| 9396 | x="896" |
| 9397 | y="476" |
| 9398 | width="40" |
| 9399 | height="40" |
| 9400 | data-wire-ys="[496]" |
| 9401 | data-width="40" |
| 9402 | /> |
| 9403 | <text |
| 9404 | font-size="14" |
| 9405 | x="916" |
| 9406 | y="496" |
| 9407 | class="qs-maintext ket-text" |
| 9408 | > |
| 9409 | |0⟩ |
| 9410 | </text> |
| 9411 | </g> |
| 9412 | </g> |
| 9413 | </a> |
| 9414 | </g> |
| 9415 | <g class="gate" data-location="0,0-1,3"> |
| 9416 | <a href="#" class="qs-circuit-source-link"> |
| 9417 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9418 | <g> |
| 9419 | <g> |
| 9420 | <rect |
| 9421 | class="gate-ket" |
| 9422 | x="896" |
| 9423 | y="652" |
| 9424 | width="40" |
| 9425 | height="40" |
| 9426 | data-wire-ys="[672]" |
| 9427 | data-width="40" |
| 9428 | /> |
| 9429 | <text |
| 9430 | font-size="14" |
| 9431 | x="916" |
| 9432 | y="672" |
| 9433 | class="qs-maintext ket-text" |
| 9434 | > |
| 9435 | |0⟩ |
| 9436 | </text> |
| 9437 | </g> |
| 9438 | </g> |
| 9439 | </a> |
| 9440 | </g> |
| 9441 | <g class="gate" data-location="0,0-1,4"> |
| 9442 | <a href="#" class="qs-circuit-source-link"> |
| 9443 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9444 | <g> |
| 9445 | <g> |
| 9446 | <rect |
| 9447 | class="gate-ket" |
| 9448 | x="896" |
| 9449 | y="756" |
| 9450 | width="40" |
| 9451 | height="40" |
| 9452 | data-wire-ys="[776]" |
| 9453 | data-width="40" |
| 9454 | /> |
| 9455 | <text |
| 9456 | font-size="14" |
| 9457 | x="916" |
| 9458 | y="776" |
| 9459 | class="qs-maintext ket-text" |
| 9460 | > |
| 9461 | |0⟩ |
| 9462 | </text> |
| 9463 | </g> |
| 9464 | </g> |
| 9465 | </a> |
| 9466 | </g> |
| 9467 | <g class="gate" data-location="0,0-1,5"> |
| 9468 | <a href="#" class="qs-circuit-source-link"> |
| 9469 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9470 | <g> |
| 9471 | <g> |
| 9472 | <rect |
| 9473 | class="gate-ket" |
| 9474 | x="896" |
| 9475 | y="906" |
| 9476 | width="40" |
| 9477 | height="40" |
| 9478 | data-wire-ys="[926]" |
| 9479 | data-width="40" |
| 9480 | /> |
| 9481 | <text |
| 9482 | font-size="14" |
| 9483 | x="916" |
| 9484 | y="926" |
| 9485 | class="qs-maintext ket-text" |
| 9486 | > |
| 9487 | |0⟩ |
| 9488 | </text> |
| 9489 | </g> |
| 9490 | </g> |
| 9491 | </a> |
| 9492 | </g> |
| 9493 | <g class="gate" data-location="0,0-1,6"> |
| 9494 | <a href="#" class="qs-circuit-source-link"> |
| 9495 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9496 | <g> |
| 9497 | <g> |
| 9498 | <rect |
| 9499 | class="gate-ket" |
| 9500 | x="896" |
| 9501 | y="1010" |
| 9502 | width="40" |
| 9503 | height="40" |
| 9504 | data-wire-ys="[1030]" |
| 9505 | data-width="40" |
| 9506 | /> |
| 9507 | <text |
| 9508 | font-size="14" |
| 9509 | x="916" |
| 9510 | y="1030" |
| 9511 | class="qs-maintext ket-text" |
| 9512 | > |
| 9513 | |0⟩ |
| 9514 | </text> |
| 9515 | </g> |
| 9516 | </g> |
| 9517 | </a> |
| 9518 | </g> |
| 9519 | <g class="gate" data-location="0,0-1,7"> |
| 9520 | <a href="#" class="qs-circuit-source-link"> |
| 9521 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9522 | <g> |
| 9523 | <g> |
| 9524 | <rect |
| 9525 | class="gate-ket" |
| 9526 | x="896" |
| 9527 | y="1176" |
| 9528 | width="40" |
| 9529 | height="40" |
| 9530 | data-wire-ys="[1196]" |
| 9531 | data-width="40" |
| 9532 | /> |
| 9533 | <text |
| 9534 | font-size="14" |
| 9535 | x="916" |
| 9536 | y="1196" |
| 9537 | class="qs-maintext ket-text" |
| 9538 | > |
| 9539 | |0⟩ |
| 9540 | </text> |
| 9541 | </g> |
| 9542 | </g> |
| 9543 | </a> |
| 9544 | </g> |
| 9545 | <g class="gate" data-location="0,0-1,8"> |
| 9546 | <a href="#" class="qs-circuit-source-link"> |
| 9547 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9548 | <g> |
| 9549 | <g> |
| 9550 | <rect |
| 9551 | class="gate-ket" |
| 9552 | x="896" |
| 9553 | y="1280" |
| 9554 | width="40" |
| 9555 | height="40" |
| 9556 | data-wire-ys="[1300]" |
| 9557 | data-width="40" |
| 9558 | /> |
| 9559 | <text |
| 9560 | font-size="14" |
| 9561 | x="916" |
| 9562 | y="1300" |
| 9563 | class="qs-maintext ket-text" |
| 9564 | > |
| 9565 | |0⟩ |
| 9566 | </text> |
| 9567 | </g> |
| 9568 | </g> |
| 9569 | </a> |
| 9570 | </g> |
| 9571 | <g class="gate" data-location="0,0-1,9"> |
| 9572 | <a href="#" class="qs-circuit-source-link"> |
| 9573 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9574 | <g> |
| 9575 | <g> |
| 9576 | <rect |
| 9577 | class="gate-ket" |
| 9578 | x="896" |
| 9579 | y="1456" |
| 9580 | width="40" |
| 9581 | height="40" |
| 9582 | data-wire-ys="[1476]" |
| 9583 | data-width="40" |
| 9584 | /> |
| 9585 | <text |
| 9586 | font-size="14" |
| 9587 | x="916" |
| 9588 | y="1476" |
| 9589 | class="qs-maintext ket-text" |
| 9590 | > |
| 9591 | |0⟩ |
| 9592 | </text> |
| 9593 | </g> |
| 9594 | </g> |
| 9595 | </a> |
| 9596 | </g> |
| 9597 | <g class="gate" data-location="0,0-1,10"> |
| 9598 | <a href="#" class="qs-circuit-source-link"> |
| 9599 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9600 | <g> |
| 9601 | <g> |
| 9602 | <rect |
| 9603 | class="gate-ket" |
| 9604 | x="896" |
| 9605 | y="1586" |
| 9606 | width="40" |
| 9607 | height="40" |
| 9608 | data-wire-ys="[1606]" |
| 9609 | data-width="40" |
| 9610 | /> |
| 9611 | <text |
| 9612 | font-size="14" |
| 9613 | x="916" |
| 9614 | y="1606" |
| 9615 | class="qs-maintext ket-text" |
| 9616 | > |
| 9617 | |0⟩ |
| 9618 | </text> |
| 9619 | </g> |
| 9620 | </g> |
| 9621 | </a> |
| 9622 | </g> |
| 9623 | <g class="gate" data-location="0,0-1,11"> |
| 9624 | <a href="#" class="qs-circuit-source-link"> |
| 9625 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9626 | <g> |
| 9627 | <g> |
| 9628 | <rect |
| 9629 | class="gate-ket" |
| 9630 | x="896" |
| 9631 | y="1690" |
| 9632 | width="40" |
| 9633 | height="40" |
| 9634 | data-wire-ys="[1710]" |
| 9635 | data-width="40" |
| 9636 | /> |
| 9637 | <text |
| 9638 | font-size="14" |
| 9639 | x="916" |
| 9640 | y="1710" |
| 9641 | class="qs-maintext ket-text" |
| 9642 | > |
| 9643 | |0⟩ |
| 9644 | </text> |
| 9645 | </g> |
| 9646 | </g> |
| 9647 | </a> |
| 9648 | </g> |
| 9649 | <g class="gate" data-location="0,0-1,12"> |
| 9650 | <a href="#" class="qs-circuit-source-link"> |
| 9651 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9652 | <g> |
| 9653 | <g> |
| 9654 | <rect |
| 9655 | class="gate-ket" |
| 9656 | x="896" |
| 9657 | y="1892" |
| 9658 | width="40" |
| 9659 | height="40" |
| 9660 | data-wire-ys="[1912]" |
| 9661 | data-width="40" |
| 9662 | /> |
| 9663 | <text |
| 9664 | font-size="14" |
| 9665 | x="916" |
| 9666 | y="1912" |
| 9667 | class="qs-maintext ket-text" |
| 9668 | > |
| 9669 | |0⟩ |
| 9670 | </text> |
| 9671 | </g> |
| 9672 | </g> |
| 9673 | </a> |
| 9674 | </g> |
| 9675 | <g class="gate" data-location="0,0-1,13"> |
| 9676 | <a href="#" class="qs-circuit-source-link"> |
| 9677 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9678 | <g> |
| 9679 | <g> |
| 9680 | <rect |
| 9681 | class="gate-ket" |
| 9682 | x="896" |
| 9683 | y="1996" |
| 9684 | width="40" |
| 9685 | height="40" |
| 9686 | data-wire-ys="[2016]" |
| 9687 | data-width="40" |
| 9688 | /> |
| 9689 | <text |
| 9690 | font-size="14" |
| 9691 | x="916" |
| 9692 | y="2016" |
| 9693 | class="qs-maintext ket-text" |
| 9694 | > |
| 9695 | |0⟩ |
| 9696 | </text> |
| 9697 | </g> |
| 9698 | </g> |
| 9699 | </a> |
| 9700 | </g> |
| 9701 | <g class="gate" data-location="0,0-1,14"> |
| 9702 | <a href="#" class="qs-circuit-source-link"> |
| 9703 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9704 | <g> |
| 9705 | <g> |
| 9706 | <rect |
| 9707 | class="gate-ket" |
| 9708 | x="896" |
| 9709 | y="2100" |
| 9710 | width="40" |
| 9711 | height="40" |
| 9712 | data-wire-ys="[2120]" |
| 9713 | data-width="40" |
| 9714 | /> |
| 9715 | <text |
| 9716 | font-size="14" |
| 9717 | x="916" |
| 9718 | y="2120" |
| 9719 | class="qs-maintext ket-text" |
| 9720 | > |
| 9721 | |0⟩ |
| 9722 | </text> |
| 9723 | </g> |
| 9724 | </g> |
| 9725 | </a> |
| 9726 | </g> |
| 9727 | <g class="gate" data-location="0,0-1,15"> |
| 9728 | <a href="#" class="qs-circuit-source-link"> |
| 9729 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9730 | <g> |
| 9731 | <g> |
| 9732 | <rect |
| 9733 | class="gate-ket" |
| 9734 | x="896" |
| 9735 | y="2286" |
| 9736 | width="40" |
| 9737 | height="40" |
| 9738 | data-wire-ys="[2306]" |
| 9739 | data-width="40" |
| 9740 | /> |
| 9741 | <text |
| 9742 | font-size="14" |
| 9743 | x="916" |
| 9744 | y="2306" |
| 9745 | class="qs-maintext ket-text" |
| 9746 | > |
| 9747 | |0⟩ |
| 9748 | </text> |
| 9749 | </g> |
| 9750 | </g> |
| 9751 | </a> |
| 9752 | </g> |
| 9753 | <g class="gate" data-location="0,0-1,16"> |
| 9754 | <a href="#" class="qs-circuit-source-link"> |
| 9755 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9756 | <g> |
| 9757 | <g> |
| 9758 | <rect |
| 9759 | class="gate-ket" |
| 9760 | x="896" |
| 9761 | y="2390" |
| 9762 | width="40" |
| 9763 | height="40" |
| 9764 | data-wire-ys="[2410]" |
| 9765 | data-width="40" |
| 9766 | /> |
| 9767 | <text |
| 9768 | font-size="14" |
| 9769 | x="916" |
| 9770 | y="2410" |
| 9771 | class="qs-maintext ket-text" |
| 9772 | > |
| 9773 | |0⟩ |
| 9774 | </text> |
| 9775 | </g> |
| 9776 | </g> |
| 9777 | </a> |
| 9778 | </g> |
| 9779 | <g class="gate" data-location="0,0-1,17"> |
| 9780 | <a href="#" class="qs-circuit-source-link"> |
| 9781 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9782 | <g> |
| 9783 | <g> |
| 9784 | <rect |
| 9785 | class="gate-ket" |
| 9786 | x="896" |
| 9787 | y="2566" |
| 9788 | width="40" |
| 9789 | height="40" |
| 9790 | data-wire-ys="[2586]" |
| 9791 | data-width="40" |
| 9792 | /> |
| 9793 | <text |
| 9794 | font-size="14" |
| 9795 | x="916" |
| 9796 | y="2586" |
| 9797 | class="qs-maintext ket-text" |
| 9798 | > |
| 9799 | |0⟩ |
| 9800 | </text> |
| 9801 | </g> |
| 9802 | </g> |
| 9803 | </a> |
| 9804 | </g> |
| 9805 | <g class="gate" data-location="0,0-1,18"> |
| 9806 | <a href="#" class="qs-circuit-source-link"> |
| 9807 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9808 | <g> |
| 9809 | <g> |
| 9810 | <rect |
| 9811 | class="gate-ket" |
| 9812 | x="896" |
| 9813 | y="2742" |
| 9814 | width="40" |
| 9815 | height="40" |
| 9816 | data-wire-ys="[2762]" |
| 9817 | data-width="40" |
| 9818 | /> |
| 9819 | <text |
| 9820 | font-size="14" |
| 9821 | x="916" |
| 9822 | y="2762" |
| 9823 | class="qs-maintext ket-text" |
| 9824 | > |
| 9825 | |0⟩ |
| 9826 | </text> |
| 9827 | </g> |
| 9828 | </g> |
| 9829 | </a> |
| 9830 | </g> |
| 9831 | <g class="gate" data-location="0,0-1,19"> |
| 9832 | <a href="#" class="qs-circuit-source-link"> |
| 9833 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9834 | <g> |
| 9835 | <g> |
| 9836 | <rect |
| 9837 | class="gate-ket" |
| 9838 | x="896" |
| 9839 | y="2846" |
| 9840 | width="40" |
| 9841 | height="40" |
| 9842 | data-wire-ys="[2866]" |
| 9843 | data-width="40" |
| 9844 | /> |
| 9845 | <text |
| 9846 | font-size="14" |
| 9847 | x="916" |
| 9848 | y="2866" |
| 9849 | class="qs-maintext ket-text" |
| 9850 | > |
| 9851 | |0⟩ |
| 9852 | </text> |
| 9853 | </g> |
| 9854 | </g> |
| 9855 | </a> |
| 9856 | </g> |
| 9857 | <g class="gate" data-location="0,0-1,20"> |
| 9858 | <a href="#" class="qs-circuit-source-link"> |
| 9859 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9860 | <g> |
| 9861 | <g> |
| 9862 | <rect |
| 9863 | class="gate-ket" |
| 9864 | x="896" |
| 9865 | y="3022" |
| 9866 | width="40" |
| 9867 | height="40" |
| 9868 | data-wire-ys="[3042]" |
| 9869 | data-width="40" |
| 9870 | /> |
| 9871 | <text |
| 9872 | font-size="14" |
| 9873 | x="916" |
| 9874 | y="3042" |
| 9875 | class="qs-maintext ket-text" |
| 9876 | > |
| 9877 | |0⟩ |
| 9878 | </text> |
| 9879 | </g> |
| 9880 | </g> |
| 9881 | </a> |
| 9882 | </g> |
| 9883 | <g class="gate" data-location="0,0-1,21"> |
| 9884 | <a href="#" class="qs-circuit-source-link"> |
| 9885 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9886 | <g> |
| 9887 | <g> |
| 9888 | <rect |
| 9889 | class="gate-ket" |
| 9890 | x="896" |
| 9891 | y="3126" |
| 9892 | width="40" |
| 9893 | height="40" |
| 9894 | data-wire-ys="[3146]" |
| 9895 | data-width="40" |
| 9896 | /> |
| 9897 | <text |
| 9898 | font-size="14" |
| 9899 | x="916" |
| 9900 | y="3146" |
| 9901 | class="qs-maintext ket-text" |
| 9902 | > |
| 9903 | |0⟩ |
| 9904 | </text> |
| 9905 | </g> |
| 9906 | </g> |
| 9907 | </a> |
| 9908 | </g> |
| 9909 | <g class="gate" data-location="0,0-1,22"> |
| 9910 | <a href="#" class="qs-circuit-source-link"> |
| 9911 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9912 | <g> |
| 9913 | <g> |
| 9914 | <rect |
| 9915 | class="gate-ket" |
| 9916 | x="896" |
| 9917 | y="3354" |
| 9918 | width="40" |
| 9919 | height="40" |
| 9920 | data-wire-ys="[3374]" |
| 9921 | data-width="40" |
| 9922 | /> |
| 9923 | <text |
| 9924 | font-size="14" |
| 9925 | x="916" |
| 9926 | y="3374" |
| 9927 | class="qs-maintext ket-text" |
| 9928 | > |
| 9929 | |0⟩ |
| 9930 | </text> |
| 9931 | </g> |
| 9932 | </g> |
| 9933 | </a> |
| 9934 | </g> |
| 9935 | <g class="gate" data-location="0,0-1,23"> |
| 9936 | <a href="#" class="qs-circuit-source-link"> |
| 9937 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9938 | <g> |
| 9939 | <g> |
| 9940 | <rect |
| 9941 | class="gate-ket" |
| 9942 | x="896" |
| 9943 | y="3426" |
| 9944 | width="40" |
| 9945 | height="40" |
| 9946 | data-wire-ys="[3446]" |
| 9947 | data-width="40" |
| 9948 | /> |
| 9949 | <text |
| 9950 | font-size="14" |
| 9951 | x="916" |
| 9952 | y="3446" |
| 9953 | class="qs-maintext ket-text" |
| 9954 | > |
| 9955 | |0⟩ |
| 9956 | </text> |
| 9957 | </g> |
| 9958 | </g> |
| 9959 | </a> |
| 9960 | </g> |
| 9961 | <g class="gate" data-location="0,0-1,24"> |
| 9962 | <a href="#" class="qs-circuit-source-link"> |
| 9963 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9964 | <g> |
| 9965 | <g> |
| 9966 | <rect |
| 9967 | class="gate-ket" |
| 9968 | x="896" |
| 9969 | y="3654" |
| 9970 | width="40" |
| 9971 | height="40" |
| 9972 | data-wire-ys="[3674]" |
| 9973 | data-width="40" |
| 9974 | /> |
| 9975 | <text |
| 9976 | font-size="14" |
| 9977 | x="916" |
| 9978 | y="3674" |
| 9979 | class="qs-maintext ket-text" |
| 9980 | > |
| 9981 | |0⟩ |
| 9982 | </text> |
| 9983 | </g> |
| 9984 | </g> |
| 9985 | </a> |
| 9986 | </g> |
| 9987 | <g class="gate" data-location="0,0-1,25"> |
| 9988 | <a href="#" class="qs-circuit-source-link"> |
| 9989 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 9990 | <g> |
| 9991 | <g> |
| 9992 | <rect |
| 9993 | class="gate-ket" |
| 9994 | x="896" |
| 9995 | y="3736" |
| 9996 | width="40" |
| 9997 | height="40" |
| 9998 | data-wire-ys="[3756]" |
| 9999 | data-width="40" |
| 10000 | /> |
| 10001 | <text |
| 10002 | font-size="14" |
| 10003 | x="916" |
| 10004 | y="3756" |
| 10005 | class="qs-maintext ket-text" |
| 10006 | > |
| 10007 | |0⟩ |
| 10008 | </text> |
| 10009 | </g> |
| 10010 | </g> |
| 10011 | </a> |
| 10012 | </g> |
| 10013 | <g class="gate" data-location="0,0-1,26"> |
| 10014 | <a href="#" class="qs-circuit-source-link"> |
| 10015 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10016 | <g> |
| 10017 | <g> |
| 10018 | <rect |
| 10019 | class="gate-ket" |
| 10020 | x="896" |
| 10021 | y="4036" |
| 10022 | width="40" |
| 10023 | height="40" |
| 10024 | data-wire-ys="[4056]" |
| 10025 | data-width="40" |
| 10026 | /> |
| 10027 | <text |
| 10028 | font-size="14" |
| 10029 | x="916" |
| 10030 | y="4056" |
| 10031 | class="qs-maintext ket-text" |
| 10032 | > |
| 10033 | |0⟩ |
| 10034 | </text> |
| 10035 | </g> |
| 10036 | </g> |
| 10037 | </a> |
| 10038 | </g> |
| 10039 | <g class="gate" data-location="0,0-1,27"> |
| 10040 | <a href="#" class="qs-circuit-source-link"> |
| 10041 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10042 | <g> |
| 10043 | <g> |
| 10044 | <rect |
| 10045 | class="gate-ket" |
| 10046 | x="896" |
| 10047 | y="4088" |
| 10048 | width="40" |
| 10049 | height="40" |
| 10050 | data-wire-ys="[4108]" |
| 10051 | data-width="40" |
| 10052 | /> |
| 10053 | <text |
| 10054 | font-size="14" |
| 10055 | x="916" |
| 10056 | y="4108" |
| 10057 | class="qs-maintext ket-text" |
| 10058 | > |
| 10059 | |0⟩ |
| 10060 | </text> |
| 10061 | </g> |
| 10062 | </g> |
| 10063 | </a> |
| 10064 | </g> |
| 10065 | <g class="gate" data-location="0,0-1,28"> |
| 10066 | <a href="#" class="qs-circuit-source-link"> |
| 10067 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10068 | <g> |
| 10069 | <g> |
| 10070 | <rect |
| 10071 | class="gate-ket" |
| 10072 | x="896" |
| 10073 | y="4192" |
| 10074 | width="40" |
| 10075 | height="40" |
| 10076 | data-wire-ys="[4212]" |
| 10077 | data-width="40" |
| 10078 | /> |
| 10079 | <text |
| 10080 | font-size="14" |
| 10081 | x="916" |
| 10082 | y="4212" |
| 10083 | class="qs-maintext ket-text" |
| 10084 | > |
| 10085 | |0⟩ |
| 10086 | </text> |
| 10087 | </g> |
| 10088 | </g> |
| 10089 | </a> |
| 10090 | </g> |
| 10091 | <g class="gate" data-location="0,0-1,29"> |
| 10092 | <a href="#" class="qs-circuit-source-link"> |
| 10093 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10094 | <g> |
| 10095 | <g> |
| 10096 | <rect |
| 10097 | class="gate-ket" |
| 10098 | x="896" |
| 10099 | y="4388" |
| 10100 | width="40" |
| 10101 | height="40" |
| 10102 | data-wire-ys="[4408]" |
| 10103 | data-width="40" |
| 10104 | /> |
| 10105 | <text |
| 10106 | font-size="14" |
| 10107 | x="916" |
| 10108 | y="4408" |
| 10109 | class="qs-maintext ket-text" |
| 10110 | > |
| 10111 | |0⟩ |
| 10112 | </text> |
| 10113 | </g> |
| 10114 | </g> |
| 10115 | </a> |
| 10116 | </g> |
| 10117 | <g class="gate" data-location="0,0-1,30"> |
| 10118 | <a href="#" class="qs-circuit-source-link"> |
| 10119 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10120 | <g> |
| 10121 | <g> |
| 10122 | <rect |
| 10123 | class="gate-ket" |
| 10124 | x="896" |
| 10125 | y="4440" |
| 10126 | width="40" |
| 10127 | height="40" |
| 10128 | data-wire-ys="[4460]" |
| 10129 | data-width="40" |
| 10130 | /> |
| 10131 | <text |
| 10132 | font-size="14" |
| 10133 | x="916" |
| 10134 | y="4460" |
| 10135 | class="qs-maintext ket-text" |
| 10136 | > |
| 10137 | |0⟩ |
| 10138 | </text> |
| 10139 | </g> |
| 10140 | </g> |
| 10141 | </a> |
| 10142 | </g> |
| 10143 | <g class="gate" data-location="0,0-1,31"> |
| 10144 | <a href="#" class="qs-circuit-source-link"> |
| 10145 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10146 | <g> |
| 10147 | <g> |
| 10148 | <rect |
| 10149 | class="gate-ket" |
| 10150 | x="896" |
| 10151 | y="4544" |
| 10152 | width="40" |
| 10153 | height="40" |
| 10154 | data-wire-ys="[4564]" |
| 10155 | data-width="40" |
| 10156 | /> |
| 10157 | <text |
| 10158 | font-size="14" |
| 10159 | x="916" |
| 10160 | y="4564" |
| 10161 | class="qs-maintext ket-text" |
| 10162 | > |
| 10163 | |0⟩ |
| 10164 | </text> |
| 10165 | </g> |
| 10166 | </g> |
| 10167 | </a> |
| 10168 | </g> |
| 10169 | <g class="gate" data-location="0,0-1,32"> |
| 10170 | <a href="#" class="qs-circuit-source-link"> |
| 10171 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10172 | <g> |
| 10173 | <g> |
| 10174 | <rect |
| 10175 | class="gate-ket" |
| 10176 | x="896" |
| 10177 | y="4720" |
| 10178 | width="40" |
| 10179 | height="40" |
| 10180 | data-wire-ys="[4740]" |
| 10181 | data-width="40" |
| 10182 | /> |
| 10183 | <text |
| 10184 | font-size="14" |
| 10185 | x="916" |
| 10186 | y="4740" |
| 10187 | class="qs-maintext ket-text" |
| 10188 | > |
| 10189 | |0⟩ |
| 10190 | </text> |
| 10191 | </g> |
| 10192 | </g> |
| 10193 | </a> |
| 10194 | </g> |
| 10195 | <g class="gate" data-location="0,0-1,33"> |
| 10196 | <a href="#" class="qs-circuit-source-link"> |
| 10197 | <title>conditionals.qs:22:5 ResetAll(qs);</title> |
| 10198 | <g> |
| 10199 | <g> |
| 10200 | <rect |
| 10201 | class="gate-ket" |
| 10202 | x="896" |
| 10203 | y="4876" |
| 10204 | width="40" |
| 10205 | height="40" |
| 10206 | data-wire-ys="[4896]" |
| 10207 | data-width="40" |
| 10208 | /> |
| 10209 | <text |
| 10210 | font-size="14" |
| 10211 | x="916" |
| 10212 | y="4896" |
| 10213 | class="qs-maintext ket-text" |
| 10214 | > |
| 10215 | |0⟩ |
| 10216 | </text> |
| 10217 | </g> |
| 10218 | </g> |
| 10219 | </a> |
| 10220 | </g> |
| 10221 | </g> |
| 10222 | <text |
| 10223 | font-size="14" |
| 10224 | x="90" |
| 10225 | y="61" |
| 10226 | class="qs-maintext qs-group-label" |
| 10227 | > |
| 10228 | <tspan class="qs-mathtext">Main</tspan> |
| 10229 | </text> |
| 10230 | <g class="gate-control gate-collapse"> |
| 10231 | <circle cx="82" cy="48" r="10" /> |
| 10232 | <path d="M75,48 h14" /> |
| 10233 | </g> |
| 10234 | </g> |
| 10235 | </g> |
| 10236 | </svg> |
| 10237 | </div> |
| 10238 | <div><h2>circuit-eval-collapsed</h2></div> |
| 10239 | <div id="circuit-eval-collapsed" class="qs-circuit"> |
| 10240 | <pre> |
| 10241 | Error generating circuit: QdkDiagnostics: runtime error: cannot compare measurement results |
| 10242 | |
| 10243 | help: comparing measurement results is not supported when performing circuit synthesis or base profile QIR generation at conditionals.qs:28:15</pre |
| 10244 | > |
| 10245 | </div> |
| 10246 | <div><h2>circuit-eval-expanded</h2></div> |
| 10247 | <div id="circuit-eval-expanded" class="qs-circuit"> |
| 10248 | <pre> |
| 10249 | Error generating circuit: QdkDiagnostics: runtime error: cannot compare measurement results |
| 10250 | |
| 10251 | help: comparing measurement results is not supported when performing circuit synthesis or base profile QIR generation at conditionals.qs:28:15</pre |
| 10252 | > |
| 10253 | </div> |
| 10254 | </body> |
| 10255 | </html> |