p>
<h2 id='usage' class='heading'>Usage</h2>
<h3 id='circuit' class='heading'>Circuit</h3>

<p><img src="https://raw.githubusercontent.com/indisoluble/SwiftQuantumComputing/master/Images/Usage.jpg" alt="Usage"></p>

<p>Check code in <a href="https://github.com/indisoluble/SwiftQuantumComputing/tree/master/Playground/Usage/Circuit.playground/Contents.swift">Circuit.playground</a>.</p>
<h3 id='circuit-with-noise' class='heading'>Circuit with noise</h3>
<pre class="highlight swift"><code><span class="kd">impor