"w">        </span><span class="sd">&quot;&quot;&quot;Convert a state to a string.</span>

<span class="sd">        Args:</span>
<span class="sd">            state (list): The state to convert.</span>

<span class="sd">        Returns:</span>
<span class="sd">            state_str (string): The state as a string.</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="k">return</span> <span class="s2">&quot;,&quot;</span><span class="o">.</span><span class="n">join</span><span class="