Skip to content

Commit a2a5fc3

Browse files
authored
Makes Hello Qubit consistent. (#273)
1 parent 3498598 commit a2a5fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ qubit = cirq.google.XmonQubit(0, 0)
2121
circuit = cirq.Circuit()
2222
circuit.append([
2323
# Square root of NOT.
24-
cirq.X(qubit)**0.5,
24+
cirq.X.on(qubit)**0.5,
2525

2626
# Measurement.
2727
cirq.MeasurementGate('result').on(qubit)

0 commit comments

Comments
 (0)