   <span class="c1"># get effective state vec</span>
            <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">num_samples</span><span class="p">:</span>
                <span class="c1"># if num_samples !=0, then</span>
                <span class="c1"># sample qubiter-generated empirical prob dist</span>
                <span class="n">pd</span> <span class="o">=</span> <span class="n">fin_st_vec</span><span class="o">.</span><span class="n">get_pd</span><sp