Skip to content

Commit

Permalink
Update sample.py (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
lockwo authored Apr 19, 2022
1 parent 5ddde16 commit 326eb30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Sample(tf.keras.layers.Layer):
... q1 = cirq.GridQubit(1, 0)
... circuit = cirq.Circuit(
... cirq.X(q0),
... cirq.CNOT(q1)
... cirq.CNOT(q0, q1)
... )
...
... return circuit
Expand Down

0 comments on commit 326eb30

Please sign in to comment.