n> <span class="nn">openfermion.ops</span> <span class="k">import</span> <span class="n">QubitOperator</span>

<span class="kn">from</span> <span class="nn">pyquil.quil</span> <span class="k">import</span> <span class="n">Program</span><span class="p">,</span> <span class="n">Pragma</span>
<span class="kn">from</span> <span class="nn">pyquil.gates</span> <span class="k">import</span> <span class="o">*</span>
<span class="kn">from</span> <span class="nn">pyquil.api</span> <span class="k">import</span> <span 