From 2f8f759caf9ff25c4773cd0b0ce916c77c5d8957 Mon Sep 17 00:00:00 2001 From: Robert Rood Date: Fri, 1 Mar 2024 12:47:38 -0500 Subject: [PATCH] #5 - Ported over the fix for the QASM bugs we've been seeing. This is for a HotFix so it has not had an entire round of testing occur as of yet. --- .../fermi_hubbard-dynamics-qubitized.ipynb | 319402 ++++++++++++++- src/pyLIQTR/_version.py | 2 +- src/pyLIQTR/circuits/operators/AddMod.py | 34 +- src/pyLIQTR/circuits/pyLCircuit.py | 5 +- src/pyLIQTR/qubitization/qsvt.py | 9 +- src/pyLIQTR/utils/printing.py | 5 +- 6 files changed, 318990 insertions(+), 467 deletions(-) diff --git a/Examples/ApplicationInstances/FermiHubbard/fermi_hubbard-dynamics-qubitized.ipynb b/Examples/ApplicationInstances/FermiHubbard/fermi_hubbard-dynamics-qubitized.ipynb index 32a432a..1a4b921 100644 --- a/Examples/ApplicationInstances/FermiHubbard/fermi_hubbard-dynamics-qubitized.ipynb +++ b/Examples/ApplicationInstances/FermiHubbard/fermi_hubbard-dynamics-qubitized.ipynb @@ -165,7 +165,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -217,7 +217,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -236,7 +236,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -245,7 +245,7 @@ "18.0" ] }, - "execution_count": 14, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -263,7 +263,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -279,7 +279,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -288,7 +288,7 @@ "16.0" ] }, - "execution_count": 16, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -307,7 +307,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -326,7 +326,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -363,7 +363,7 @@ "[None, None]" ] }, - "execution_count": 18, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -388,7 +388,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 8, "metadata": {}, "outputs": [ { @@ -410,7 +410,7 @@ " 1.57322143, 1.5703545 , 1.57086281, 1.57078789, 1.57079725])" ] }, - "execution_count": 19, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -430,7 +430,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 9, "metadata": {}, "outputs": [], "source": [ @@ -453,7 +453,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -492,7 +492,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -580,7 +580,7 @@ "temp1: ─────────QSVT────────QSVT────────────" ] }, - "execution_count": 24, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -591,7 +591,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -683,7 +683,7 @@ " └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘ └──────────────────────────────┘" ] }, - "execution_count": 25, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" } @@ -694,7 +694,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -786,7 +786,7 @@ " └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └──┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘ └───────────────┘ └───────────────┘ └──┘" ] }, - "execution_count": 26, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -804,7 +804,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 14, "metadata": {}, "outputs": [], "source": [ @@ -827,7 +827,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 15, "metadata": {}, "outputs": [], "source": [ @@ -840,7 +840,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 16, "metadata": {}, "outputs": [ { @@ -849,7 +849,7 @@ "'1.43E+06'" ] }, - "execution_count": 31, + "execution_count": 16, "metadata": {}, "output_type": "execute_result" } @@ -868,7 +868,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 17, "metadata": {}, "outputs": [], "source": [ @@ -918,7 +918,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 18, "metadata": {}, "outputs": [], "source": [ @@ -958,7 +958,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 19, "metadata": {}, "outputs": [], "source": [ @@ -977,7 +977,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 20, "metadata": {}, "outputs": [], "source": [ @@ -986,7 +986,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 21, "metadata": {}, "outputs": [ { @@ -1000,11 +1000,11 @@ " \n", " \n", " \n", - " 2023-12-21T13:09:19.755062\n", + " 2024-03-01T12:42:03.493569\n", " image/svg+xml\n", " \n", " \n", - " Matplotlib v3.8.2, https://matplotlib.org/\n", + " Matplotlib v3.8.3, https://matplotlib.org/\n", " \n", " \n", " \n", @@ -1035,12 +1035,12 @@ " \n", " \n", " \n", - " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1116,7 +1116,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1165,7 +1165,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1201,187 +1201,187 @@ " \n", " \n", " \n", - " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1757,12 +1757,12 @@ " \n", " \n", " \n", - " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1789,7 +1789,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1845,7 +1845,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1892,7 +1892,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1908,7 +1908,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1924,7 +1924,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1940,7 +1940,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1956,7 +1956,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -1972,418 +1972,418 @@ " \n", " \n", " \n", - " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2490,7 +2490,7 @@ " \n", " \n", " \n", - " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", @@ -2546,7 +2546,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2561,7 +2561,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2576,7 +2576,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2591,182 +2591,182 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2803,12 +2803,12 @@ " \n", " \n", " \n", - " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2823,7 +2823,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2838,7 +2838,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2853,180 +2853,180 @@ " \n", " \n", " \n", - " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3150,7 +3150,7 @@ " \n", " \n", " \n", - " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", @@ -3195,10 +3195,10 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3261,7 +3261,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 22, "metadata": {}, "outputs": [], "source": [ @@ -3272,7 +3272,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 23, "metadata": {}, "outputs": [ { @@ -3388,272 +3388,318782 @@ "rx(pi*1.0) q[6];\n", "s q[6];\n", "cx q[6],q[7];\n", - "cx q[18],q[7];\n" - ] - } - ], - "source": [ - "for ctr,line in enumerate(openqasm(gate_qsvt.circuit,rotation_allowed=True)):\n", - " print(line)\n", - " if ctr > 100:\n", - " break" - ] - }, - { - "cell_type": "code", - "execution_count": 39, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "// Generated from Cirq, Openfermion, and MIT LL\n", - "\n", - "OPENQASM 2.0;\n", - "include \"qelib1.inc\";\n", - "\n", - "// Qubits: [U, V, _ancilla_0, _ancilla_1, _ancilla_2, _ancilla_3, _ancilla_4, _ancilla_5, _ancilla_6, _ancilla_7, _ancilla_8, alpha, beta, control, p_x, p_y, phase, q_x, q_y, target0, target1, target2, target3, target4, target5, target6, target7, temp0, temp1]\n", - "qreg q[29];\n", - "\n", - "\n", - "sdg q[13];\n", - "h q[13];\n", - "rz_d(pi*0.5) q[13];\n", - "// (False, 0, 0, [S])\n", - "h q[13];\n", - "s q[13];\n", - "sdg q[16];\n", - "h q[16];\n", - "rz_d(pi*0.5) q[16];\n", - "// (False, 0, 0, [S])\n", - "h q[16];\n", - "s q[16];\n", - "sdg q[2];\n", - "h q[2];\n", - "rz_d(pi*0.5) q[2];\n", - "// (False, 0, 0, [S])\n", - "h q[2];\n", - "s q[2];\n", - "sdg q[3];\n", - "h q[3];\n", - "rz_d(pi*0.5) q[3];\n", - "// (False, 0, 0, [S])\n", - "h q[3];\n", - "s q[3];\n", - "sdg q[4];\n", - "h q[4];\n", - "rz_d(pi*0.5) q[4];\n", - "// (False, 0, 0, [S])\n", - "h q[4];\n", - "s q[4];\n", - "sdg q[5];\n", - "h q[5];\n", - "rz_d(pi*0.5) q[5];\n", - "// (False, 0, 0, [S])\n", - "h q[5];\n", - "s q[5];\n", - "sdg q[6];\n", - "h q[6];\n", - "rz_d(pi*0.5) q[6];\n", - "// (False, 0, 0, [S])\n", - "h q[6];\n", - "s q[6];\n", - "sdg q[7];\n", - "h q[7];\n", - "rz_d(pi*0.5) q[7];\n", - "// (False, 0, 0, [S])\n", - "h q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", "s q[7];\n", - "sdg q[8];\n", - "h q[8];\n", - "rz_d(pi*0.5) q[8];\n", - "// (False, 0, 0, [S])\n", - "h q[8];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", "s q[8];\n", - "sdg q[9];\n", - "h q[9];\n", - "rz_d(pi*0.5) q[9];\n", - "// (False, 0, 0, [S])\n", - "h q[9];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", "s q[9];\n", - "sdg q[10];\n", - "h q[10];\n", - "rz_d(pi*0.5) q[10];\n", - "// (False, 0, 0, [S])\n", - "h q[10];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", "s q[10];\n", - "z q[19];\n", - "z q[20];\n", - "z q[21];\n", - "z q[22];\n", - "z q[23];\n", - "z q[24];\n", - "z q[25];\n", - "z q[26];\n", - "h q[13];\n", - "rz_d(pi*1.0) q[13];\n", - "// (False, 0, 0, [Z])\n", - "h q[13];\n", - "h q[16];\n", - "rz_d(pi*1.0) q[16];\n", - "// (False, 0, 0, [Z])\n", - "h q[16];\n", - "h q[2];\n", - "rz_d(pi*1.0) q[2];\n", - "// (False, 0, 0, [Z])\n", - "h q[2];\n", - "h q[3];\n", - "rz_d(pi*1.0) q[3];\n", - "// (False, 0, 0, [Z])\n", - "h q[3];\n", - "h q[4];\n", - "rz_d(pi*1.0) q[4];\n", - "// (False, 0, 0, [Z])\n", - "h q[4];\n", - "h q[5];\n", - "rz_d(pi*1.0) q[5];\n", - "// (False, 0, 0, [Z])\n", - "h q[5];\n", - "h q[6];\n", - "rz_d(pi*1.0) q[6];\n", - "// (False, 0, 0, [Z])\n", - "h q[6];\n", - "h q[7];\n", - "rz_d(pi*1.0) q[7];\n", - "// (False, 0, 0, [Z])\n", - "h q[7];\n", - "h q[8];\n", - "rz_d(pi*1.0) q[8];\n", - "// (False, 0, 0, [Z])\n", - "h q[8];\n", - "h q[9];\n", - "rz_d(pi*1.0) q[9];\n", - "// (False, 0, 0, [Z])\n", - "h q[9];\n", - "h q[10];\n", - "rz_d(pi*1.0) q[10];\n", - "// (False, 0, 0, [Z])\n", - "h q[10];\n", - "t q[2];\n", - "t q[3];\n", - "t q[4];\n", - "t q[5];\n", - "t q[6];\n", - "t q[7];\n", - "t q[8];\n", - "t q[9];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.7499998538) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.2500001462) q[16];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", "t q[10];\n", - "cx q[0],q[2];\n", - "cx q[1],q[2];\n", - "cx q[2],q[0];\n", - "cx q[2],q[1];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", "tdg q[0];\n", "tdg q[1];\n", - "t q[2];\n", - "cx q[2],q[0];\n", - "cx q[2],q[1];\n", - "sdg q[2];\n", - "h q[2];\n", - "rz_d(pi*0.5) q[2];\n", - "// (False, 0, 0, [S])\n", - "h q[2];\n", - "s q[2];\n", - "h q[2];\n", - "rz_d(pi*1.0) q[2];\n", - "// (False, 0, 0, [Z])\n", - "h q[2];\n", - "s q[2];\n", - "cx q[2],q[3];\n", - "cx q[14],q[3];\n", - "cx q[3],q[2];\n", - "cx q[3],q[14];\n", - "tdg q[2];\n", - "tdg q[14];\n", "t q[3];\n", - "cx q[3],q[2];\n", - "cx q[3],q[14];\n", - "sdg q[3];\n", - "h q[3];\n", - "rz_d(pi*0.5) q[3];\n", - "// (False, 0, 0, [S])\n", - "h q[3];\n", - "s q[3];\n", - "h q[3];\n", - "rz_d(pi*1.0) q[3];\n", - "// (False, 0, 0, [Z])\n", - "h q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", "s q[3];\n", "cx q[3],q[4];\n", - "cx q[15],q[4];\n", + "cx q[14],q[4];\n", "cx q[4],q[3];\n", - "cx q[4],q[15];\n", + "cx q[4],q[14];\n", "tdg q[3];\n", - "tdg q[15];\n", + "tdg q[14];\n", "t q[4];\n", "cx q[4],q[3];\n", - "cx q[4],q[15];\n", - "sdg q[4];\n", - "h q[4];\n", - "rz_d(pi*0.5) q[4];\n", - "// (False, 0, 0, [S])\n", - "h q[4];\n", - "s q[4];\n", - "h q[4];\n", - "rz_d(pi*1.0) q[4];\n", - "// (False, 0, 0, [Z])\n", - "h q[4];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", "s q[4];\n", "cx q[4],q[5];\n", - "cx q[11],q[5];\n", + "cx q[15],q[5];\n", "cx q[5],q[4];\n", - "cx q[5],q[11];\n", + "cx q[5],q[15];\n", "tdg q[4];\n", - "tdg q[11];\n", + "tdg q[15];\n", "t q[5];\n", "cx q[5],q[4];\n", - "cx q[5],q[11];\n", - "sdg q[5];\n", - "h q[5];\n", - "rz_d(pi*0.5) q[5];\n", - "// (False, 0, 0, [S])\n", - "h q[5];\n", - "s q[5];\n", - "h q[5];\n", - "rz_d(pi*1.0) q[5];\n", - "// (False, 0, 0, [Z])\n", - "h q[5];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", "s q[5];\n", "cx q[5],q[6];\n", - "cx q[17],q[6];\n", + "cx q[11],q[6];\n", "cx q[6],q[5];\n", - "cx q[6],q[17];\n", + "cx q[6],q[11];\n", "tdg q[5];\n", - "tdg q[17];\n", + "tdg q[11];\n", "t q[6];\n", "cx q[6],q[5];\n", - "cx q[6],q[17];\n", - "sdg q[6];\n", - "h q[6];\n", - "rz_d(pi*0.5) q[6];\n", - "// (False, 0, 0, [S])\n", - "h q[6];\n", - "s q[6];\n", - "h q[6];\n", - "rz_d(pi*1.0) q[6];\n", - "// (False, 0, 0, [Z])\n", - "h q[6];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", "s q[6];\n", "cx q[6],q[7];\n", - "cx q[18],q[7];\n" + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7500013431) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2499986569) q[16];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.749989419) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.250010581) q[16];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7500703192) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2499296808) q[16];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7496140329) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2503859671) q[16];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.7517002339) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.2482997661) q[16];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.7442373993) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.2557626007) q[16];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "z q[25];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "z q[26];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7639958942) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2360041058) q[16];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "z q[16];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[7];\n", + "sxdg q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[7],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "x q[11];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[4],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[5],q[4];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[4],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[4];\n", + "sx q[20];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[4],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[5],q[4];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[4],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[4];\n", + "sx q[22];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[4],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[5],q[4];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[4],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[4];\n", + "sx q[24];\n", + "rx(pi*1.0) q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[4],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[5],q[4];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[4],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[4];\n", + "sx q[26];\n", + "rx(pi*1.0) q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.5) q[7];\n", + "measure q[4] -> b[q[4]]\n", + "rx(pi*1.0) q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[6];\n", + "sxdg q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "ry(pi*0.5) q[5];\n", + "z q[25];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[5];\n", + "z q[26];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[7],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[9];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[9],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[8];\n", + "rz(pi*1.7289578413) q[16];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz(pi*0.2710421587) q[16];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[10];\n", + "rx(pi*1.0) q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "z q[16];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[9];\n", + "sxdg q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[9],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "x q[11];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[6],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[7],q[6];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[6],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[6];\n", + "sx q[20];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[6],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[7],q[6];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[6],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[6];\n", + "sx q[22];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[6],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[7],q[6];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[6],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[6];\n", + "sx q[24];\n", + "rx(pi*1.0) q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[6],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[7],q[6];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[6],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[6];\n", + "sx q[26];\n", + "rx(pi*1.0) q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.5) q[9];\n", + "measure q[6] -> b[q[6]]\n", + "rx(pi*1.0) q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[8];\n", + "sxdg q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "ry(pi*0.5) q[7];\n", + "z q[25];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[7];\n", + "z q[26];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[9],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[2];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[2],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.7616197485) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.2383802515) q[16];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7626967316) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2373032684) q[16];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.7405470039) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.2594529961) q[16];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7342729088) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2657270912) q[16];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7433396697) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2566603303) q[16];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.7541708616) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.2458291384) q[16];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.7607137452) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.2392862548) q[16];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "z q[25];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "z q[26];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7634035701) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2365964299) q[16];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "z q[16];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[7];\n", + "sxdg q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[7],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "x q[11];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[4],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[5],q[4];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[4],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[4];\n", + "sx q[20];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[4],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[5],q[4];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[4],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[4];\n", + "sx q[22];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[4],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[5],q[4];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[4],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[4];\n", + "sx q[24];\n", + "rx(pi*1.0) q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[4],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[5],q[4];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[4],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[4];\n", + "sx q[26];\n", + "rx(pi*1.0) q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.5) q[7];\n", + "measure q[4] -> b[q[4]]\n", + "rx(pi*1.0) q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[6];\n", + "sxdg q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "ry(pi*0.5) q[5];\n", + "z q[25];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[5];\n", + "z q[26];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[7],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[9];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[9],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[8];\n", + "rz(pi*1.7640426226) q[16];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz(pi*0.2359573774) q[16];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[10];\n", + "rx(pi*1.0) q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "z q[16];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[9];\n", + "sxdg q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[9],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "x q[11];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[6],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[7],q[6];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[6],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[6];\n", + "sx q[20];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[6],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[7],q[6];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[6],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[6];\n", + "sx q[22];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[6],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[7],q[6];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[6],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[6];\n", + "sx q[24];\n", + "rx(pi*1.0) q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[6],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[7],q[6];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[6],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[6];\n", + "sx q[26];\n", + "rx(pi*1.0) q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.5) q[9];\n", + "measure q[6] -> b[q[6]]\n", + "rx(pi*1.0) q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[8];\n", + "sxdg q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "ry(pi*0.5) q[7];\n", + "z q[25];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[7];\n", + "z q[26];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[9],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[2];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[2],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.7634035701) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.2365964299) q[16];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7607137452) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2392862548) q[16];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.7541708616) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.2458291384) q[16];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7433396697) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2566603303) q[16];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7342729088) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2657270912) q[16];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.7405470039) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.2594529961) q[16];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.7626967316) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.2373032684) q[16];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "z q[25];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "z q[26];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7616197485) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2383802515) q[16];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "z q[16];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[7];\n", + "sxdg q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[7],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "x q[11];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[4],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[5],q[4];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[4],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[4];\n", + "sx q[20];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[4],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[5],q[4];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[4],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[4];\n", + "sx q[22];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[4],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[5],q[4];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[4],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[4];\n", + "sx q[24];\n", + "rx(pi*1.0) q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[4],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[5],q[4];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[4],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[4];\n", + "sx q[26];\n", + "rx(pi*1.0) q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.5) q[7];\n", + "measure q[4] -> b[q[4]]\n", + "rx(pi*1.0) q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[6];\n", + "sxdg q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "ry(pi*0.5) q[5];\n", + "z q[25];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[5];\n", + "z q[26];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[7],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[9];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[9],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[8];\n", + "rz(pi*1.7289578413) q[16];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz(pi*0.2710421587) q[16];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[10];\n", + "rx(pi*1.0) q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "z q[16];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[9];\n", + "sxdg q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[9],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "x q[11];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[6],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[7],q[6];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[6],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[6];\n", + "sx q[20];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[6],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[7],q[6];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[6],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[6];\n", + "sx q[22];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[6],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[7],q[6];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[6],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[6];\n", + "sx q[24];\n", + "rx(pi*1.0) q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[6],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[7],q[6];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[6],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[6];\n", + "sx q[26];\n", + "rx(pi*1.0) q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.5) q[9];\n", + "measure q[6] -> b[q[6]]\n", + "rx(pi*1.0) q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[8];\n", + "sxdg q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "ry(pi*0.5) q[7];\n", + "z q[25];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[7];\n", + "z q[26];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[9],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[2];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[2],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.7639958942) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.2360041058) q[16];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7442373993) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2557626007) q[16];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.7517002339) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.2482997661) q[16];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7496140329) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2503859671) q[16];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7500703192) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2499296808) q[16];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.749989419) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.250010581) q[16];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.7500013431) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.2499986569) q[16];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "z q[25];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "z q[26];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7499998538) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2500001462) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[16];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "ry(pi*0.5) q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rx(pi*1.0) q[16];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[8];\n", + "rz(pi*1.7499999543) q[16];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz(pi*0.2500000457) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[10];\n", + "rx(pi*1.0) q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "z q[16];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[9];\n", + "sxdg q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[9],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "x q[11];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[6],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[7],q[6];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[6],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[6];\n", + "sx q[20];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[6],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[7],q[6];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[6],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[6];\n", + "sx q[22];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[6],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[7],q[6];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[6],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[6];\n", + "sx q[24];\n", + "rx(pi*1.0) q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[6],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[7],q[6];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[6],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[6];\n", + "sx q[26];\n", + "rx(pi*1.0) q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.5) q[9];\n", + "measure q[6] -> b[q[6]]\n", + "rx(pi*1.0) q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[8];\n", + "sxdg q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "ry(pi*0.5) q[7];\n", + "z q[25];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[7];\n", + "z q[26];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "x q[13];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[9],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[2];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[2],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.7500004508) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.2499995492) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "x q[13];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7499961573) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2500038427) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[13];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.7500278697) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.2499721303) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[13];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7498311619) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2501688381) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "x q[13];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7508337663) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2491662337) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "x q[13];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.7467570041) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.2532429959) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "x q[13];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.7594164003) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.2405835997) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "z q[25];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "z q[26];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "x q[13];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7315089373) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2684910627) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "z q[16];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[7];\n", + "sxdg q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[7],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "x q[11];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[4],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[5],q[4];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[4],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[4];\n", + "sx q[20];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[4],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[5],q[4];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[4],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[4];\n", + "sx q[22];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[4],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[5],q[4];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[4],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[4];\n", + "sx q[24];\n", + "rx(pi*1.0) q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[4],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[5],q[4];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[4],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[4];\n", + "sx q[26];\n", + "rx(pi*1.0) q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.5) q[7];\n", + "measure q[4] -> b[q[4]]\n", + "rx(pi*1.0) q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[6];\n", + "sxdg q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "ry(pi*0.5) q[5];\n", + "z q[25];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[5];\n", + "z q[26];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "x q[13];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[7],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[9];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[9],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[8];\n", + "rz(pi*1.7692663236) q[16];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz(pi*0.2307336764) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[10];\n", + "rx(pi*1.0) q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "z q[16];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[9];\n", + "sxdg q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[9],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "x q[11];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[6],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[7],q[6];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[6],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[6];\n", + "sx q[20];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[6],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[7],q[6];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[6],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[6];\n", + "sx q[22];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[6],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[7],q[6];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[6],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[6];\n", + "sx q[24];\n", + "rx(pi*1.0) q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[6],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[7],q[6];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[6],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[6];\n", + "sx q[26];\n", + "rx(pi*1.0) q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.5) q[9];\n", + "measure q[6] -> b[q[6]]\n", + "rx(pi*1.0) q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[8];\n", + "sxdg q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "ry(pi*0.5) q[7];\n", + "z q[25];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[7];\n", + "z q[26];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "x q[13];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[9],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[2];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[2],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.7506926852) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.2493073148) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "x q[13];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7329710057) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2670289943) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[13];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.7443466253) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.2556533747) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[13];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7600742311) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2399257689) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "x q[13];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7653508415) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2346491585) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "x q[13];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.7627268906) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.2372731094) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "x q[13];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.758325739) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.241674261) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "z q[25];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "z q[26];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "x q[13];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7555957932) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2444042068) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "z q[16];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[7];\n", + "sxdg q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[7],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "x q[11];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[4],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[5],q[4];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[4],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[4];\n", + "sx q[20];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[4],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[5],q[4];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[4],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[4];\n", + "sx q[22];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[4],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[5],q[4];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[4],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[4];\n", + "sx q[24];\n", + "rx(pi*1.0) q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[4],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[5],q[4];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[4],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[4];\n", + "sx q[26];\n", + "rx(pi*1.0) q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.5) q[7];\n", + "measure q[4] -> b[q[4]]\n", + "rx(pi*1.0) q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[6];\n", + "sxdg q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "ry(pi*0.5) q[5];\n", + "z q[25];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[5];\n", + "z q[26];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "x q[13];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[7],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[9];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[9],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[8];\n", + "rz(pi*1.7555957932) q[16];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz(pi*0.2444042068) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[10];\n", + "rx(pi*1.0) q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "z q[16];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[9];\n", + "sxdg q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[9],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "x q[11];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[6],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[7],q[6];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[6],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[6];\n", + "sx q[20];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[6],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[7],q[6];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[6],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[6];\n", + "sx q[22];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[6],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[7],q[6];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[6],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[6];\n", + "sx q[24];\n", + "rx(pi*1.0) q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[6],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[7],q[6];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[6],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[6];\n", + "sx q[26];\n", + "rx(pi*1.0) q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.5) q[9];\n", + "measure q[6] -> b[q[6]]\n", + "rx(pi*1.0) q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[8];\n", + "sxdg q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "ry(pi*0.5) q[7];\n", + "z q[25];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[7];\n", + "z q[26];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "x q[13];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[9],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[2];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[2],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.758325739) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.241674261) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "x q[13];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7627268906) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2372731094) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[13];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.7653508415) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.2346491585) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[13];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7600742311) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2399257689) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "x q[13];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7443466253) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2556533747) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "x q[13];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.7329710057) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.2670289943) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "x q[13];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.7506926852) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.2493073148) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "z q[25];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "z q[26];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "x q[13];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7692663236) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2307336764) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "z q[16];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[7];\n", + "sxdg q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[7],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "x q[11];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[4],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[5],q[4];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[4],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[4];\n", + "sx q[20];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[4],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[5],q[4];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[4],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[4];\n", + "sx q[22];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "x q[15];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[4],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[5],q[4];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[4],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[4];\n", + "sx q[24];\n", + "rx(pi*1.0) q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[4],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[5],q[4];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[4],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[4];\n", + "sx q[26];\n", + "rx(pi*1.0) q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "ry(pi*0.5) q[6];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.5) q[7];\n", + "measure q[4] -> b[q[4]]\n", + "rx(pi*1.0) q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[6];\n", + "sxdg q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "ry(pi*0.5) q[5];\n", + "z q[25];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[5];\n", + "z q[26];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "ry(pi*0.5) q[6];\n", + "x q[13];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[6];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[7],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[7],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[7];\n", + "sxdg q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[9];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[9],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[8];\n", + "rz(pi*1.7315089373) q[16];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz(pi*0.2684910627) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[10];\n", + "rx(pi*1.0) q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "z q[16];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "x q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[9];\n", + "sxdg q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[9],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[13],q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "x q[11];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[6],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[7],q[6];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[6],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[6];\n", + "sx q[20];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[6],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[7],q[6];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[6],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[6];\n", + "sx q[22];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "x q[15];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[6],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[7],q[6];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[6],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[6];\n", + "sx q[24];\n", + "rx(pi*1.0) q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[6],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[7],q[6];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[6],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[6];\n", + "sx q[26];\n", + "rx(pi*1.0) q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "ry(pi*0.5) q[8];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[18];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.5) q[9];\n", + "measure q[6] -> b[q[6]]\n", + "rx(pi*1.0) q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[8];\n", + "sxdg q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "ry(pi*0.5) q[7];\n", + "z q[25];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "ry(pi*0.5) q[7];\n", + "z q[26];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "ry(pi*0.5) q[8];\n", + "x q[13];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[8];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[9],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[9],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[9];\n", + "sxdg q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[2];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[2],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[10];\n", + "rz(pi*1.7594164003) q[16];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz(pi*0.2405835997) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[3];\n", + "rx(pi*1.0) q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "z q[16];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "x q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[2];\n", + "sxdg q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[2],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[13],q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "x q[11];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[8],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[9],q[8];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[8],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[8];\n", + "sx q[20];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[8],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[9],q[8];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[8],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[8];\n", + "sx q[22];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "x q[15];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[8],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[9],q[8];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[8],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[8];\n", + "sx q[24];\n", + "rx(pi*1.0) q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[8],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[9],q[8];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[8],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[8];\n", + "sx q[26];\n", + "rx(pi*1.0) q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "ry(pi*0.5) q[10];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[18];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*0.5) q[2];\n", + "measure q[8] -> b[q[8]]\n", + "rx(pi*1.0) q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[10];\n", + "sxdg q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "ry(pi*0.5) q[9];\n", + "z q[25];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "ry(pi*0.5) q[9];\n", + "z q[26];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "ry(pi*0.5) q[10];\n", + "x q[13];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[10];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[2],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[2],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[2];\n", + "sxdg q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[4];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[4],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[3];\n", + "rz(pi*1.7467570041) q[16];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz(pi*0.2532429959) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[5];\n", + "rx(pi*1.0) q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "z q[16];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "x q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[4];\n", + "sxdg q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[4],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[13],q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "x q[11];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[10],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[2],q[10];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[10],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[10];\n", + "sx q[20];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[10],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[2],q[10];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[10],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[10];\n", + "sx q[22];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "x q[15];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[10],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[2],q[10];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[10],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[10];\n", + "sx q[24];\n", + "rx(pi*1.0) q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[10],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[2],q[10];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[10],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[10];\n", + "sx q[26];\n", + "rx(pi*1.0) q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "ry(pi*0.5) q[3];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[18];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*0.5) q[4];\n", + "measure q[10] -> b[q[10]]\n", + "rx(pi*1.0) q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[3];\n", + "sxdg q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "ry(pi*0.5) q[2];\n", + "z q[25];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "ry(pi*0.5) q[2];\n", + "z q[26];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[13];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[4],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[4],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[4];\n", + "sxdg q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[6];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[6],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[5];\n", + "rz(pi*1.7508337663) q[16];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz(pi*0.2491662337) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[7];\n", + "rx(pi*1.0) q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "z q[16];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "x q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[6];\n", + "sxdg q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[6],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[13],q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "x q[11];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[3],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[4],q[3];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[3],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[3];\n", + "sx q[20];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[3],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[4],q[3];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[3],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[3];\n", + "sx q[22];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "x q[15];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[3],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[4],q[3];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[3],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[3];\n", + "sx q[24];\n", + "rx(pi*1.0) q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[3],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[4],q[3];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[3],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[3];\n", + "sx q[26];\n", + "rx(pi*1.0) q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "ry(pi*0.5) q[5];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[18];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*0.5) q[6];\n", + "measure q[3] -> b[q[3]]\n", + "rx(pi*1.0) q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[5];\n", + "sxdg q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "ry(pi*0.5) q[4];\n", + "z q[25];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "x q[17];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "ry(pi*0.5) q[4];\n", + "z q[26];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[13];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[6],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[6],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[6];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[6];\n", + "sxdg q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[8];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[8],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[7];\n", + "rz(pi*1.7498311619) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz(pi*0.2501688381) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "ry(pi*0.5) q[8];\n", + "cx q[1],q[9];\n", + "rx(pi*1.0) q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "ry(pi*0.5) q[8];\n", + "z q[16];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "x q[12];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[8];\n", + "sxdg q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[8],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[13],q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "x q[11];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[5],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[6],q[5];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[5],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[5];\n", + "sx q[20];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[5],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[6],q[5];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[5],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[5];\n", + "sx q[22];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "x q[15];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[5],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[6],q[5];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[5],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[5];\n", + "sx q[24];\n", + "rx(pi*1.0) q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "x q[14];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[5],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[6],q[5];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[5],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[5];\n", + "sx q[26];\n", + "rx(pi*1.0) q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "ry(pi*0.5) q[7];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "x q[18];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "x q[17];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*0.5) q[8];\n", + "measure q[5] -> b[q[5]]\n", + "rx(pi*1.0) q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "ry(pi*0.5) q[6];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[7];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[7];\n", + "sxdg q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "ry(pi*0.5) q[6];\n", + "z q[25];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "x q[17];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "ry(pi*0.5) q[6];\n", + "z q[26];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "ry(pi*0.5) q[7];\n", + "x q[13];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[7];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[8],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[8],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[8];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[8];\n", + "sxdg q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[7];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[10];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[10],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[9];\n", + "rz(pi*1.7500278697) q[16];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz(pi*0.2499721303) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "ry(pi*0.5) q[10];\n", + "cx q[1],q[2];\n", + "rx(pi*1.0) q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "ry(pi*0.5) q[10];\n", + "z q[16];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "x q[12];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[10];\n", + "sxdg q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[10],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "cx q[13],q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "x q[11];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[7],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[8],q[7];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[7],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[7];\n", + "sx q[20];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[7],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[8],q[7];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[7],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[7];\n", + "sx q[22];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "x q[15];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[7],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[8],q[7];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[7],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[7];\n", + "sx q[24];\n", + "rx(pi*1.0) q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "x q[14];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[7],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[8],q[7];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[7],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[7];\n", + "sx q[26];\n", + "rx(pi*1.0) q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "ry(pi*0.5) q[9];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "x q[18];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "x q[17];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "ry(pi*0.5) q[10];\n", + "measure q[7] -> b[q[7]]\n", + "rx(pi*1.0) q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "ry(pi*0.5) q[8];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[8];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[9];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[9];\n", + "sxdg q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "ry(pi*0.5) q[8];\n", + "z q[25];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "x q[17];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "ry(pi*0.5) q[8];\n", + "z q[26];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "ry(pi*0.5) q[9];\n", + "x q[13];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[9];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[10],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[10],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[10];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[10];\n", + "sxdg q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[9];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[3];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[3],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[2];\n", + "rz(pi*1.7499961573) q[16];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz(pi*0.2500038427) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "ry(pi*0.5) q[3];\n", + "cx q[1],q[4];\n", + "rx(pi*1.0) q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "ry(pi*0.5) q[3];\n", + "z q[16];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "x q[12];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[3];\n", + "sxdg q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[3],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "cx q[13],q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "x q[11];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[9],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[10],q[9];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[9],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[9];\n", + "sx q[20];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[9],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[10],q[9];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[9],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[9];\n", + "sx q[22];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "x q[15];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[9],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[10],q[9];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[9],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[9];\n", + "sx q[24];\n", + "rx(pi*1.0) q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "x q[14];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[9],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[10],q[9];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[9],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[9];\n", + "sx q[26];\n", + "rx(pi*1.0) q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "ry(pi*0.5) q[2];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "x q[18];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "x q[17];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "ry(pi*0.5) q[3];\n", + "measure q[9] -> b[q[9]]\n", + "rx(pi*1.0) q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "ry(pi*0.5) q[10];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[10];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[2];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[2];\n", + "sxdg q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "ry(pi*0.5) q[10];\n", + "z q[25];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "x q[17];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "ry(pi*0.5) q[10];\n", + "z q[26];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "ry(pi*0.5) q[2];\n", + "x q[13];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[3],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[3],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[3];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[3];\n", + "sxdg q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[2];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[5];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[5],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[4];\n", + "rz(pi*1.7500004508) q[16];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz(pi*0.2499995492) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "ry(pi*0.5) q[5];\n", + "cx q[1],q[6];\n", + "rx(pi*1.0) q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "ry(pi*0.5) q[5];\n", + "z q[16];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[27];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[27];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "x q[12];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rz(pi*1.5) q[11];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[15];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[15];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[14];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[14];\n", + "rx(pi*1.0) q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "ry(pi*0.6666666667) q[1];\n", + "z q[0];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.5) q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*1.0) q[6];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "ry(pi*-0.3524163823) q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz(pi*1.5) q[11];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "ry(pi*0.25) q[11];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "ry(pi*-0.25) q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[5];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[5];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "sx q[17];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "cx q[28],q[5];\n", + "sxdg q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[5],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "ry(pi*0.5) q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "cx q[13],q[5];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "ry(pi*0.5) q[4];\n", + "x q[11];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz(pi*1.5) q[19];\n", + "ry(pi*0.5) q[19];\n", + "cx q[2],q[19];\n", + "rz(pi*0.5) q[19];\n", + "cx q[3],q[2];\n", + "sx q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz(pi*1.5) q[20];\n", + "ry(pi*0.5) q[20];\n", + "cx q[2],q[20];\n", + "rz(pi*0.5) q[20];\n", + "ry(pi*0.5) q[2];\n", + "sx q[20];\n", + "rx(pi*1.0) q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz(pi*1.5) q[21];\n", + "ry(pi*0.5) q[21];\n", + "cx q[2],q[21];\n", + "rz(pi*0.5) q[21];\n", + "cx q[3],q[2];\n", + "sx q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz(pi*1.5) q[22];\n", + "ry(pi*0.5) q[22];\n", + "cx q[2],q[22];\n", + "rz(pi*0.5) q[22];\n", + "ry(pi*0.5) q[2];\n", + "sx q[22];\n", + "rx(pi*1.0) q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "ry(pi*0.5) q[3];\n", + "x q[15];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz(pi*1.5) q[23];\n", + "ry(pi*0.5) q[23];\n", + "cx q[2],q[23];\n", + "rz(pi*0.5) q[23];\n", + "cx q[3],q[2];\n", + "sx q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz(pi*1.5) q[24];\n", + "ry(pi*0.5) q[24];\n", + "cx q[2],q[24];\n", + "rz(pi*0.5) q[24];\n", + "ry(pi*0.5) q[2];\n", + "sx q[24];\n", + "rx(pi*1.0) q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "ry(pi*0.5) q[2];\n", + "x q[14];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz(pi*1.5) q[25];\n", + "ry(pi*0.5) q[25];\n", + "cx q[2],q[25];\n", + "rz(pi*0.5) q[25];\n", + "cx q[3],q[2];\n", + "sx q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz(pi*1.5) q[26];\n", + "ry(pi*0.5) q[26];\n", + "cx q[2],q[26];\n", + "rz(pi*0.5) q[26];\n", + "ry(pi*0.5) q[2];\n", + "sx q[26];\n", + "rx(pi*1.0) q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "ry(pi*0.5) q[4];\n", + "tdg q[17];\n", + "sx q[14];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "rx(pi*1.0) q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[1],q[15];\n", + "sxdg q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[11];\n", + "sxdg q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "sxdg q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "x q[12];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "x q[18];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "x q[17];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "ry(pi*0.5) q[5];\n", + "measure q[2] -> b[q[2]]\n", + "rx(pi*1.0) q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "ry(pi*0.5) q[3];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[4];\n", + "cx q[18],q[15];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "rx(pi*1.0) q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "rx(pi*1.0) q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[1],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "ry(pi*-0.5) q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[1],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "sx q[14];\n", + "cx q[13],q[4];\n", + "sxdg q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "ry(pi*0.5) q[5];\n", + "x q[18];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "cz q[3],q[25];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "x q[17];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "cz q[3],q[26];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[5];\n", + "cx q[17],q[14];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[17];\n", + "t q[14];\n", + "rx(pi*1.0) q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "cx q[18],q[15];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "ry(pi*-0.5) q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "ry(pi*0.5) q[4];\n", + "x q[13];\n", + "rx(pi*1.0) q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[4];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "sx q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "sx q[11];\n", + "cx q[5],q[15];\n", + "sxdg q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz(pi*1.5) q[11];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "sx q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "sx q[15];\n", + "cx q[5],q[14];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "sx q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "ry(pi*0.5) q[5];\n", + "s q[17];\n", + "sx q[14];\n", + "rx(pi*1.0) q[5];\n", + "sxdg q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "ry(pi*0.25) q[28];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "rx(pi*-1.0) q[28];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "ry(pi*-0.25) q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "ry(pi*0.5) q[4];\n", + "cx q[17],q[18];\n", + "rx(pi*1.0) q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "sx q[17];\n", + "sxdg q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "ry(pi*0.5) q[3];\n", + "x q[4];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "ry(pi*0.5) q[3];\n", + "x q[1];\n", + "x q[0];\n", + "rx(pi*1.0) q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "ry(pi*0.5) q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "rx(pi*1.0) q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "ry(pi*-0.5) q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz(pi*1.5) q[11];\n", + "cx q[27],q[17];\n", + "ry(pi*0.25) q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "ry(pi*-0.25) q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "sx q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "ry(pi*0.3524163823) q[0];\n", + "cx q[17],q[18];\n", + "ry(pi*0.25) q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "sx q[17];\n", + "rx(pi*-1.0) q[27];\n", + "ry(pi*-0.3524163823) q[0];\n", + "ry(pi*-0.6666666667) q[1];\n", + "sxdg q[18];\n", + "cx q[14],q[17];\n", + "ry(pi*-0.25) q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "ry(pi*0.25) q[14];\n", + "cx q[1],q[7];\n", + "ry(pi*0.25) q[15];\n", + "rx(pi*-1.0) q[14];\n", + "cx q[7],q[0];\n", + "rx(pi*-1.0) q[15];\n", + "ry(pi*-0.25) q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "ry(pi*-0.25) q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "ry(pi*0.5) q[6];\n", + "cx q[13],q[16];\n", + "rx(pi*1.0) q[6];\n", + "rz(pi*1.7499999543) q[16];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz(pi*0.2500000457) q[16];\n", + "x q[13];\n", + "ry(pi*0.5) q[5];\n", + "ry(pi*0.5) q[6];\n", + "ry(pi*0.5) q[13];\n", + "rx(pi*1.0) q[5];\n", + "rx(pi*1.0) q[6];\n", + "rx(pi*1.0) q[13];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[4];\n", + "rx(pi*1.0) q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[3];\n", + "rx(pi*1.0) q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[2];\n", + "rx(pi*1.0) q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[10];\n", + "rx(pi*1.0) q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[9];\n", + "rx(pi*1.0) q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[8];\n", + "rx(pi*1.0) q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "ry(pi*0.5) q[7];\n", + "cx q[1],q[8];\n", + "rx(pi*1.0) q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "ry(pi*0.5) q[7];\n", + "rx(pi*1.0) q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "ry(pi*0.5) q[7];\n", + "ry(pi*0.5) q[16];\n", + "rx(pi*1.0) q[7];\n", + "rx(pi*1.0) q[16];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "ry(pi*0.5) q[6];\n", + "rx(pi*1.0) q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "ry(pi*0.5) q[5];\n", + "rx(pi*1.0) q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "ry(pi*0.5) q[4];\n", + "rx(pi*1.0) q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "ry(pi*0.5) q[3];\n", + "rx(pi*1.0) q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "ry(pi*0.5) q[2];\n", + "rx(pi*1.0) q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "ry(pi*0.5) q[10];\n", + "rx(pi*1.0) q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "ry(pi*0.5) q[9];\n", + "rx(pi*1.0) q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "ry(pi*0.5) q[8];\n", + "rx(pi*1.0) q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n" + ] + } + ], + "source": [ + "for ctr,line in enumerate(openqasm(gate_qsvt.circuit,rotation_allowed=True)):\n", + " print(line)\n" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "// Generated from Cirq, Openfermion, and MIT LL\n", + "\n", + "OPENQASM 2.0;\n", + "include \"qelib1.inc\";\n", + "\n", + "// Qubits: [U, V, _ancilla_0, _ancilla_1, _ancilla_2, _ancilla_3, _ancilla_4, _ancilla_5, _ancilla_6, _ancilla_7, _ancilla_8, alpha, beta, control, p_x, p_y, phase, q_x, q_y, target0, target1, target2, target3, target4, target5, target6, target7, temp0, temp1]\n", + "qreg q[29];\n", + "\n", + "\n", + "sdg q[13];\n", + "h q[13];\n", + "rz_d(pi*0.5) q[13];\n", + "// (False, 0, 0, [S])\n", + "h q[13];\n", + "s q[13];\n", + "sdg q[16];\n", + "h q[16];\n", + "rz_d(pi*0.5) q[16];\n", + "// (False, 0, 0, [S])\n", + "h q[16];\n", + "s q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[19];\n", + "z q[20];\n", + "z q[21];\n", + "z q[22];\n", + "z q[23];\n", + "z q[24];\n", + "z q[25];\n", + "z q[26];\n", + "h q[13];\n", + "rz_d(pi*1.0) q[13];\n", + "// (False, 0, 0, [Z])\n", + "h q[13];\n", + "h q[16];\n", + "rz_d(pi*1.0) q[16];\n", + "// (False, 0, 0, [Z])\n", + "h q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[2];\n", + "t q[3];\n", + "t q[4];\n", + "t q[5];\n", + "t q[6];\n", + "t q[7];\n", + "t q[8];\n", + "t q[9];\n", + "t q[10];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.7499998538) q[16];\n", + "// (True, 40507356481889428083023830586, 97, [H, Z])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.2500001462) q[16];\n", + "// (False, 18451578338890603645493339299759, 104, [Z, H])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 59880978723701021118051026547, 99, [(S**-1), H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 4563692858273033626272351529761, 102, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 17803326493272561598676222203, 94, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 288424056922279049798056297557, 98, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 5297615641777959824447063805958, 103, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 16229104036433430170256594217532, 105, [Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7500013431) q[16];\n", + "// (False, 3089988881273244685696689247873, 102, [(S**-1), H, Z])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2499986569) q[16];\n", + "// (False, 480359103527227530766285138667, 101, [Z, H, (S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 248974056434995591136038880620, 98, [S, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 311591197299944649680579225046, 99, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 643713823552094223943967501059, 100, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1472662745777971296302703206290, 102, [Z, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 104347201876881126292109752353, 97, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 210482242104783325415643984870, 99, [(S**-1), H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.749989419) q[16];\n", + "// (True, 2228705994026643064441232480890, 101, [H])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.250010581) q[16];\n", + "// (False, 13828531016263979678687854272891, 104, [H, Z])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 516709445638933801669914950224, 99, [(S**-1), H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 2818913858696635489931174857332, 103, [Z, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 55477581327876684093365516698, 96, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1017691893604333678409613923847, 102, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 610479384306151563302136888959, 101, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 2150756102019191256693644290573, 101, [Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7500703192) q[16];\n", + "// (True, 287931496351665031084128521156, 98, [S, H, (S**-1)])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2499296808) q[16];\n", + "// (True, 382678849204827538514151400229, 99, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 77684532510750867207844101566, 99, [S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 275653289402049831982865991291, 100, [S, Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 635630321763444691186602554872, 100, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 23852552678116193975229267087, 97, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 82348064959753902711687238254, 97, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 512623337085282156194824629047, 99, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7496140329) q[16];\n", + "// (True, 314262381104593944855520095250, 98, [S])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2503859671) q[16];\n", + "// (True, 722340020892629667076652113771, 100, [Z, H, Z])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 291661103578595071550310928972, 99, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 5122704124161870482804748193500, 104, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 58753575749739378440041072330, 97, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 196630599761976458011951848087, 99, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 154249771616318626580965661700, 97, [X])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 857954068710118628357075420485, 100, [Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.7517002339) q[16];\n", + "// (True, 105722194312891544076814070455, 99, [(S**-1), H])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.2482997661) q[16];\n", + "// (False, 1099254123628217816570759251971, 101, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 3915315284565254048952871492396, 102, [S, X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 352277306111245769903439253591, 99, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 554602616960859275834116948752, 99, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 307010423188305028351965110544, 98, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1238580896403078076731284390710, 100, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 429217388143346529840359902220, 100, [])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.7442373993) q[16];\n", + "// (True, 554783923053923767531298000394, 99, [S, X])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.2557626007) q[16];\n", + "// (True, 227674312234668203013471355484, 99, [H, S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 1067647460517775127459165244313, 100, [H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1039139101255499227586174733649, 100, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 447701172359378523801100185962, 99, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[25];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1680091477629987079181709870101, 101, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 1500457706848108957808662019544, 101, [S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 18352739842697816125726734589171, 104, [Z, H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7639958942) q[16];\n", + "// (False, 42619109157011030380406953397, 96, [S, H])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2360041058) q[16];\n", + "// (True, 422556146419779157160146596965, 100, [(S**-1), H, S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 366076744474421192843763118460, 103, [S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 712205961197905336356724564022, 100, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 2316608185442637988724358672942, 101, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[7];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[4],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[4],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[4],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[4],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[4],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[4],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[4],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[4],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "measure q[4] -> b[q[4]]\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[25];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 224656187941110126783252648711, 99, [S, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 4904909181873379832579400813795, 103, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 405331918199469616029787996183, 99, [(S**-1), H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[9],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "rz_d(pi*1.7289578413) q[16];\n", + "// (True, 6951063109484279540364847187420, 103, [H])\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz_d(pi*0.2710421587) q[16];\n", + "// (True, 446757984066210681618471636055, 102, [Z])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 17514076504261263985432773778, 99, [H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 7961528621188784711844177890397, 103, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 878138272888574084499650768289, 101, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[9];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[6],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[6],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[6],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[6],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[6],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[6],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[6],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[6],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "measure q[6] -> b[q[6]]\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[25];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 583002048828941859543237034051, 102, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 1111382473761045891183694639719, 100, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 95646770848465577619998394771, 97, [S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[2],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.7616197485) q[16];\n", + "// (False, 762445494265388004723441046872, 102, [(S**-1)])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.2383802515) q[16];\n", + "// (False, 1583667170880024295065916397940, 101, [(S**-1), H, Z])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 1083835676181028942163605029731, 101, [H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 19753426531941392089146315379, 95, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2345927717761386178595394008014, 101, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 738551057466238459533655110480, 104, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 220584401748419508958323213145, 100, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 165162444957555219900418287997, 98, [S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7626967316) q[16];\n", + "// (True, 23803966322671883890421403777, 98, [Z, H, Z])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2373032684) q[16];\n", + "// (True, 235196586670392425770476968284, 99, [H, (S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 1428770418471707506082895198607, 101, [Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 296865183034698623887346993884, 99, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 33104746847804492188306441954, 96, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 16231059824898390646688974590131, 104, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 14417063359116162959087224381, 96, [S, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 312392447350282777532917961185, 98, [S, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.7405470039) q[16];\n", + "// (False, 109626378541304617280317442739, 101, [S, H])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.2594529961) q[16];\n", + "// (True, 558996442976398355146657431096, 99, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 545878988097812028723836376989, 99, [(S**-1), H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 32573882402479334231970988665, 99, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 8040114309083995442190569498, 97, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 2828451715764391594628783790789, 102, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1012252271861539282236016651452, 100, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 866274035957259055532144380222, 101, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7342729088) q[16];\n", + "// (True, 366195533868090039562483155664, 100, [H])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2657270912) q[16];\n", + "// (True, 3482675666938800613193537008874, 102, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 14984222068724942946017071379, 100, [H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 5969016828110803750422086989, 96, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 4536239052735783606454473993327, 102, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 7850994037847122748606318800073, 103, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 667109931934898762349561318973, 100, [S, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 4681119293630923881398561138012, 102, [(S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7433396697) q[16];\n", + "// (True, 140536399275975794610919564341, 99, [S, Y])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2566603303) q[16];\n", + "// (True, 9309041682311831479674978028149, 103, [Z, H, S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 84800236985578709440561617435, 100, [(S**-1), H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 493630554209797918952975537139, 99, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 16477718064252151028071803271, 98, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 181691010181754091022300440750, 99, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 68070904982109310764736533903, 97, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 239897824301842199695320588638, 98, [Z, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.7541708616) q[16];\n", + "// (True, 340097344754350273752176971125, 100, [S, H, (S**-1)])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.2458291384) q[16];\n", + "// (False, 362932279621424081159036515881, 100, [S, H])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 485291192797299194102665772929, 99, [(S**-1), H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 825540449209361748043906605162, 100, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 348112793424103828222749755432, 102, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 5953385046943194179852764331002, 103, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1128847494758229141320720758471, 101, [X])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 33056007753616374312162015845, 96, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.7607137452) q[16];\n", + "// (False, 5971553102500946010195839475097, 104, [(S**-1), H, Z])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.2392862548) q[16];\n", + "// (True, 1790995861149803341115458744167, 101, [H])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 427735174423629581583543424032, 101, [S, H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 90523522864255432694054655771, 98, [Z, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 535189016785910957436054065944, 101, [S, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[25];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 2321271083136501298532833928856, 104, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 905119092994848832707582095825, 100, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 2805097266926848343734331021610, 103, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7634035701) q[16];\n", + "// (False, 3397598180273570404352192860697, 102, [S])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2365964299) q[16];\n", + "// (False, 1065189729827224846008923996015, 103, [S, Y])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 852116544389028949221056490574, 100, [Z, H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 106157055364332042588782333741, 100, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 218828229254052339383573731336, 100, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[7];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[4],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[4],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[4],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[4],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[4],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[4],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[4],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[4],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "measure q[4] -> b[q[4]]\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[25];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 128915287607330356753884805304, 99, [S, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 518435277014911988703764532278, 100, [S, Y])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 208275857973697000050718052711, 100, [S, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[9],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "rz_d(pi*1.7640426226) q[16];\n", + "// (True, 31787649114021061510934708745, 96, [Z, H, (S**-1)])\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz_d(pi*0.2359573774) q[16];\n", + "// (True, 58814667732374298778276073148, 97, [Z, H])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 579810722098913731716203385504, 100, [X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 3160200277893150051941717023417, 102, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 624994928293116822810831232431, 99, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[9];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[6],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[6],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[6],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[6],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[6],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[6],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[6],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[6],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "measure q[6] -> b[q[6]]\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[25];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 15049334743896092456244294769366, 104, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 4601258997099321069290699874, 95, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 1180557131997127448025404474099, 102, [H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[2],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.7634035701) q[16];\n", + "// (False, 1038321535865466221572767704315, 101, [Z, H, Z])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.2365964299) q[16];\n", + "// (True, 292151607713347320806725887769, 99, [H])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 120756544181062733323448990830, 98, [H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 984591367900113400493590814354, 100, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1124738418112896180238346379228, 101, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 482076198311299254775880177511, 99, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 132904656907693109079277824765, 99, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 260218877783886623139039950122, 98, [(S**-1), H, S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7607137452) q[16];\n", + "// (True, 213662908718931527015437632347, 98, [S, X])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2392862548) q[16];\n", + "// (False, 36887123973295037674283576828067, 106, [(S**-1), H, Z])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 105943443869869299722004749368, 98, [S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 169580513289924040187616537684, 101, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 1378293877004892192425140696416, 101, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 142197926248643123948441127493, 98, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 20242784494878237278235970936, 101, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 2074810088721705167855072745153, 101, [Z, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.7541708616) q[16];\n", + "// (True, 340785786757544922749058773676, 100, [H, (S**-1)])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.2458291384) q[16];\n", + "// (True, 716579345790958985847471676782, 101, [S, H, (S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 136637271672582490858589230064, 98, [S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 165239503063952505510025688357, 101, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 587398614617321834415463331661, 99, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 303391447116962788880225691272, 99, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 334346846897363891669944905671, 101, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 1527955186716009912725189367902, 101, [S, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7433396697) q[16];\n", + "// (False, 616194210176114463411395923095, 100, [H, (S**-1)])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2566603303) q[16];\n", + "// (True, 167863103173005714666376557406, 98, [Y])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 19709883092471760223901473282, 98, [S, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 34815094358736834350932938988451, 105, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 4684139521513083507518972110, 95, [S, Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 101583743003138727822765354852, 99, [S, Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 357964983570888988174598115083, 100, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 486246046689669457561377696023, 99, [])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7342729088) q[16];\n", + "// (False, 3215509118686948923019680039065, 102, [])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2657270912) q[16];\n", + "// (True, 236989549708400706915049436860, 101, [H])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 61386152884869125585714852995, 97, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 969252745866798516296863657508, 100, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 12458417779854989259803827529, 94, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1216834775462102499218289883910, 101, [Z, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 440153835746701338417042082246, 99, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 421013991942562181987612573769, 99, [Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.7405470039) q[16];\n", + "// (True, 55730583189589514339392670759, 98, [Z, H, S])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.2594529961) q[16];\n", + "// (True, 929065909005795210637163183071, 100, [(S**-1), H])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 215959968016480907501935667578, 98, [S, X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 679270028004830954774110704321, 100, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2457815043995123346340891204358, 102, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 184337621234336362314599402458, 101, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1119957478801941319247480901286, 100, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 612280329124180585910354170674, 99, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.7626967316) q[16];\n", + "// (True, 387498910821268165950694707966, 100, [S, H, (S**-1)])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.2373032684) q[16];\n", + "// (False, 82550916357233496297510549557, 97, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 317159058771415358352420151423, 99, [H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 85538481250555957976692758274, 98, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 257237543514749118775041633619, 98, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[25];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 6858101362744765433003898679607, 105, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 47368806796944445761281224415, 98, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 264641894479219549519801787257, 98, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7616197485) q[16];\n", + "// (False, 311558648990838009337350912864, 98, [S])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2383802515) q[16];\n", + "// (False, 198659705053858473582734550237, 99, [S, H])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 2002082970734661796774786312680, 101, [(S**-1), H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 2493224512504054837181787228837, 101, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 1129987435832611483003875245545, 100, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[7];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[4],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[4],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[4],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[4],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[4],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[4],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[4],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[4],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "measure q[4] -> b[q[4]]\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[25];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 83280874970878463360814943219, 102, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 1717724034324398830466627937961, 101, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 377331834399743003665920148436, 99, [H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[9],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "rz_d(pi*1.7289578413) q[16];\n", + "// (True, 38499600956339187989178220383, 95, [H, S])\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz_d(pi*0.2710421587) q[16];\n", + "// (True, 310932979599216928807407722076, 100, [Z, H, (S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 3634642984822383486154853074305, 103, [S, H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 5863604378436529896158861280718, 103, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 108003282596684883848390664036, 98, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[9];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[6],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[6],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[6],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[6],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[6],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[6],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[6],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[6],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "measure q[6] -> b[q[6]]\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[25];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 13471598167217930923542995572, 99, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 9375967405210513827148377071882, 103, [])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 2596989653081424319414418921919, 103, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[2],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.7639958942) q[16];\n", + "// (False, 549532711565326929655924237678, 100, [H, S])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.2360041058) q[16];\n", + "// (True, 1438577579730537570234691955185, 101, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 756107858570900835229741823858, 100, [H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1108469169601888537355552261532, 100, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 200230582265928695830441151013, 98, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 66927327157522638369447782009, 102, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1023921255893692775650801199362, 100, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 208898149861677043238915339238, 98, [(S**-1), H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7442373993) q[16];\n", + "// (False, 4831456233390471822265877699555, 102, [S, H])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2557626007) q[16];\n", + "// (False, 454050203249306387128199591900, 99, [(S**-1), H])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 252352917388336492628768517871, 98, [S, H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 9072329661328716631273818064762, 103, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 2332516387995985928662776222838, 101, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 7675765987454714220967139213476, 103, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 240071977009085325041902779004, 99, [])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 842621074260689330879926125458, 100, [S, X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.7517002339) q[16];\n", + "// (True, 161500052259664708568936958477, 98, [Z, H, Z])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.2482997661) q[16];\n", + "// (False, 65125961263010063194607709782, 99, [H, Z])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 399435614807806377991240263642, 102, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1400072261303747805687679298301, 101, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 304637194666055871033234823322, 98, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 259478777604527188701897650301, 99, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 6248456520740516206467325484903, 104, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 1793875608472007099851183213419, 101, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7496140329) q[16];\n", + "// (True, 1033410257629208015166205193549, 100, [S, H, (S**-1)])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2503859671) q[16];\n", + "// (True, 221850465154006887973293063481, 98, [Z])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 21041689174968875277198238660, 97, [H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 590763118054233332185990344600, 99, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 329020228425915521909827973486, 103, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 144020964566374976007869831435, 97, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 48399904114592182908177363879, 98, [Z, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 140354343305435708909798506523, 97, [S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7500703192) q[16];\n", + "// (False, 27205588642876265774548416194, 100, [Z])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2499296808) q[16];\n", + "// (False, 5179783993922733167298536241450, 103, [(S**-1), H, S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 643241309352804782638394552476, 102, [Z, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 523498337082798249983657110622, 101, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 500029127917307363968652791519, 99, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 8470948335394475390645922734045, 103, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 285549534472306923864316847896, 98, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 428800776245713036699844711442, 101, [])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.749989419) q[16];\n", + "// (True, 75210117147132060157018590086, 97, [Z])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.250010581) q[16];\n", + "// (True, 444946456307276046342351589577, 99, [X])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 1409528886799534093367047830579, 101, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1019041268657376586886369101482, 101, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 303966758493393934867948878603, 98, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 151250989496867020558000660454, 97, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 15211864762557686783789470545183, 105, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 469099609780007497072687416680, 101, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.7500013431) q[16];\n", + "// (False, 6333035072763958009253567038479, 103, [Z, H, S])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.2499986569) q[16];\n", + "// (False, 2221887944040408763620970626629, 103, [(S**-1), H])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 314236685361332249339637865089, 100, [(S**-1), H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 486302293992458166298023760976, 100, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 204697960187469778389586546700, 105, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[25];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 144518941131893190331413206845, 98, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 627927333086620011737921201525, 102, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 81323084746846771867771957645, 98, [S, H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7499998538) q[16];\n", + "// (False, 56347483889103953994222007208, 98, [H])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2500001462) q[16];\n", + "// (True, 440992581256377815198546422488, 99, [(S**-1), H, S])\n", + "x q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[16];\n", + "h q[16];\n", + "rz_d(pi*0.5) q[16];\n", + "// (False, 0, 0, [S])\n", + "h q[16];\n", + "s q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[16];\n", + "rz_d(pi*1.0) q[16];\n", + "// (False, 0, 0, [Z])\n", + "h q[16];\n", + "measure q[7] -> b[q[7]]\n", + "sdg q[16];\n", + "h q[16];\n", + "rz_d(pi*0.5) q[16];\n", + "// (False, 0, 0, [S])\n", + "h q[16];\n", + "s q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "h q[16];\n", + "rz_d(pi*1.0) q[16];\n", + "// (False, 0, 0, [Z])\n", + "h q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "rz_d(pi*1.7499999543) q[16];\n", + "// (False, 1222968716580063586030093695634, 102, [(S**-1), H, Z])\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz_d(pi*0.2500000457) q[16];\n", + "// (True, 72923029462937406885187211205, 96, [Z, H, (S**-1)])\n", + "x q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 8974639452099098085773977271387, 103, [H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 335691080661804395957461985215, 100, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2407805310767225867279864007097, 101, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[9];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[6],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[6],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[6],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[6],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[6],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[6],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[6],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[6],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "measure q[6] -> b[q[6]]\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[25];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[13];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 7766482901546139590693839329775, 103, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 9383225533708176855619306471440, 103, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 111798556658128965949878614867, 99, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[2],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.7500004508) q[16];\n", + "// (False, 218814787745544790534660676271, 98, [(S**-1)])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.2499995492) q[16];\n", + "// (False, 2664464475151267497786881421914, 102, [S])\n", + "x q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 410156100375364348119260337444, 99, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 398905948414714723929728670068, 99, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 344395130982045416012438180599, 101, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[13];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 195180109317478050310912105627, 101, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2200783657102898956834769105946, 102, [S, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 319267509555919980545741344389, 99, [H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7499961573) q[16];\n", + "// (False, 386781747205550619393138010057, 99, [S, Y])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2500038427) q[16];\n", + "// (False, 1102390843065051678628096815084, 100, [S, H, Z])\n", + "x q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 6905393516999323232514930328263, 104, [X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 474144432868119687508101680157, 99, [S, Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2528552856016586399599603389662, 101, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[13];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 158128002580159171008213965094, 98, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 23610382016390212292220862430745, 105, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 140969266814469845895427401836, 97, [Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.7500278697) q[16];\n", + "// (True, 38889983918222008212494801346, 95, [H, (S**-1)])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.2499721303) q[16];\n", + "// (False, 379768134883729440460863177715, 103, [])\n", + "x q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 2434084321382994377828275253744, 102, [Z, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 4079183281873068665666707292652, 102, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 4581546109471058749371091253219, 102, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[13];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 2190120853763827694744769240606, 101, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 206647191062673779451133903210, 98, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 72862912478384220724407720609, 97, [S, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7498311619) q[16];\n", + "// (False, 1974069261855946252532500664033, 102, [Z])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2501688381) q[16];\n", + "// (True, 82326461719300663651518134137, 98, [(S**-1), H, (S**-1)])\n", + "x q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 197300305476938143749995362989, 98, [X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 261647331800548961725922424865, 98, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 4838372292783127921537191346890, 102, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[13];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 38211103700647143942525887005, 97, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 165915555808058764251103609331, 100, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 159015301038123566331194807868, 102, [H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7508337663) q[16];\n", + "// (False, 197305483977799823028549188860, 98, [Y])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2491662337) q[16];\n", + "// (True, 306817841809211470773520150159, 101, [S, X])\n", + "x q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 2522512731680142497378409496759, 101, [S, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 469547028837913455492523667876, 100, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 889435712306081675804287948307, 100, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[13];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 15069141970988951865868210667110, 104, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 497782511125155487404443102524, 100, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 1146508257373919158001313289472, 102, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.7467570041) q[16];\n", + "// (False, 4385972133847476103485353964546, 103, [H, S])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.2532429959) q[16];\n", + "// (False, 68652363622391896691548157163, 99, [(S**-1), H, Z])\n", + "x q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 1755241798737829926757866762811, 102, [(S**-1), H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 291647211310515141832424022369, 99, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 37069291484137998055139373017, 95, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[13];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 414573756847681507945016404696, 100, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 262811322943779584169606542056, 99, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 190662798292421319358202528425, 101, [H, S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.7594164003) q[16];\n", + "// (True, 8961355907725163424668839005, 98, [Y])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.2405835997) q[16];\n", + "// (True, 79585222480122979112690567287, 99, [(S**-1)])\n", + "x q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 1023032418645636261326307909657, 102, [Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 542404615427285898331775272063, 100, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 572577946972326196926873404440, 99, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[25];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[13];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 60637120481697139401321693205, 97, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 7158032245167278467892770716640, 103, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 1274943628070272701917928689226, 102, [(S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7315089373) q[16];\n", + "// (False, 54853673539634758405779546611, 98, [(S**-1), H, (S**-1)])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2684910627) q[16];\n", + "// (True, 263000811056770770479048995550, 100, [S, H, Z])\n", + "x q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 404501799683541444435785987557, 99, [(S**-1), H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1294573543542425497603079962479, 103, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 3367627893533035077218321815702, 103, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[7];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[4],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[4],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[4],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[4],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[4],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[4],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[4],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[4],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "measure q[4] -> b[q[4]]\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[25];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[13];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 431555690418738722389428288470, 99, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 1170616781799755061575482158336, 101, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 101691033652943770444704462586, 98, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[9],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "rz_d(pi*1.7692663236) q[16];\n", + "// (True, 1200212243585029955353645616649, 100, [H, (S**-1)])\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz_d(pi*0.2307336764) q[16];\n", + "// (False, 1198148164502807333785852633951, 100, [S])\n", + "x q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 227387653708086366862232005425, 98, [S, H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 411356712952800175846566792198, 101, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 140405197812008963927918980050, 97, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[9];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[6],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[6],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[6],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[6],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[6],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[6],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[6],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[6],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "measure q[6] -> b[q[6]]\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[25];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[13];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 5243573609406846671141406459911, 103, [S, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 113616490427481432141845247133, 99, [X])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 601980631276583789494404530637, 100, [S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[2],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.7506926852) q[16];\n", + "// (True, 66831000168511581713437741168, 97, [S, H, (S**-1)])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.2493073148) q[16];\n", + "// (True, 861539438670837829629853263443, 100, [(S**-1), H, (S**-1)])\n", + "x q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 1256713103552094064501875063248, 100, [H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 106019126534444667482378229159, 98, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 938317975750734643958252910592, 101, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[13];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 37124086541502589465726759340, 99, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1200763823937494103806835754104, 100, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 162148605209915096618509345876, 103, [H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7329710057) q[16];\n", + "// (True, 363298664883936083366219668055, 99, [S, H, Z])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2670289943) q[16];\n", + "// (False, 200513776341500728126498674784, 98, [(S**-1), H, Z])\n", + "x q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 5232646377878285644055052519, 99, [(S**-1), H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1882239453398276966864645658445, 102, [S, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 143283705343639894619304671528, 99, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[13];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1121346250543142853359095838991, 101, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 544933781041163027903428468085, 99, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 125991098969421377278085057439, 98, [Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.7443466253) q[16];\n", + "// (True, 2898497377447889470140428253836, 102, [(S**-1), H, Z])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.2556533747) q[16];\n", + "// (True, 70808519321975551744226951078628, 106, [])\n", + "x q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 4907051373967265098515092505513, 102, [H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 794800322313944342761803444813, 100, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 11552638783375877817515166267, 95, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[13];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 83950604454313923926001847354, 98, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 514622944297430361688941726227, 99, [])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 324781804073179844171814060349, 99, [S, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7600742311) q[16];\n", + "// (True, 84589113343049351715539679896, 98, [Z, H, (S**-1)])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2399257689) q[16];\n", + "// (False, 1270396576527908189391782527342, 101, [(S**-1), H])\n", + "x q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 293729718938544687425333709169, 100, [S, H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 138276504492036552404948816416, 98, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 35438187816369053347164170474, 95, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[13];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 4937002739097655731249867265019, 102, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 60973140428205102176457568038, 99, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 25611942480565380040833085566, 100, [Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7653508415) q[16];\n", + "// (False, 88312367827640660589511640984, 99, [Y])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2346491585) q[16];\n", + "// (False, 482413030080858505013682837237, 100, [H, (S**-1)])\n", + "x q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 2937809775459603571882437099390, 102, [Z, H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 768412789178958413172337040896, 101, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 383912806463532243852203836507, 100, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[13];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1503690117753261258464280158879, 102, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 228836320857220366887302607026, 98, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 1155338997794126642646664944147, 102, [H, S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.7627268906) q[16];\n", + "// (False, 4954358432746995470953031945119, 103, [Z, H, Z])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.2372731094) q[16];\n", + "// (True, 531320485813103310182195197574, 99, [(S**-1), H, Z])\n", + "x q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 24425844140222924336248236752, 98, [S, H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 8360590198530002449839517807796, 104, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 100504974561919809453368348701, 98, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[13];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 33834628198209776526557978271, 95, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 968271815132392806359472321217, 100, [S, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 568957206132874067306102042627, 101, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.758325739) q[16];\n", + "// (True, 74760932869453648057179532930, 98, [(S**-1), H])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.241674261) q[16];\n", + "// (False, 613621093525575637774043950394, 101, [H, (S**-1)])\n", + "x q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 1098712625473823718371634748929, 100, [Y])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 480310153105654349680033641929, 100, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 30487613309677006476987442194, 96, [S, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[25];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[13];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1101201946831734098397120309946, 100, [Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 415395626137889916297166411037, 99, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 110625898542774163041593664440, 98, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7555957932) q[16];\n", + "// (True, 284114687076291302792013140788, 100, [S, Y])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2444042068) q[16];\n", + "// (False, 1748330617592011139015701099556, 101, [Z, H, Z])\n", + "x q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 1021805042961552229797798327952, 100, [S, X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 3497743988778687945307208299107, 103, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 2558859962325306843425761838962, 102, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[7];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[4],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[4],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[4],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[4],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[4],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[4],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[4],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[4],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "measure q[4] -> b[q[4]]\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[25];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[13];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 541404196519033221445629993599, 99, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 578478066882729758742812912683, 100, [H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 503019661394313528221737384436, 99, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[9],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "rz_d(pi*1.7555957932) q[16];\n", + "// (False, 1774811538682193461097556030349, 101, [H, (S**-1)])\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz_d(pi*0.2444042068) q[16];\n", + "// (False, 113401164878610323820313624534, 99, [H, S])\n", + "x q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 12106675308694143404393769787877, 104, [H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1239720176943748900397257907821, 101, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 151037190613371077504150340450, 97, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[9];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[6],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[6],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[6],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[6],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[6],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[6],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[6],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[6],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "measure q[6] -> b[q[6]]\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[25];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[13];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 322361352894725266048713822588, 104, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 4038972296768455573900731744017, 102, [])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 2448721798368253442137868160789, 101, [S, X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[2],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.758325739) q[16];\n", + "// (True, 159170224230168426466558120566, 98, [S, X])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.241674261) q[16];\n", + "// (False, 9769656613152580370021407884026, 103, [(S**-1), H])\n", + "x q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 1058747960911426720120754622505, 100, [(S**-1), H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 13642347608890548228178900069, 101, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 4374077108001895373968581352088, 102, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[13];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 761520493479791103516914280566, 100, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 2211301476220631344175776920639, 101, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 1635874810993002847610375411866, 101, [H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7627268906) q[16];\n", + "// (False, 818565009984862165913344448876, 100, [X])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2372731094) q[16];\n", + "// (False, 3180073833328836390080050431900, 103, [S, X])\n", + "x q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 355041132058502855699874024161, 99, [Z, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 71150238452619355177184430601, 99, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 4564176643793112789183589437082, 103, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[13];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 289727887773555537884418406887, 98, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 173194774039511588422638053453, 98, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 972614776585261967918394978464, 100, [(S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.7653508415) q[16];\n", + "// (False, 16284240969580379238290527811363, 104, [Z])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.2346491585) q[16];\n", + "// (False, 1258805165658360640955883740564, 103, [S, H, Z])\n", + "x q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 70190153996065804996714348012, 100, [Z, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1247804319659460694889274461780, 100, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 627456182695847155123591867501, 99, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[13];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 4143411082875438600012476197954, 103, [H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2771801950246364925680100685027, 102, [S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 229914327092128500790165854599, 100, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7600742311) q[16];\n", + "// (True, 65821423212764509398120707494, 97, [Z, H, (S**-1)])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2399257689) q[16];\n", + "// (True, 226981813028483024759256574699, 98, [S])\n", + "x q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 69420016221568265953358518901, 101, [X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1262762008070958833490995353608, 100, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 6561718910990212699742074638065, 104, [H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[13];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 114965099617289190556760859244, 98, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 798965111520388854145192545185, 103, [Z, H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 41091767125298846278709468138, 97, [(S**-1), H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7443466253) q[16];\n", + "// (True, 1336934527029786875692646722472, 101, [Z, H, S])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2556533747) q[16];\n", + "// (True, 124008428838200192131509840377, 100, [S, X])\n", + "x q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 420123805458797626265379682025, 100, [S, X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 4569062344229078534932066052983, 102, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 220032743632816703516690118371, 98, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[13];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 79774443830864785976227608186, 99, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 34480894445781631009334711661, 96, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 916662313341834522798635847010, 101, [S])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.7329710057) q[16];\n", + "// (False, 1209755522606974215846112036348, 101, [(S**-1), H, Z])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.2670289943) q[16];\n", + "// (True, 298658343886769083006029694354, 100, [X])\n", + "x q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 70286423628729824778595807858, 96, [(S**-1), H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 478830672482701813759825195353, 99, [S, Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 73541744707233870912005827539, 96, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[13];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 4612111305187897581943495873224, 102, [])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 285203876933382307409357292233, 98, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 3927172037764502233200041499094, 102, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.7506926852) q[16];\n", + "// (True, 1841042891799329784486797107882, 102, [H, Z])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.2493073148) q[16];\n", + "// (False, 1177795527197964453459686426046, 100, [(S**-1), H, S])\n", + "x q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 3116655977312353341052980592624, 102, [X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 2707462057783557921263695897672, 102, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2291429707304971405421304585724, 102, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[19];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "z q[21];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "z q[23];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[25];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "z q[24];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[13];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 142781084988342362079418862321, 100, [S, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 664699236060154685005483050765, 101, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 2392063835746963387139264284006, 101, [Z, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7692663236) q[16];\n", + "// (False, 9313842432788472809154592814954, 104, [Z])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2307336764) q[16];\n", + "// (True, 859506510367873902809546828985, 100, [S, Y])\n", + "x q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[27];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 268216503096731585981496858915, 102, [(S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 1403939073358249206112973809211, 101, [Z, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[8];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 305246338632218582939956035509, 98, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[6];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "cx q[6],q[7];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[7];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[7],q[6];\n", + "cx q[17],q[14];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[7];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[7],q[6];\n", + "t q[18];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[7] -> b[q[7]]\n", + "x q[11];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[1];\n", + "t q[6];\n", + "cx q[13],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[4],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[7],q[19];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[4],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[20];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[4],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[7],q[21];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[4],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[22];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[4],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[7],q[23];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[4],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[24];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[24];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[4],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[5],q[4];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[7],q[25];\n", + "cx q[4],q[7];\n", + "s q[4];\n", + "cx q[4],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[4],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[26];\n", + "measure q[4] -> b[q[4]]\n", + "cz q[7],q[26];\n", + "if (b[q[4]]==1) cz q[5],q[14];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[15];\n", + "reset q[5];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[11];\n", + "reset q[6];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[6];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[13];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[19];\n", + "cz q[7],q[19];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[19];\n", + "cx q[4],q[20];\n", + "cz q[7],q[20];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[20];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[21];\n", + "cz q[7],q[21];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "z q[21];\n", + "cx q[4],q[22];\n", + "cz q[7],q[22];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "z q[22];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "cx q[13],q[6];\n", + "x q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[23];\n", + "cz q[7],q[23];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[24];\n", + "cz q[7],q[24];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "cx q[6],q[5];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[25];\n", + "cz q[7],q[25];\n", + "cx q[5],q[4];\n", + "cx q[4],q[7];\n", + "cx q[4],q[26];\n", + "cz q[7],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "measure q[4] -> b[q[4]]\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "if (b[q[4]]==1) cz q[5],q[17];\n", + "reset q[4];\n", + "t q[7];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[6],q[18];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[18];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[13],q[12];\n", + "reset q[6];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[6];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[6];\n", + "cx q[6],q[1];\n", + "cx q[6],q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[23];\n", + "cx q[7],q[5];\n", + "z q[23];\n", + "cz q[5],q[25];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[25];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "cx q[6],q[7];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[7],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[7];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cz q[5],q[24];\n", + "cx q[7],q[5];\n", + "z q[24];\n", + "cz q[5],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[7],q[17];\n", + "reset q[5];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "t q[18];\n", + "if (b[q[6]]==1) cz q[1],q[13];\n", + "reset q[6];\n", + "x q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[13];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[0],q[6];\n", + "cx q[1],q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "x q[0];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[1];\n", + "x q[0];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "x q[1];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "t q[7];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[11];\n", + "cx q[11],q[12];\n", + "t q[7];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[7],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[7],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[15];\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[7],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[7],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[6];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 77141779072600353995118510302, 96, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 6722867131164877241000387199844, 103, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 35697398275073799138859524086, 95, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[9];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[9];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[9],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "rz_d(pi*1.7315089373) q[16];\n", + "// (True, 482933304842436408768791008285, 99, [S, Y])\n", + "measure q[8] -> b[q[8]]\n", + "cx q[13],q[16];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "rz_d(pi*0.2684910627) q[16];\n", + "// (False, 615774555138602493119089109142, 99, [Z, H, (S**-1)])\n", + "x q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[0],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[10],q[0];\n", + "t q[9];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[27];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 19452987228370642644663354968227, 104, [Z, H])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 90074865687308888247197791555, 99, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[10];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 1833757106802560967155853679381, 101, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[8];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "cx q[8],q[9];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[9];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[9],q[8];\n", + "cx q[17],q[14];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[9];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[9],q[8];\n", + "t q[18];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "t q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[9] -> b[q[9]]\n", + "x q[11];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[13],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[1];\n", + "t q[8];\n", + "cx q[13],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[6],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[9],q[19];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[6],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[20];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[6],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[9],q[21];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[6],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[22];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[6],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[9],q[23];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[6],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[24];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[24];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[6],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[7],q[6];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[9],q[25];\n", + "cx q[6],q[9];\n", + "s q[6];\n", + "cx q[6],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[6],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[26];\n", + "measure q[6] -> b[q[6]]\n", + "cz q[9],q[26];\n", + "if (b[q[6]]==1) cz q[7],q[14];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[15];\n", + "reset q[7];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[11];\n", + "reset q[8];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[8];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[13];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[19];\n", + "cz q[9],q[19];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[19];\n", + "cx q[6],q[20];\n", + "cz q[9],q[20];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[20];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[21];\n", + "cz q[9],q[21];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "z q[21];\n", + "cx q[6],q[22];\n", + "cz q[9],q[22];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "z q[22];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "cx q[13],q[8];\n", + "x q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[23];\n", + "cz q[9],q[23];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[24];\n", + "cz q[9],q[24];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "cx q[8],q[7];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[25];\n", + "cz q[9],q[25];\n", + "cx q[7],q[6];\n", + "cx q[6],q[9];\n", + "cx q[6],q[26];\n", + "cz q[9],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "measure q[6] -> b[q[6]]\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "if (b[q[6]]==1) cz q[7],q[17];\n", + "reset q[6];\n", + "t q[9];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[8],q[18];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[18];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[13],q[12];\n", + "reset q[8];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[8];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[8];\n", + "cx q[8],q[1];\n", + "cx q[8],q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[23];\n", + "cx q[9],q[7];\n", + "z q[23];\n", + "cz q[7],q[25];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[25];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "cx q[8],q[9];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[9],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[9];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cz q[7],q[24];\n", + "cx q[9],q[7];\n", + "z q[24];\n", + "cz q[7],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "z q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[9],q[17];\n", + "reset q[7];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "t q[18];\n", + "if (b[q[8]]==1) cz q[1],q[13];\n", + "reset q[8];\n", + "x q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[13];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[0],q[8];\n", + "cx q[1],q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "x q[0];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[1];\n", + "x q[0];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "x q[1];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "t q[9];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[11];\n", + "cx q[11],q[12];\n", + "t q[9];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[9],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[9],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[15];\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[9],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[9],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[8];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1265595761464391126990185389948, 100, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 661669933215278805520848966912, 100, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 942691074653141875271061114221, 100, [Y])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[2];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[2];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[2],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "rz_d(pi*1.7594164003) q[16];\n", + "// (False, 2002830012542113564091645045662, 101, [(S**-1), H, (S**-1)])\n", + "measure q[10] -> b[q[10]]\n", + "cx q[13],q[16];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "rz_d(pi*0.2405835997) q[16];\n", + "// (True, 838034495865165293436977715957, 100, [])\n", + "x q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[0],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[3],q[0];\n", + "t q[2];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[27];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 42668404826792428091301808590, 99, [H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 307501672948124144297774485850, 99, [(S**-1), H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[3];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 3428625804145748320131830291288, 102, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[10];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "cx q[10],q[2];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[2];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[2],q[10];\n", + "cx q[17],q[14];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[2];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[2],q[10];\n", + "t q[18];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "t q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[2] -> b[q[2]]\n", + "x q[11];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[13],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[1];\n", + "t q[10];\n", + "cx q[13],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[8],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[2],q[19];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[8],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[20];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[8],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[2],q[21];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[8],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[22];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[8],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[2],q[23];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[8],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[24];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[24];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[8],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[9],q[8];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[2],q[25];\n", + "cx q[8],q[2];\n", + "s q[8];\n", + "cx q[8],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[8],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[26];\n", + "measure q[8] -> b[q[8]]\n", + "cz q[2],q[26];\n", + "if (b[q[8]]==1) cz q[9],q[14];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[15];\n", + "reset q[9];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[11];\n", + "reset q[10];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[10];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[13];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[19];\n", + "cz q[2],q[19];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[19];\n", + "cx q[8],q[20];\n", + "cz q[2],q[20];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[20];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[21];\n", + "cz q[2],q[21];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "z q[21];\n", + "cx q[8],q[22];\n", + "cz q[2],q[22];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "z q[22];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "cx q[13],q[10];\n", + "x q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[23];\n", + "cz q[2],q[23];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[24];\n", + "cz q[2],q[24];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "cx q[10],q[9];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[25];\n", + "cz q[2],q[25];\n", + "cx q[9],q[8];\n", + "cx q[8],q[2];\n", + "cx q[8],q[26];\n", + "cz q[2],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "measure q[8] -> b[q[8]]\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "if (b[q[8]]==1) cz q[9],q[17];\n", + "reset q[8];\n", + "t q[2];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[10],q[18];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[18];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[13],q[12];\n", + "reset q[10];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[10];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[10];\n", + "cx q[10],q[1];\n", + "cx q[10],q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[23];\n", + "cx q[2],q[9];\n", + "z q[23];\n", + "cz q[9],q[25];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[25];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "cx q[10],q[2];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[2],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[2];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cz q[9],q[24];\n", + "cx q[2],q[9];\n", + "z q[24];\n", + "cz q[9],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "z q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[2],q[17];\n", + "reset q[9];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "t q[18];\n", + "if (b[q[10]]==1) cz q[1],q[13];\n", + "reset q[10];\n", + "x q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[13];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[0],q[10];\n", + "cx q[1],q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "x q[0];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[1];\n", + "x q[0];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "x q[1];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "t q[2];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[11];\n", + "cx q[11],q[12];\n", + "t q[2];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[2],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[2],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[15];\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[2],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[2],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[10];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 393687524932052626909583161823, 100, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 964618784966779088486075507609, 101, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 17645356180079549704428863824593, 104, [Z, H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[4];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[4];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[4],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "rz_d(pi*1.7467570041) q[16];\n", + "// (True, 216574786268529113701790781734, 98, [Z, H])\n", + "measure q[3] -> b[q[3]]\n", + "cx q[13],q[16];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "rz_d(pi*0.2532429959) q[16];\n", + "// (True, 501280667030531155850948785158, 100, [H, (S**-1)])\n", + "x q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[0],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[5],q[0];\n", + "t q[4];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[27];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[15],q[18];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 189356863329838600894556888210, 98, [S, Y])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 804319970815262051519051371817, 100, [S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[5];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 773378534529302023203661843428, 100, [S, H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[3];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "cx q[3],q[4];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[4];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[4],q[3];\n", + "cx q[17],q[14];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[4];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[4],q[3];\n", + "t q[18];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "t q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[4] -> b[q[4]]\n", + "x q[11];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[13],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[1];\n", + "t q[3];\n", + "cx q[13],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[10],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[4],q[19];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[10],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[20];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[10],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[4],q[21];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[10],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[22];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[10],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[4],q[23];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[10],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[24];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[24];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[10],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[2],q[10];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[4],q[25];\n", + "cx q[10],q[4];\n", + "s q[10];\n", + "cx q[10],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[10],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[26];\n", + "measure q[10] -> b[q[10]]\n", + "cz q[4],q[26];\n", + "if (b[q[10]]==1) cz q[2],q[14];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[15];\n", + "reset q[2];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[11];\n", + "reset q[3];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[3];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[13];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[19];\n", + "cz q[4],q[19];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[19];\n", + "cx q[10],q[20];\n", + "cz q[4],q[20];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[20];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[21];\n", + "cz q[4],q[21];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "z q[21];\n", + "cx q[10],q[22];\n", + "cz q[4],q[22];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "z q[22];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "cx q[13],q[3];\n", + "x q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[23];\n", + "cz q[4],q[23];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[24];\n", + "cz q[4],q[24];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "cx q[3],q[2];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[25];\n", + "cz q[4],q[25];\n", + "cx q[2],q[10];\n", + "cx q[10],q[4];\n", + "cx q[10],q[26];\n", + "cz q[4],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "measure q[10] -> b[q[10]]\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "if (b[q[10]]==1) cz q[2],q[17];\n", + "reset q[10];\n", + "t q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[3],q[18];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[18];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[13],q[12];\n", + "reset q[3];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[3];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[3];\n", + "cx q[3],q[1];\n", + "cx q[3],q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[23];\n", + "cx q[4],q[2];\n", + "z q[23];\n", + "cz q[2],q[25];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[25];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "cx q[3],q[4];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[4],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[4];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cz q[2],q[24];\n", + "cx q[4],q[2];\n", + "z q[24];\n", + "cz q[2],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "z q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[4],q[17];\n", + "reset q[2];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "t q[18];\n", + "if (b[q[3]]==1) cz q[1],q[13];\n", + "reset q[3];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[13];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "t q[4];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[11];\n", + "cx q[11],q[12];\n", + "t q[4];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[4],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[4],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[15];\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[4],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[4],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[3];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 269543269112581753997373363314, 101, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 171761034241571505807589760644, 102, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 699470891742646671798185585359, 100, [Z, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[6];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[6];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[6],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "rz_d(pi*1.7508337663) q[16];\n", + "// (False, 957936403640365843249871402814, 102, [(S**-1)])\n", + "measure q[5] -> b[q[5]]\n", + "cx q[13],q[16];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "rz_d(pi*0.2491662337) q[16];\n", + "// (False, 128430237834302382227510608869, 98, [(S**-1), H, (S**-1)])\n", + "x q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[0],q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "cx q[7],q[0];\n", + "t q[6];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[27];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "cx q[15],q[18];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 416906074023110619706479500593, 99, [(S**-1), H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 298599835893553367780548047618, 98, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[7];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 94883423267508517582688733557, 98, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[5];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "cx q[5],q[6];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[6];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[6],q[5];\n", + "cx q[17],q[14];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[6];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[6],q[5];\n", + "t q[18];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "t q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[6] -> b[q[6]]\n", + "x q[11];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[13],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[1];\n", + "t q[5];\n", + "cx q[13],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[3],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[6],q[19];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[3],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[20];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[3],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[6],q[21];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[3],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[22];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[3],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[6],q[23];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[3],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[24];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[24];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[3],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[4],q[3];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[6],q[25];\n", + "cx q[3],q[6];\n", + "s q[3];\n", + "cx q[3],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[3],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[26];\n", + "measure q[3] -> b[q[3]]\n", + "cz q[6],q[26];\n", + "if (b[q[3]]==1) cz q[4],q[14];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[15];\n", + "reset q[4];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[11];\n", + "reset q[5];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[5];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[13];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[19];\n", + "cz q[6],q[19];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[19];\n", + "cx q[3],q[20];\n", + "cz q[6],q[20];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[20];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[21];\n", + "cz q[6],q[21];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "z q[21];\n", + "cx q[3],q[22];\n", + "cz q[6],q[22];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "z q[22];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "cx q[13],q[5];\n", + "x q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[5],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[5];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[23];\n", + "cz q[6],q[23];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[24];\n", + "cz q[6],q[24];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "cx q[5],q[4];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[25];\n", + "cz q[6],q[25];\n", + "cx q[4],q[3];\n", + "cx q[3],q[6];\n", + "cx q[3],q[26];\n", + "cz q[6],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "measure q[3] -> b[q[3]]\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "if (b[q[3]]==1) cz q[4],q[17];\n", + "reset q[3];\n", + "t q[6];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[5],q[18];\n", + "reset q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[5] -> b[q[5]]\n", + "t q[18];\n", + "t q[4];\n", + "if (b[q[5]]==1) cz q[13],q[12];\n", + "reset q[5];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[5];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[5];\n", + "cx q[5],q[1];\n", + "cx q[5],q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[23];\n", + "cx q[6],q[4];\n", + "z q[23];\n", + "cz q[4],q[25];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[25];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "cx q[5],q[6];\n", + "x q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[6],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[6];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cz q[4],q[24];\n", + "cx q[6],q[4];\n", + "z q[24];\n", + "cz q[4],q[26];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "z q[26];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[6],q[17];\n", + "reset q[4];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[4];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[18],q[15];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "t q[18];\n", + "if (b[q[5]]==1) cz q[1],q[13];\n", + "reset q[5];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[13];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "t q[6];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[11];\n", + "cx q[11],q[12];\n", + "t q[6];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[6],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[6],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[15];\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[6],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[6],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[5];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 37383013646024319685933261912, 98, [(S**-1), H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 189528252461187257351698253117, 99, [S, Y])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 720079519858972677439627836413, 100, [(S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[8];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[8];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[8],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "rz_d(pi*1.7498311619) q[16];\n", + "// (False, 207685646244416294836154243758, 98, [Z])\n", + "measure q[7] -> b[q[7]]\n", + "cx q[13],q[16];\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "rz_d(pi*0.2501688381) q[16];\n", + "// (False, 1189834936190726700542239000730, 101, [S, H, S])\n", + "x q[13];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n", + "cx q[0],q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[1],q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "cx q[9],q[0];\n", + "t q[8];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[14],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "tdg q[9];\n", + "tdg q[14];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[15],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "tdg q[10];\n", + "tdg q[15];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[11],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "tdg q[2];\n", + "tdg q[11];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[11];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[17],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[12],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "tdg q[5];\n", + "tdg q[12];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[27],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "tdg q[6];\n", + "tdg q[27];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[16];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[16];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[27];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[27];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[12];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[12];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[17];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[11];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[15];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "cx q[15],q[18];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[14];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 1851574672434542371589202557491, 101, [S, X])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 2246870617328597311646465317859, 101, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[9];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 2194407523364594597008455617512, 102, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[7];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "cx q[7],q[8];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[8];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[8],q[7];\n", + "cx q[17],q[14];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[8];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[8],q[7];\n", + "t q[18];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "t q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[8] -> b[q[8]]\n", + "x q[11];\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[13],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[1];\n", + "t q[7];\n", + "cx q[13],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[5],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[8],q[19];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[5],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[20];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[5],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[8],q[21];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[5],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[22];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[5],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[8],q[23];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[5],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[24];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[24];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[5],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[6],q[5];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[8],q[25];\n", + "cx q[5],q[8];\n", + "s q[5];\n", + "cx q[5],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[5],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[26];\n", + "measure q[5] -> b[q[5]]\n", + "cz q[8],q[26];\n", + "if (b[q[5]]==1) cz q[6],q[14];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[15];\n", + "reset q[6];\n", + "cx q[14],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[11];\n", + "reset q[7];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[7];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[13];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[19];\n", + "cz q[8],q[19];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[19];\n", + "cx q[5],q[20];\n", + "cz q[8],q[20];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[20];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[21];\n", + "cz q[8],q[21];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "z q[21];\n", + "cx q[5],q[22];\n", + "cz q[8],q[22];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "z q[22];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "cx q[13],q[7];\n", + "x q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[7],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[7];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[18];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[23];\n", + "cz q[8],q[23];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[24];\n", + "cz q[8],q[24];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "cx q[7],q[6];\n", + "x q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "t q[5];\n", + "cx q[6],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[6];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[17];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[25];\n", + "cz q[8],q[25];\n", + "cx q[6],q[5];\n", + "cx q[5],q[8];\n", + "cx q[5],q[26];\n", + "cz q[8],q[26];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "measure q[5] -> b[q[5]]\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "if (b[q[5]]==1) cz q[6],q[17];\n", + "reset q[5];\n", + "t q[8];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[17],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[6] -> b[q[6]]\n", + "t q[17];\n", + "t q[5];\n", + "if (b[q[6]]==1) cz q[7],q[18];\n", + "reset q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[18],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[7] -> b[q[7]]\n", + "t q[18];\n", + "t q[6];\n", + "if (b[q[7]]==1) cz q[13],q[12];\n", + "reset q[7];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[7];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[7];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[7];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[7];\n", + "cx q[7],q[1];\n", + "cx q[7],q[13];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[23];\n", + "cx q[8],q[6];\n", + "z q[23];\n", + "cz q[6],q[25];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[25];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "cx q[7],q[8];\n", + "x q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "t q[6];\n", + "cx q[8],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[8];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "x q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cz q[6],q[24];\n", + "cx q[8],q[6];\n", + "z q[24];\n", + "cz q[6],q[26];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "z q[26];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[8],q[17];\n", + "reset q[6];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[6];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[18],q[15];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "t q[18];\n", + "if (b[q[7]]==1) cz q[1],q[13];\n", + "reset q[7];\n", + "x q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[13];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[0],q[7];\n", + "cx q[1],q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "x q[0];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[1];\n", + "x q[0];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "x q[1];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[28],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "tdg q[7];\n", + "tdg q[28];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "t q[8];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[11];\n", + "cx q[11],q[12];\n", + "t q[8];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[8],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[8],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[15];\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[8],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[8],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[7],q[28];\n", + "reset q[8];\n", + "cx q[18],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[17],q[18];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[7];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 418942212687380369290051798788, 99, [S, X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 126952307779518130414657124593, 98, [(S**-1), H, S])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 254449110116046761745015818249, 101, [S, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[10];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[10];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[10],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[10],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[10];\n", + "cx q[10],q[0];\n", + "cx q[10],q[1];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "tdg q[3];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[17],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "tdg q[4];\n", + "tdg q[17];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[18],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "tdg q[5];\n", + "tdg q[18];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[18];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[12],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "tdg q[6];\n", + "tdg q[12];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[12];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[27],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "tdg q[7];\n", + "tdg q[27];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[27];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[28],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "tdg q[8];\n", + "tdg q[28];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[28];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[16];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[16];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "rz_d(pi*1.7500278697) q[16];\n", + "// (True, 1072450434969520725294089214049, 101, [S, H])\n", + "measure q[9] -> b[q[9]]\n", + "cx q[13],q[16];\n", + "if (b[q[9]]==1) cz q[8],q[28];\n", + "reset q[9];\n", + "rz_d(pi*0.2499721303) q[16];\n", + "// (True, 1613613947482695542569222609737, 101, [(S**-1)])\n", + "x q[13];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[27];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[12];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[18];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[17];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[11];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[15];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[14];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[0],q[1];\n", + "reset q[10];\n", + "cx q[0],q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[1],q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "cx q[2],q[0];\n", + "t q[10];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[14],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "tdg q[2];\n", + "tdg q[14];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[15],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "tdg q[3];\n", + "tdg q[15];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[11],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "tdg q[4];\n", + "tdg q[11];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[11];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[17],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[18],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "tdg q[6];\n", + "tdg q[18];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[18];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[12],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "tdg q[7];\n", + "tdg q[12];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[27],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "tdg q[8];\n", + "tdg q[27];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[16];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[16];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[27];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[27];\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[12];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[12];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[18];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[17];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[11];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[15];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "cx q[15],q[18];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[14];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 3385135912423720731604555035, 98, [Y])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 125643469227196903163553789780, 98, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[2];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 177280106829724379020695029929, 98, [(S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[9];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "cx q[9],q[10];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[10];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[10],q[9];\n", + "cx q[17],q[14];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[10];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[10],q[9];\n", + "t q[18];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "t q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[10] -> b[q[10]]\n", + "x q[11];\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[13],q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[1];\n", + "t q[9];\n", + "cx q[13],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[7],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[10],q[19];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[7],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[20];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[7],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[10],q[21];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[7],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[22];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[7],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[10],q[23];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[7],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[24];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[24];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[7],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[8],q[7];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[10],q[25];\n", + "cx q[7],q[10];\n", + "s q[7];\n", + "cx q[7],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[7],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[26];\n", + "measure q[7] -> b[q[7]]\n", + "cz q[10],q[26];\n", + "if (b[q[7]]==1) cz q[8],q[14];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[15];\n", + "reset q[8];\n", + "cx q[14],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[11];\n", + "reset q[9];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[9];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[13];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[19];\n", + "cz q[10],q[19];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[19];\n", + "cx q[7],q[20];\n", + "cz q[10],q[20];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[20];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[21];\n", + "cz q[10],q[21];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "z q[21];\n", + "cx q[7],q[22];\n", + "cz q[10],q[22];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "z q[22];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "cx q[13],q[9];\n", + "x q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[9],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[9];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[18];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[23];\n", + "cz q[10],q[23];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[24];\n", + "cz q[10],q[24];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "cx q[9],q[8];\n", + "x q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "t q[7];\n", + "cx q[8],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[8];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "x q[17];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[25];\n", + "cz q[10],q[25];\n", + "cx q[8],q[7];\n", + "cx q[7],q[10];\n", + "cx q[7],q[26];\n", + "cz q[10],q[26];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "measure q[7] -> b[q[7]]\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "if (b[q[7]]==1) cz q[8],q[17];\n", + "reset q[7];\n", + "t q[10];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[17],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[8] -> b[q[8]]\n", + "t q[17];\n", + "t q[7];\n", + "if (b[q[8]]==1) cz q[9],q[18];\n", + "reset q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[18],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[9] -> b[q[9]]\n", + "t q[18];\n", + "t q[8];\n", + "if (b[q[9]]==1) cz q[13],q[12];\n", + "reset q[9];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[9];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[9];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[9];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[9];\n", + "cx q[9],q[1];\n", + "cx q[9],q[13];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[23];\n", + "cx q[10],q[8];\n", + "z q[23];\n", + "cz q[8],q[25];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[25];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "cx q[9],q[10];\n", + "x q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "t q[8];\n", + "cx q[10],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[10];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "x q[17];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cz q[8],q[24];\n", + "cx q[10],q[8];\n", + "z q[24];\n", + "cz q[8],q[26];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "z q[26];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[10],q[17];\n", + "reset q[8];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[8];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[18],q[15];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "t q[18];\n", + "if (b[q[9]]==1) cz q[1],q[13];\n", + "reset q[9];\n", + "x q[1];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[13];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[0],q[9];\n", + "cx q[1],q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[9];\n", + "cx q[9],q[0];\n", + "cx q[9],q[1];\n", + "x q[0];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[1];\n", + "x q[0];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "x q[1];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[28],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "tdg q[9];\n", + "tdg q[28];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "t q[10];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[11];\n", + "cx q[11],q[12];\n", + "t q[10];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[10],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[10],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[15];\n", + "cx q[15],q[18];\n", + "t q[10];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[10],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[10],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[28];\n", + "reset q[10];\n", + "cx q[18],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[0],q[1];\n", + "reset q[9];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[17],q[18];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[9];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 313318865433041644331530549219, 99, [X])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 17943121637236205660798044712, 98, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 91456741755196289283931976320, 97, [Z, H, (S**-1)])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[3];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[3];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[3],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[14],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[14];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[15],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[15];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[11],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "tdg q[5];\n", + "tdg q[11];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[11];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[17],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "tdg q[6];\n", + "tdg q[17];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[17];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[18],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "tdg q[7];\n", + "tdg q[18];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[18];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[12],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "tdg q[8];\n", + "tdg q[12];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[12];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[27],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "tdg q[9];\n", + "tdg q[27];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[27];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[28],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "tdg q[10];\n", + "tdg q[28];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[28];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[16];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[16];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "rz_d(pi*1.7499961573) q[16];\n", + "// (False, 22139393972145026255380729382, 99, [H, S])\n", + "measure q[2] -> b[q[2]]\n", + "cx q[13],q[16];\n", + "if (b[q[2]]==1) cz q[10],q[28];\n", + "reset q[2];\n", + "rz_d(pi*0.2500038427) q[16];\n", + "// (True, 161744596598457472464203752304, 98, [Z])\n", + "x q[13];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[27];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[12];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[18];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[17];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[11];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[15];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[14];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "cx q[0],q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[1],q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "cx q[4],q[0];\n", + "t q[3];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[14],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "tdg q[4];\n", + "tdg q[14];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[15],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "tdg q[5];\n", + "tdg q[15];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[11],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "tdg q[6];\n", + "tdg q[11];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[11];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[17],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "tdg q[7];\n", + "tdg q[17];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[17];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[18],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "tdg q[8];\n", + "tdg q[18];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[18];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[12],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "tdg q[9];\n", + "tdg q[12];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[27],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "tdg q[10];\n", + "tdg q[27];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[16];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "z q[16];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[27];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[27];\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[12];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[12];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[18];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[17];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[11];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[15];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "cx q[15],q[18];\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[14];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (True, 83871945543667466050403317046, 98, [Z, H, S])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 606325697133500925473019666995, 101, [Z, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[4];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 2467481568683339165960238112079, 103, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[2];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "cx q[2],q[3];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[3];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[3],q[2];\n", + "cx q[17],q[14];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[3];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[3],q[2];\n", + "t q[18];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "t q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[3] -> b[q[3]]\n", + "x q[11];\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[13],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[1];\n", + "t q[2];\n", + "cx q[13],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[9],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[3],q[19];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[9],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[20];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[9],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[3],q[21];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[9],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[22];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "tdg q[2];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[9],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[3],q[23];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[9],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[24];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[24];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "tdg q[10];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[9],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[10],q[9];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[3],q[25];\n", + "cx q[9],q[3];\n", + "s q[9];\n", + "cx q[9],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[9],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[26];\n", + "measure q[9] -> b[q[9]]\n", + "cz q[3],q[26];\n", + "if (b[q[9]]==1) cz q[10],q[14];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[15];\n", + "reset q[10];\n", + "cx q[14],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[11];\n", + "reset q[2];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[2];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[13];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[19];\n", + "cz q[3],q[19];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[19];\n", + "cx q[9],q[20];\n", + "cz q[3],q[20];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[20];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[21];\n", + "cz q[3],q[21];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "z q[21];\n", + "cx q[9],q[22];\n", + "cz q[3],q[22];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "z q[22];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "cx q[13],q[2];\n", + "x q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[2],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[2];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[18];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[23];\n", + "cz q[3],q[23];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[24];\n", + "cz q[3],q[24];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "cx q[2],q[10];\n", + "x q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "t q[9];\n", + "cx q[10],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[10];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "x q[17];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[25];\n", + "cz q[3],q[25];\n", + "cx q[10],q[9];\n", + "cx q[9],q[3];\n", + "cx q[9],q[26];\n", + "cz q[3],q[26];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "measure q[9] -> b[q[9]]\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "if (b[q[9]]==1) cz q[10],q[17];\n", + "reset q[9];\n", + "t q[3];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[17],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[10] -> b[q[10]]\n", + "t q[17];\n", + "t q[9];\n", + "if (b[q[10]]==1) cz q[2],q[18];\n", + "reset q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[18],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[2] -> b[q[2]]\n", + "t q[18];\n", + "t q[10];\n", + "if (b[q[2]]==1) cz q[13],q[12];\n", + "reset q[2];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[2];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[2];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[2];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[2];\n", + "cx q[2],q[1];\n", + "cx q[2],q[13];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[23];\n", + "cx q[3],q[10];\n", + "z q[23];\n", + "cz q[10],q[25];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[25];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "cx q[2],q[3];\n", + "x q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "t q[10];\n", + "cx q[3],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[3];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "x q[17];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cz q[10],q[24];\n", + "cx q[3],q[10];\n", + "z q[24];\n", + "cz q[10],q[26];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "z q[26];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[3],q[17];\n", + "reset q[10];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[10];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[18],q[15];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "t q[18];\n", + "if (b[q[2]]==1) cz q[1],q[13];\n", + "reset q[2];\n", + "x q[1];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[13];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[0],q[2];\n", + "cx q[1],q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[2],q[0];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[28],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "tdg q[2];\n", + "tdg q[28];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "t q[3];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[11];\n", + "cx q[11],q[12];\n", + "t q[3];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[3],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[3],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[15];\n", + "cx q[15],q[18];\n", + "t q[3];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[3],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[3],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[28];\n", + "reset q[3];\n", + "cx q[18],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[17],q[18];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[2];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 1459448599330458497083702065191, 101, [H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 3591562197931565068915353668005, 102, [Z, H, (S**-1)])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (False, 114497209387909094367037057609, 97, [X])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[5];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[5];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[5],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[14],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "tdg q[5];\n", + "tdg q[14];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[14];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[15],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "tdg q[6];\n", + "tdg q[15];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[15];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[11],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "tdg q[7];\n", + "tdg q[11];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[11];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[17],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "tdg q[8];\n", + "tdg q[17];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[17];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[18],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "tdg q[9];\n", + "tdg q[18];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[18];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[12],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "tdg q[10];\n", + "tdg q[12];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[12];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[27],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "tdg q[2];\n", + "tdg q[27];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[27];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[28],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "tdg q[3];\n", + "tdg q[28];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[28];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[16];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[16];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "rz_d(pi*1.7500004508) q[16];\n", + "// (True, 5185948318159132200133688920, 94, [S, H, S])\n", + "measure q[4] -> b[q[4]]\n", + "cx q[13],q[16];\n", + "if (b[q[4]]==1) cz q[3],q[28];\n", + "reset q[4];\n", + "rz_d(pi*0.2499995492) q[16];\n", + "// (True, 114666945195157880680657854881, 101, [X])\n", + "x q[13];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[27];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[12];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[18];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[17];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[11];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[15];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[5],q[14];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "cx q[0],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[1],q[6];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "cx q[6],q[0];\n", + "t q[5];\n", + "cx q[6],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[6];\n", + "cx q[6],q[0];\n", + "cx q[6],q[1];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[14],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "tdg q[6];\n", + "tdg q[14];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[15],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "tdg q[7];\n", + "tdg q[15];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[11],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "tdg q[8];\n", + "tdg q[11];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[11];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[17],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "tdg q[9];\n", + "tdg q[17];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[17];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[18],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "tdg q[10];\n", + "tdg q[18];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[18];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[12],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "tdg q[2];\n", + "tdg q[12];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[27],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "tdg q[3];\n", + "tdg q[27];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[16];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "z q[16];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.5) q[28];\n", + "// (False, 0, 0, [S])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[28];\n", + "rz_d(pi*1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[27];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.5) q[27];\n", + "// (False, 0, 0, [S])\n", + "h q[27];\n", + "s q[27];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[27];\n", + "rz_d(pi*1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[27];\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[12];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[12];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[18];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[17];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[11];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[15];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "s q[15];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[15];\n", + "rz_d(pi*1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "cx q[15],q[18];\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[6],q[14];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "s q[14];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[14];\n", + "rz_d(pi*1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "measure q[6] -> b[q[6]]\n", + "cx q[14],q[17];\n", + "t q[7];\n", + "if (b[q[6]]==1) cz q[0],q[1];\n", + "reset q[6];\n", + "cx q[18],q[17];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*0.6666666667) q[1];\n", + "// (False, 1950756299649902392258025238823, 101, [S, H, Z])\n", + "h q[1];\n", + "s q[1];\n", + "z q[0];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[1],q[0];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (False, 66350099223923336361507354591, 97, [H, S])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "t q[6];\n", + "cx q[1],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (True, 258053848898646939360112959372, 100, [(S**-1), H, Z])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[27],q[17];\n", + "z q[0];\n", + "cx q[17],q[18];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "x q[1];\n", + "cx q[17],q[18];\n", + "s q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "cx q[27],q[17];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[1],q[12];\n", + "z q[11];\n", + "x q[1];\n", + "cx q[11],q[12];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[5];\n", + "t q[2];\n", + "cx q[0],q[5];\n", + "cx q[1],q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[5];\n", + "cx q[5],q[0];\n", + "cx q[5],q[1];\n", + "x q[0];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[1];\n", + "x q[0];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "x q[1];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[0],q[1];\n", + "reset q[5];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[5];\n", + "cx q[5],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[3];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[3],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[3],q[4];\n", + "cx q[5],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[3];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[5],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[5];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[12],q[11];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[0],q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "cx q[1],q[4];\n", + "t q[12];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[17];\n", + "t q[18];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "cx q[27],q[17];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[0];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "cx q[17],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "cx q[4],q[5];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[28],q[5];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[5],q[4];\n", + "cx q[17],q[14];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "cx q[18],q[15];\n", + "tdg q[28];\n", + "t q[5];\n", + "t q[17];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "cx q[5],q[4];\n", + "t q[18];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "t q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "x q[14];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "x q[15];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "measure q[5] -> b[q[5]]\n", + "x q[11];\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[13],q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[1];\n", + "t q[4];\n", + "cx q[13],q[4];\n", + "cx q[11],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "tdg q[13];\n", + "tdg q[11];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[11];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[19];\n", + "rz_d(pi*1.5) q[19];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[19];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "s q[19];\n", + "cx q[2],q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[19];\n", + "rz_d(pi*0.5) q[19];\n", + "// (False, 0, 0, [S])\n", + "h q[19];\n", + "z q[19];\n", + "cz q[5],q[19];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[20];\n", + "rz_d(pi*1.5) q[20];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[20];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "s q[20];\n", + "cx q[2],q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[20];\n", + "rz_d(pi*0.5) q[20];\n", + "// (False, 0, 0, [S])\n", + "h q[20];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[20];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[20];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[21];\n", + "rz_d(pi*1.5) q[21];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[21];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "s q[21];\n", + "cx q[2],q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[21];\n", + "rz_d(pi*0.5) q[21];\n", + "// (False, 0, 0, [S])\n", + "h q[21];\n", + "z q[21];\n", + "cz q[5],q[21];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[22];\n", + "rz_d(pi*1.5) q[22];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[22];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "s q[22];\n", + "cx q[2],q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[22];\n", + "rz_d(pi*0.5) q[22];\n", + "// (False, 0, 0, [S])\n", + "h q[22];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[22];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[22];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[15],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "tdg q[4];\n", + "tdg q[15];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[23];\n", + "rz_d(pi*1.5) q[23];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[23];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "s q[23];\n", + "cx q[2],q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[23];\n", + "rz_d(pi*0.5) q[23];\n", + "// (False, 0, 0, [S])\n", + "h q[23];\n", + "z q[23];\n", + "cz q[5],q[23];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[24];\n", + "rz_d(pi*1.5) q[24];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[24];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "s q[24];\n", + "cx q[2],q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[24];\n", + "rz_d(pi*0.5) q[24];\n", + "// (False, 0, 0, [S])\n", + "h q[24];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[24];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[24];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[14],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "tdg q[3];\n", + "tdg q[14];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[25];\n", + "rz_d(pi*1.5) q[25];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[25];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "s q[25];\n", + "cx q[2],q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "cx q[3],q[2];\n", + "h q[25];\n", + "rz_d(pi*0.5) q[25];\n", + "// (False, 0, 0, [S])\n", + "h q[25];\n", + "z q[25];\n", + "cz q[5],q[25];\n", + "cx q[2],q[5];\n", + "s q[2];\n", + "cx q[2],q[26];\n", + "rz_d(pi*1.5) q[26];\n", + "// (False, 0, 0, [(S**-1)])\n", + "sdg q[26];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "s q[26];\n", + "cx q[2],q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[26];\n", + "rz_d(pi*0.5) q[26];\n", + "// (False, 0, 0, [S])\n", + "h q[26];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "z q[26];\n", + "measure q[2] -> b[q[2]]\n", + "cz q[5],q[26];\n", + "if (b[q[2]]==1) cz q[3],q[14];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "cx q[1],q[14];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[15];\n", + "reset q[3];\n", + "cx q[14],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[14],q[17];\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[11];\n", + "reset q[4];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[12],q[11];\n", + "cx q[13],q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "cx q[1],q[14];\n", + "t q[12];\n", + "t q[4];\n", + "cx q[14],q[17];\n", + "t q[1];\n", + "cx q[13],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[15];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "x q[17];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[11];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "x q[18];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "x q[12];\n", + "cx q[12],q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "tdg q[13];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[13];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[12];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[19];\n", + "cz q[5],q[19];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[20];\n", + "cz q[5],q[20];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[21];\n", + "cz q[5],q[21];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[22];\n", + "cz q[5],q[22];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "cx q[13],q[4];\n", + "x q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[4],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[4];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[18];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[23];\n", + "cz q[5],q[23];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[24];\n", + "cz q[5],q[24];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "cx q[4],q[3];\n", + "x q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[2];\n", + "cx q[3],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "tdg q[3];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[3];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[17];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[25];\n", + "cz q[5],q[25];\n", + "cx q[3],q[2];\n", + "cx q[2],q[5];\n", + "cx q[2],q[26];\n", + "cz q[5],q[26];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "measure q[2] -> b[q[2]]\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "if (b[q[2]]==1) cz q[3],q[17];\n", + "reset q[2];\n", + "t q[5];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[17],q[14];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[3] -> b[q[3]]\n", + "t q[17];\n", + "t q[2];\n", + "if (b[q[3]]==1) cz q[4],q[18];\n", + "reset q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[18],q[15];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[4] -> b[q[4]]\n", + "t q[18];\n", + "t q[3];\n", + "if (b[q[4]]==1) cz q[13],q[12];\n", + "reset q[4];\n", + "cx q[12],q[11];\n", + "sdg q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cz q[13],q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "t q[4];\n", + "x q[0];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[11];\n", + "cx q[11],q[12];\n", + "t q[1];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[1],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[12],q[11];\n", + "cx q[1],q[15];\n", + "sdg q[12];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "s q[12];\n", + "t q[11];\n", + "cx q[15],q[18];\n", + "t q[12];\n", + "tdg q[18];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[15];\n", + "cx q[15],q[18];\n", + "t q[1];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[1],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "x q[18];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[1],q[14];\n", + "cx q[14],q[17];\n", + "cx q[1],q[4];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[13],q[4];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "tdg q[1];\n", + "x q[17];\n", + "tdg q[13];\n", + "t q[4];\n", + "cx q[4],q[1];\n", + "cx q[4],q[13];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[18],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "tdg q[4];\n", + "tdg q[18];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[18];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "x q[18];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[23];\n", + "cx q[5],q[3];\n", + "cz q[3],q[25];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "cx q[4],q[5];\n", + "x q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "t q[3];\n", + "cx q[5],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "tdg q[5];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[5];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[17];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cz q[3],q[24];\n", + "cx q[5],q[3];\n", + "cz q[3],q[26];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[5],q[17];\n", + "reset q[3];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[17],q[14];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[17];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "s q[17];\n", + "t q[14];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[5] -> b[q[5]]\n", + "t q[17];\n", + "t q[3];\n", + "if (b[q[5]]==1) cz q[4],q[18];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[18],q[15];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[15];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "t q[18];\n", + "if (b[q[4]]==1) cz q[1],q[13];\n", + "reset q[4];\n", + "x q[1];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[13];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[4];\n", + "cx q[0],q[4];\n", + "cx q[1],q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[4];\n", + "cx q[4],q[0];\n", + "cx q[4],q[1];\n", + "x q[0];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "x q[1];\n", + "x q[0];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "x q[1];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[28],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "tdg q[4];\n", + "tdg q[28];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "t q[5];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[11];\n", + "t q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "tdg q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[11];\n", + "cx q[11],q[12];\n", + "t q[5];\n", + "s q[12];\n", + "h q[11];\n", + "rz_d(pi*0.5) q[11];\n", + "// (False, 0, 0, [S])\n", + "h q[11];\n", + "cx q[5],q[15];\n", + "h q[12];\n", + "rz_d(pi*-0.5) q[12];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[12];\n", + "cx q[15],q[18];\n", + "tdg q[15];\n", + "t q[18];\n", + "cx q[11],q[12];\n", + "cx q[5],q[15];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "tdg q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[15];\n", + "cx q[15],q[18];\n", + "t q[5];\n", + "s q[18];\n", + "h q[15];\n", + "rz_d(pi*0.5) q[15];\n", + "// (False, 0, 0, [S])\n", + "h q[15];\n", + "cx q[5],q[14];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "tdg q[14];\n", + "t q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "tdg q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "cx q[5],q[14];\n", + "cx q[14],q[17];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "s q[17];\n", + "h q[14];\n", + "rz_d(pi*0.5) q[14];\n", + "// (False, 0, 0, [S])\n", + "h q[14];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[17];\n", + "rz_d(pi*-0.5) q[17];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[17];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[28];\n", + "reset q[5];\n", + "cx q[18],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*0.25) q[28];\n", + "// (False, 0, 0, [T])\n", + "h q[28];\n", + "s q[28];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "h q[28];\n", + "rz_d(pi*-1.0) q[28];\n", + "// (False, 0, 0, [Z])\n", + "h q[28];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "cx q[17],q[18];\n", + "sdg q[28];\n", + "h q[28];\n", + "rz_d(pi*-0.25) q[28];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[28];\n", + "s q[28];\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[0],q[1];\n", + "reset q[4];\n", + "tdg q[17];\n", + "t q[18];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[27],q[17];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[17],q[18];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "t q[4];\n", + "cx q[17],q[18];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[27],q[17];\n", + "cx q[17],q[18];\n", + "t q[27];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "\n", + "x q[0];\n", + "x q[1];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[4];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "t q[3];\n", + "t q[2];\n", + "cx q[0],q[3];\n", + "cx q[1],q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[3];\n", + "cx q[3],q[0];\n", + "cx q[3],q[1];\n", + "x q[0];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "x q[1];\n", + "x q[0];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "x q[1];\n", + "s q[3];\n", + "cx q[3],q[6];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[0],q[1];\n", + "reset q[3];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[6],q[3];\n", + "cx q[3],q[7];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[4],q[7];\n", + "cx q[0],q[2];\n", + "x q[7];\n", + "cx q[1],q[2];\n", + "cx q[7],q[5];\n", + "cx q[2],q[0];\n", + "x q[7];\n", + "cx q[5],q[4];\n", + "cx q[2],q[1];\n", + "tdg q[0];\n", + "cx q[4],q[7];\n", + "tdg q[1];\n", + "t q[2];\n", + "cx q[5],q[4];\n", + "cx q[3],q[7];\n", + "cx q[2],q[0];\n", + "cx q[7],q[5];\n", + "x q[4];\n", + "cx q[2],q[1];\n", + "x q[0];\n", + "cx q[3],q[7];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "x q[1];\n", + "x q[0];\n", + "cx q[6],q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "x q[1];\n", + "s q[2];\n", + "cx q[2],q[6];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[0],q[1];\n", + "reset q[2];\n", + "x q[0];\n", + "x q[1];\n", + "cx q[18],q[17];\n", + "rx(pi*-1) q[1];\n", + "sdg q[18];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "s q[18];\n", + "t q[17];\n", + "cx q[1],q[12];\n", + "t q[18];\n", + "cx q[27],q[17];\n", + "s q[1];\n", + "rx(pi*-1) q[12];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[17];\n", + "t q[18];\n", + "rz_d(pi*1.5) q[11];\n", + "// (False, 0, 0, [(S**-1)])\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*0.25) q[11];\n", + "// (False, 0, 0, [T])\n", + "h q[11];\n", + "s q[11];\n", + "cx q[17],q[18];\n", + "cx q[1],q[11];\n", + "tdg q[18];\n", + "cx q[27],q[17];\n", + "sdg q[11];\n", + "h q[11];\n", + "rz_d(pi*-0.25) q[11];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[11];\n", + "s q[11];\n", + "rx(pi*-1) q[1];\n", + "cx q[17],q[18];\n", + "z q[11];\n", + "cx q[0],q[1];\n", + "tdg q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "cx q[1],q[0];\n", + "cx q[27],q[17];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*0.3524163823) q[0];\n", + "// (True, 2398088503834564882157532233413, 101, [S, H])\n", + "h q[0];\n", + "s q[0];\n", + "cx q[17],q[18];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*0.25) q[27];\n", + "// (False, 0, 0, [T])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[1],q[0];\n", + "s q[18];\n", + "h q[17];\n", + "rz_d(pi*0.5) q[17];\n", + "// (False, 0, 0, [S])\n", + "h q[17];\n", + "h q[27];\n", + "rz_d(pi*-1.0) q[27];\n", + "// (False, 0, 0, [Z])\n", + "h q[27];\n", + "sdg q[0];\n", + "h q[0];\n", + "rz_d(pi*-0.3524163823) q[0];\n", + "// (False, 416875930870559678688545145665, 99, [Y])\n", + "h q[0];\n", + "s q[0];\n", + "sdg q[1];\n", + "h q[1];\n", + "rz_d(pi*-0.6666666667) q[1];\n", + "// (True, 920792435822018602150597566241, 100, [Z, H])\n", + "h q[1];\n", + "s q[1];\n", + "h q[18];\n", + "rz_d(pi*-0.5) q[18];\n", + "// (False, 0, 0, [(S**-1)])\n", + "h q[18];\n", + "cx q[14],q[17];\n", + "sdg q[27];\n", + "h q[27];\n", + "rz_d(pi*-0.25) q[27];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[27];\n", + "s q[27];\n", + "cx q[0],q[7];\n", + "cx q[15],q[18];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*0.25) q[14];\n", + "// (False, 0, 0, [T])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[1],q[7];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*0.25) q[15];\n", + "// (False, 0, 0, [T])\n", + "h q[15];\n", + "s q[15];\n", + "h q[14];\n", + "rz_d(pi*-1.0) q[14];\n", + "// (False, 0, 0, [Z])\n", + "h q[14];\n", + "cx q[7],q[0];\n", + "h q[15];\n", + "rz_d(pi*-1.0) q[15];\n", + "// (False, 0, 0, [Z])\n", + "h q[15];\n", + "sdg q[14];\n", + "h q[14];\n", + "rz_d(pi*-0.25) q[14];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[14];\n", + "s q[14];\n", + "cx q[7],q[1];\n", + "tdg q[0];\n", + "sdg q[15];\n", + "h q[15];\n", + "rz_d(pi*-0.25) q[15];\n", + "// (False, 0, 0, [(T**-1)])\n", + "h q[15];\n", + "s q[15];\n", + "tdg q[1];\n", + "t q[7];\n", + "cx q[7],q[0];\n", + "cx q[7],q[1];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[8];\n", + "cx q[14],q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "tdg q[7];\n", + "tdg q[14];\n", + "t q[8];\n", + "cx q[8],q[7];\n", + "cx q[8],q[14];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[15],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "tdg q[8];\n", + "tdg q[15];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[15];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[11],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "tdg q[9];\n", + "tdg q[11];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[11];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[17],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "tdg q[10];\n", + "tdg q[17];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[17];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[18],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "tdg q[2];\n", + "tdg q[18];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[18];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[12],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "tdg q[3];\n", + "tdg q[12];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[12];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[27],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "tdg q[4];\n", + "tdg q[27];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[27];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[28],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "tdg q[5];\n", + "tdg q[28];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[28];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[16];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[13],q[16];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "rz_d(pi*1.7499999543) q[16];\n", + "// (True, 564700050669573258912165284253, 99, [X])\n", + "measure q[6] -> b[q[6]]\n", + "cx q[13],q[16];\n", + "if (b[q[6]]==1) cz q[5],q[28];\n", + "reset q[6];\n", + "rz_d(pi*0.2500000457) q[16];\n", + "// (False, 3420578167342135028895873618374, 102, [(S**-1), H, S])\n", + "x q[13];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "sdg q[13];\n", + "h q[13];\n", + "rz_d(pi*0.5) q[13];\n", + "// (False, 0, 0, [S])\n", + "h q[13];\n", + "s q[13];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "h q[13];\n", + "rz_d(pi*1.0) q[13];\n", + "// (False, 0, 0, [Z])\n", + "h q[13];\n", + "measure q[5] -> b[q[5]]\n", + "t q[6];\n", + "if (b[q[5]]==1) cz q[4],q[27];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[4] -> b[q[4]]\n", + "t q[5];\n", + "if (b[q[4]]==1) cz q[3],q[12];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[3] -> b[q[3]]\n", + "t q[4];\n", + "if (b[q[3]]==1) cz q[2],q[18];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[2] -> b[q[2]]\n", + "t q[3];\n", + "if (b[q[2]]==1) cz q[10],q[17];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[10] -> b[q[10]]\n", + "t q[2];\n", + "if (b[q[10]]==1) cz q[9],q[11];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[9] -> b[q[9]]\n", + "t q[10];\n", + "if (b[q[9]]==1) cz q[8],q[15];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[8] -> b[q[8]]\n", + "t q[9];\n", + "if (b[q[8]]==1) cz q[7],q[14];\n", + "reset q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[7] -> b[q[7]]\n", + "t q[8];\n", + "if (b[q[7]]==1) cz q[0],q[1];\n", + "reset q[7];\n", + "cx q[0],q[8];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[1],q[8];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "cx q[8],q[0];\n", + "t q[7];\n", + "cx q[8],q[1];\n", + "tdg q[0];\n", + "tdg q[1];\n", + "t q[8];\n", + "cx q[8],q[0];\n", + "cx q[8],q[1];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "s q[8];\n", + "cx q[8],q[9];\n", + "cx q[14],q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "tdg q[8];\n", + "tdg q[14];\n", + "t q[9];\n", + "cx q[9],q[8];\n", + "cx q[9],q[14];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "s q[9];\n", + "cx q[9],q[10];\n", + "cx q[15],q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "tdg q[9];\n", + "tdg q[15];\n", + "t q[10];\n", + "cx q[10],q[9];\n", + "cx q[10],q[15];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "s q[10];\n", + "cx q[10],q[2];\n", + "cx q[11],q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "tdg q[10];\n", + "tdg q[11];\n", + "t q[2];\n", + "cx q[2],q[10];\n", + "cx q[2],q[11];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "s q[2];\n", + "cx q[2],q[3];\n", + "cx q[17],q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "tdg q[2];\n", + "tdg q[17];\n", + "t q[3];\n", + "cx q[3],q[2];\n", + "cx q[3],q[17];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "s q[3];\n", + "cx q[3],q[4];\n", + "cx q[18],q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "tdg q[3];\n", + "tdg q[18];\n", + "t q[4];\n", + "cx q[4],q[3];\n", + "cx q[4],q[18];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "s q[4];\n", + "cx q[4],q[5];\n", + "cx q[12],q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "tdg q[4];\n", + "tdg q[12];\n", + "t q[5];\n", + "cx q[5],q[4];\n", + "cx q[5],q[12];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "s q[5];\n", + "cx q[5],q[6];\n", + "cx q[27],q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "tdg q[5];\n", + "tdg q[27];\n", + "t q[6];\n", + "cx q[6],q[5];\n", + "cx q[6],q[27];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "s q[6];\n", + "cx q[6],q[7];\n", + "cx q[28],q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "tdg q[6];\n", + "tdg q[28];\n", + "t q[7];\n", + "cx q[7],q[6];\n", + "cx q[7],q[28];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "s q[7];\n", + "cx q[7],q[16];\n", + "sdg q[7];\n", + "h q[7];\n", + "rz_d(pi*0.5) q[7];\n", + "// (False, 0, 0, [S])\n", + "h q[7];\n", + "s q[7];\n", + "sdg q[16];\n", + "h q[16];\n", + "rz_d(pi*0.5) q[16];\n", + "// (False, 0, 0, [S])\n", + "h q[16];\n", + "s q[16];\n", + "h q[7];\n", + "rz_d(pi*1.0) q[7];\n", + "// (False, 0, 0, [Z])\n", + "h q[7];\n", + "h q[16];\n", + "rz_d(pi*1.0) q[16];\n", + "// (False, 0, 0, [Z])\n", + "h q[16];\n", + "measure q[7] -> b[q[7]]\n", + "if (b[q[7]]==1) cz q[6],q[28];\n", + "reset q[7];\n", + "sdg q[6];\n", + "h q[6];\n", + "rz_d(pi*0.5) q[6];\n", + "// (False, 0, 0, [S])\n", + "h q[6];\n", + "s q[6];\n", + "h q[6];\n", + "rz_d(pi*1.0) q[6];\n", + "// (False, 0, 0, [Z])\n", + "h q[6];\n", + "measure q[6] -> b[q[6]]\n", + "if (b[q[6]]==1) cz q[5],q[27];\n", + "reset q[6];\n", + "sdg q[5];\n", + "h q[5];\n", + "rz_d(pi*0.5) q[5];\n", + "// (False, 0, 0, [S])\n", + "h q[5];\n", + "s q[5];\n", + "h q[5];\n", + "rz_d(pi*1.0) q[5];\n", + "// (False, 0, 0, [Z])\n", + "h q[5];\n", + "measure q[5] -> b[q[5]]\n", + "if (b[q[5]]==1) cz q[4],q[12];\n", + "reset q[5];\n", + "sdg q[4];\n", + "h q[4];\n", + "rz_d(pi*0.5) q[4];\n", + "// (False, 0, 0, [S])\n", + "h q[4];\n", + "s q[4];\n", + "h q[4];\n", + "rz_d(pi*1.0) q[4];\n", + "// (False, 0, 0, [Z])\n", + "h q[4];\n", + "measure q[4] -> b[q[4]]\n", + "if (b[q[4]]==1) cz q[3],q[18];\n", + "reset q[4];\n", + "sdg q[3];\n", + "h q[3];\n", + "rz_d(pi*0.5) q[3];\n", + "// (False, 0, 0, [S])\n", + "h q[3];\n", + "s q[3];\n", + "h q[3];\n", + "rz_d(pi*1.0) q[3];\n", + "// (False, 0, 0, [Z])\n", + "h q[3];\n", + "measure q[3] -> b[q[3]]\n", + "if (b[q[3]]==1) cz q[2],q[17];\n", + "reset q[3];\n", + "sdg q[2];\n", + "h q[2];\n", + "rz_d(pi*0.5) q[2];\n", + "// (False, 0, 0, [S])\n", + "h q[2];\n", + "s q[2];\n", + "h q[2];\n", + "rz_d(pi*1.0) q[2];\n", + "// (False, 0, 0, [Z])\n", + "h q[2];\n", + "measure q[2] -> b[q[2]]\n", + "if (b[q[2]]==1) cz q[10],q[11];\n", + "reset q[2];\n", + "sdg q[10];\n", + "h q[10];\n", + "rz_d(pi*0.5) q[10];\n", + "// (False, 0, 0, [S])\n", + "h q[10];\n", + "s q[10];\n", + "h q[10];\n", + "rz_d(pi*1.0) q[10];\n", + "// (False, 0, 0, [Z])\n", + "h q[10];\n", + "measure q[10] -> b[q[10]]\n", + "if (b[q[10]]==1) cz q[9],q[15];\n", + "reset q[10];\n", + "sdg q[9];\n", + "h q[9];\n", + "rz_d(pi*0.5) q[9];\n", + "// (False, 0, 0, [S])\n", + "h q[9];\n", + "s q[9];\n", + "h q[9];\n", + "rz_d(pi*1.0) q[9];\n", + "// (False, 0, 0, [Z])\n", + "h q[9];\n", + "measure q[9] -> b[q[9]]\n", + "if (b[q[9]]==1) cz q[8],q[14];\n", + "reset q[9];\n", + "sdg q[8];\n", + "h q[8];\n", + "rz_d(pi*0.5) q[8];\n", + "// (False, 0, 0, [S])\n", + "h q[8];\n", + "s q[8];\n", + "h q[8];\n", + "rz_d(pi*1.0) q[8];\n", + "// (False, 0, 0, [Z])\n", + "h q[8];\n", + "measure q[8] -> b[q[8]]\n", + "if (b[q[8]]==1) cz q[0],q[1];\n", + "reset q[8];\n" ] } ], "source": [ "for ctr,line in enumerate(openqasm(gate_qsvt.circuit,rotation_allowed=False)):\n", - " print(line)\n", - " if ctr > 100:\n", - " break" + " print(line)\n" ] }, { @@ -3680,7 +322190,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.10.13" } }, "nbformat": 4, diff --git a/src/pyLIQTR/_version.py b/src/pyLIQTR/_version.py index d538f87..0058b93 100644 --- a/src/pyLIQTR/_version.py +++ b/src/pyLIQTR/_version.py @@ -1 +1 @@ -__version__ = "1.0.0" \ No newline at end of file +__version__ = "1.0.1" \ No newline at end of file diff --git a/src/pyLIQTR/circuits/operators/AddMod.py b/src/pyLIQTR/circuits/operators/AddMod.py index 2d2affb..a1f3c00 100644 --- a/src/pyLIQTR/circuits/operators/AddMod.py +++ b/src/pyLIQTR/circuits/operators/AddMod.py @@ -55,19 +55,25 @@ def _decompose_with_context_( context = cirq.DecompositionContext(cirq.ops.SimpleQubitManager()) input_bits = qubits[: self.bitsize][::-1] output_bits = qubits[self.bitsize :][::-1] - ancillas = context.qubit_manager.qalloc(self.bitsize - 1)[::-1] - # Start off the addition by anding into the ancilla - yield and_gate.And().on(input_bits[0], output_bits[0], ancillas[0]) - # Left part of Fig.2 - yield from self._left_building_block(input_bits, output_bits, ancillas, 1) - yield cirq.CX(ancillas[-1], output_bits[-1]) - yield cirq.CX(input_bits[-1], output_bits[-1]) - # right part of Fig.2 - yield from self._right_building_block(input_bits, output_bits, ancillas, self.bitsize - 2) - yield and_gate.And(adjoint=True).on(input_bits[0], output_bits[0], ancillas[0]) - yield cirq.CX(input_bits[0], output_bits[0]) - context.qubit_manager.qfree(ancillas) - + if self.bitsize == 1: + assert(len(input_bits) == 1) + assert(len(output_bits) == 1) + #I dont love this because it drops the carry bit... + yield cirq.CX(input_bits[0],output_bits[0]) + else: + ancillas = context.qubit_manager.qalloc(self.bitsize - 1)[::-1] + # Start off the addition by anding into the ancilla + yield and_gate.And().on(input_bits[0], output_bits[0], ancillas[0]) + # Left part of Fig.2 + yield from self._left_building_block(input_bits, output_bits, ancillas, 1) + yield cirq.CX(ancillas[-1], output_bits[-1]) + yield cirq.CX(input_bits[-1], output_bits[-1]) + # right part of Fig.2 + yield from self._right_building_block(input_bits, output_bits, ancillas, self.bitsize - 2) + yield and_gate.And(adjoint=True).on(input_bits[0], output_bits[0], ancillas[0]) + yield cirq.CX(input_bits[0], output_bits[0]) + context.qubit_manager.qfree(ancillas) + class AddMod(algos.AddMod): def _decompose_with_context_( @@ -92,7 +98,7 @@ def _decompose_with_context_( MSB = 0 #Cirq-ft add_mod is semiclassical (ie adds or subtracts a classical value) - assert(np.abs(self.add_val) < 2**(self.bitsize-1)) + assert(np.abs(self.add_val) <= 2**(self.bitsize-1)) #Classical value implemented. addVal = two_complement(self.add_val,self.bitsize) sign = self.add_val >= 0 diff --git a/src/pyLIQTR/circuits/pyLCircuit.py b/src/pyLIQTR/circuits/pyLCircuit.py index 8bd34cc..328f0c8 100644 --- a/src/pyLIQTR/circuits/pyLCircuit.py +++ b/src/pyLIQTR/circuits/pyLCircuit.py @@ -31,6 +31,8 @@ from cirq_ft import infra, algos, t_complexity +from src.pyLIQTR.utils.printing import openqasm + # class syntax class RESOURCE_ANALYSIS_MODE(Enum): Exact = 0 @@ -333,7 +335,8 @@ def resourceAnalyze(self,rotation_gate_precision=1e-8,circuit_precision=None,mod return self.resources def to_openqasm(self,use_rotation_decomp_gates=False): - yield from to_openqasm(self,use_rotation_decomp_gates=use_rotation_decomp_gates) + # yield from to_openqasm(self,use_rotation_decomp_gates=use_rotation_decomp_gates) + yield from openqasm(self, rotation_allowed=use_rotation_decomp_gates) def get_T_counts_from_rotations(num_rotation_gates,gate_precision=1e-8,circuit_precision=None): diff --git a/src/pyLIQTR/qubitization/qsvt.py b/src/pyLIQTR/qubitization/qsvt.py index c81d636..5366aaf 100644 --- a/src/pyLIQTR/qubitization/qsvt.py +++ b/src/pyLIQTR/qubitization/qsvt.py @@ -273,10 +273,11 @@ def _qasm_( default: DefaultDict = RaiseTypeErrorIfNotProvided, ) -> Union[str, TDefault]: - args.validate_version('2.0') - allQ = [*self.__phs_q, *self.__anc_q, *self.__ctl_q, *self.__tgt_q] - allQStr = ",".join([args.format(str(x)) for x in allQ]) - return "{}({})\n".format(self.__strName,allQStr) + # args.validate_version('2.0') + # allQ = [*self.__phs_q, *self.__anc_q, *self.__ctl_q, *self.__tgt_q] + # allQStr = ",".join([args.format(str(x)) for x in allQ]) + # return "{}({})\n".format(self.__strName,allQStr) + raise NotImplementedError diff --git a/src/pyLIQTR/utils/printing.py b/src/pyLIQTR/utils/printing.py index 986521a..26dd1bf 100644 --- a/src/pyLIQTR/utils/printing.py +++ b/src/pyLIQTR/utils/printing.py @@ -18,6 +18,8 @@ may violate any copyrights that exist in this work. """ +from typing_extensions import deprecated +from warnings import warn import cirq from collections import defaultdict from pyLIQTR.gate_decomp.rotation_gates import decomp_mixin @@ -170,8 +172,9 @@ def openqasm(circuit: cirq.AbstractCircuit, raise e - +@deprecated("Use openqasm() instead.") def to_openqasm(circuit_in,use_rotation_decomp_gates=False) -> str: + warn('\n\n\n*********************************************************************************************\nThis function is deprecated -- Recommend switching to pyLIQTR.utils.printing.openqasm\n*********************************************************************************************\n\n\n', DeprecationWarning, 2) str_out = '// Generated from Cirq, Openfermion, and MIT LL\n\n' str_out += 'OPENQASM 2.0;\n' str_out += 'include \"qelib1.inc\";\n\n'