n>

<span class="sd">    This class uses either Rigetti&#39;s real hardware or virtual simulator to</span>
<span class="sd">    calculate mean values. `qc` returned by Rigetti&#39;s get_qc() method is</span>
<span class="sd">    passed in as an input to the constructor of this class. If num_samples</span>
<span class="sd">    !=0, the class uses qc.run() to calculate mean values. If num_samples=0,</span>
<span class="sd">    the class ignores the `qc` input and uses PyQuil&#39;s WavefunctionSimulator</span>