)</span>

                <span class="c1"># request measurements</span>
                <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">num_qbits</span><span class="p">):</span>
                    <span class="n">pg</span> <span class="o">+=</span> <span class="n">MEASURE</span><span class="p">(</span><span class="n">i</span><span class="p">,</span> <span 