1{
2  "cirq_type": "_ContextualSerialization",
3  "object_dag": [
4    {
5      "cirq_type": "_SerializedContext",
6      "key": 1,
7      "obj": {
8        "cirq_type": "FrozenCircuit",
9        "moments": [
10          {
11            "cirq_type": "Moment",
12            "operations": [
13              {
14                "cirq_type": "GateOperation",
15                "gate": {
16                  "cirq_type": "HPowGate",
17                  "exponent": 1.0,
18                  "global_shift": 0.0
19                },
20                "qubits": [
21                  {
22                    "cirq_type": "LineQubit",
23                    "x": 0
24                  }
25                ]
26              },
27              {
28                "cirq_type": "GateOperation",
29                "gate": {
30                  "cirq_type": "HPowGate",
31                  "exponent": 1.0,
32                  "global_shift": 0.0
33                },
34                "qubits": [
35                  {
36                    "cirq_type": "LineQubit",
37                    "x": 1
38                  }
39                ]
40              },
41              {
42                "cirq_type": "GateOperation",
43                "gate": {
44                  "cirq_type": "HPowGate",
45                  "exponent": 1.0,
46                  "global_shift": 0.0
47                },
48                "qubits": [
49                  {
50                    "cirq_type": "LineQubit",
51                    "x": 2
52                  }
53                ]
54              },
55              {
56                "cirq_type": "GateOperation",
57                "gate": {
58                  "cirq_type": "HPowGate",
59                  "exponent": 1.0,
60                  "global_shift": 0.0
61                },
62                "qubits": [
63                  {
64                    "cirq_type": "LineQubit",
65                    "x": 3
66                  }
67                ]
68              },
69              {
70                "cirq_type": "GateOperation",
71                "gate": {
72                  "cirq_type": "HPowGate",
73                  "exponent": 1.0,
74                  "global_shift": 0.0
75                },
76                "qubits": [
77                  {
78                    "cirq_type": "LineQubit",
79                    "x": 4
80                  }
81                ]
82              }
83            ]
84          },
85          {
86            "cirq_type": "Moment",
87            "operations": [
88              {
89                "cirq_type": "GateOperation",
90                "gate": {
91                  "cirq_type": "MeasurementGate",
92                  "num_qubits": 5,
93                  "key": "0,1,2,3,4",
94                  "invert_mask": []
95                },
96                "qubits": [
97                  {
98                    "cirq_type": "LineQubit",
99                    "x": 0
100                  },
101                  {
102                    "cirq_type": "LineQubit",
103                    "x": 1
104                  },
105                  {
106                    "cirq_type": "LineQubit",
107                    "x": 2
108                  },
109                  {
110                    "cirq_type": "LineQubit",
111                    "x": 3
112                  },
113                  {
114                    "cirq_type": "LineQubit",
115                    "x": 4
116                  }
117                ]
118              }
119            ]
120          }
121        ],
122        "device": {
123          "cirq_type": "_UnconstrainedDevice"
124        }
125      }
126    },
127    {
128      "cirq_type": "_SerializedContext",
129      "key": 2,
130      "obj": {
131        "cirq_type": "FrozenCircuit",
132        "moments": [
133          {
134            "cirq_type": "Moment",
135            "operations": [
136              {
137                "cirq_type": "GateOperation",
138                "gate": {
139                  "cirq_type": "ZPowGate",
140                  "exponent": 0.5,
141                  "global_shift": 0.0
142                },
143                "qubits": [
144                  {
145                    "cirq_type": "LineQubit",
146                    "x": 0
147                  }
148                ]
149              }
150            ]
151          }
152        ],
153        "device": {
154          "cirq_type": "_UnconstrainedDevice"
155        }
156      }
157    },
158    {
159      "cirq_type": "_SerializedContext",
160      "key": 3,
161      "obj": {
162        "cirq_type": "FrozenCircuit",
163        "moments": [
164          {
165            "cirq_type": "Moment",
166            "operations": [
167              {
168                "cirq_type": "GateOperation",
169                "gate": {
170                  "cirq_type": "XPowGate",
171                  "exponent": {
172                    "cirq_type": "sympy.Symbol",
173                    "name": "theta"
174                  },
175                  "global_shift": 0.0
176                },
177                "qubits": [
178                  {
179                    "cirq_type": "LineQubit",
180                    "x": 0
181                  }
182                ]
183              }
184            ]
185          }
186        ],
187        "device": {
188          "cirq_type": "_UnconstrainedDevice"
189        }
190      }
191    },
192    [
193      {
194        "cirq_type": "CircuitOperation",
195        "circuit": {
196          "cirq_type": "_SerializedKey",
197          "key": 1
198        },
199        "repetitions": 1,
200        "qubit_map": [],
201        "measurement_key_map": {
202          "0,1,2,3,4": "mixed_state"
203        },
204        "param_resolver": {
205          "cirq_type": "ParamResolver",
206          "param_dict": []
207        },
208        "repetition_ids": [
209          "0"
210        ]
211      },
212      {
213        "cirq_type": "CircuitOperation",
214        "circuit": {
215          "cirq_type": "_SerializedKey",
216          "key": 2
217        },
218        "repetitions": -2,
219        "qubit_map": [
220          [
221            {
222              "cirq_type": "LineQubit",
223              "x": 0
224            },
225            {
226              "cirq_type": "LineQubit",
227              "x": 1
228            }
229          ]
230        ],
231        "measurement_key_map": {},
232        "param_resolver": {
233          "cirq_type": "ParamResolver",
234          "param_dict": []
235        },
236        "repetition_ids": [
237          "a",
238          "b"
239        ]
240      },
241      {
242        "cirq_type": "CircuitOperation",
243        "circuit": {
244          "cirq_type": "_SerializedKey",
245          "key": 3
246        },
247        "repetitions": 1,
248        "qubit_map": [],
249        "measurement_key_map": {},
250        "param_resolver": {
251          "cirq_type": "ParamResolver",
252          "param_dict": [
253            [
254              {
255                "cirq_type": "sympy.Symbol",
256                "name": "theta"
257              },
258              1.5
259            ]
260          ]
261        },
262        "parent_path": [],
263        "repetition_ids": null
264      }
265    ]
266  ]
267}