Skip to content

Commit

Permalink
fix(docs): rendering and grammar issues
Browse files Browse the repository at this point in the history
with the Creating basic circuits section
  • Loading branch information
1ethanhansen committed Jul 17, 2023
1 parent 9f6690d commit 8e5f65a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/quantum/tutorials/beginner_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ This state can be created using a Hadamard gate and a CNOT gate:
q_1: ─────┤ X ├
└───┘
Let's create a circuit that does this for us! Create a new file ``bell_state.py`` and follow along
Let's create a circuit that does this for us! Create a new file ``bell_state.py`` and follow along with these steps ↓

This circuit can be created in a few lines. First, we import the needed gate and circuit classes, then create a new ``Circuit`` object, and finally add the gates we want.

.. literalinclude:: ../examples/tutorials/bell_state.py
:language: python
:start-at: from orquestra.quantum.circuits import CNOT, H, Circuit
:start-at: # build the circuit
:end-at: ic(bell_circuit)

.. _icecream-note:
Expand Down

0 comments on commit 8e5f65a

Please sign in to comment.