an class="mi">1</span> <span class="o">&lt;&lt;</span> <span class="n">num_qbits</span>
        <span class="n">mat</span> <span class="o">=</span> <span class="n">FouSEO_writer</span><span class="o">.</span><span class="n">fourier_trans_mat</span><span class="p">(</span><span class="n">num_rows</span><span class="p">)</span>
        <span class="k">assert</span> <span class="n">UnitaryMat</span><span class="o">.</span><span class="n">is_unitary</span><span class="p">(</span><span class="n">mat</span><span 