Closed thomasgwong closed 2 years ago
Added \cgate, which is a gate but with a classical incoming wire instead of a quantum incoming wire. This is useful for creating resets, as shown in the bottom-right corner of the following circuit:
@thomasgwong Thanks for the contribution! Could you update the docs to include a snippet highlighting this gate?
Of course! I just added the snippet. Here's a screenshot showing how it compiles:
Added \cgate, which is a gate but with a classical incoming wire instead of a quantum incoming wire. This is useful for creating resets, as shown in the bottom-right corner of the following circuit:![Screenshot_2021-11-02_13-31-36](https://user-images.githubusercontent.com/35974880/139916130-cc76b8ef-5328-4c57-b310-6902b1f1994d.png)