From 8e5f65af4a18dc62ed075d7eb8f977d02bd78afe Mon Sep 17 00:00:00 2001 From: Ethan Hansen <1ethanhansen@protonmail.com> Date: Mon, 17 Jul 2023 13:57:04 -0700 Subject: [PATCH] fix(docs): rendering and grammar issues with the Creating basic circuits section --- docs/quantum/tutorials/beginner_tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quantum/tutorials/beginner_tutorial.rst b/docs/quantum/tutorials/beginner_tutorial.rst index 597e99a..c871931 100644 --- a/docs/quantum/tutorials/beginner_tutorial.rst +++ b/docs/quantum/tutorials/beginner_tutorial.rst @@ -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: