Skip to content

Commit 619d874

Browse files
committed
Fixed some typos, clean up
1 parent 507973e commit 619d874

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

articles/how-to-visualize-circuits.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ To view a circuit diagram for a Q# program in Jupyter Notebook, follow these ste
124124
125125
#### View circuit diagrams for operations that take qubits as input
126126
127-
In the previous Bell state example, the operation `BellState` doesn't take qubits as input. If the operation takes qubits or qubit arrays as input, then you must omit the parentheses when you pass the operation to draw circuit diagrams.
127+
In the previous Bell state example, the operation `BellState` doesn't take qubits as input. If the operation takes qubits or qubit arrays as input, then omit the parentheses when you pass the operation to draw circuit diagrams.
128128
129129
For example, follow these steps to draw circuit diagrams for an operation that takes qubits:
130130
@@ -165,7 +165,7 @@ To view a circuit diagram for an OpenQASM program in Jupyter Notebook, follow th
165165
from qsharp.openqasm import import_openqasm, ProgramType
166166
```
167167
168-
1. In a new cell, write your OpenQASM program in a Python string pass the string to the `import_openqasm` function. To call the program in your Python code, give the function a name and set `program_type` to `ProgramType.File`.
168+
1. In a new cell, write your OpenQASM program in a Python string and pass the string to the `import_openqasm` function. To call the program in your Python code, give the function a name and set `program_type` to `ProgramType.File`.
169169
170170
```python
171171
source = """

0 commit comments

Comments
 (0)