x</span><span class="p">,</span> <span class="n">num_qbits</span><span class="p">,</span> <span class="n">hamil</span><span class="p">,</span>
                <span class="n">all_var_nums</span><span class="p">,</span> <span class="n">fun_name_to_fun</span><span class="p">,</span>
                <span class="n">do_resets</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
        <span class="sd">