Skip to content

Commit

Permalink
Fix cirq.google reference in docs. (quantumlib#778)
Browse files Browse the repository at this point in the history
- One of the docs uses cirq.google and should be cirq_google.

Co-authored-by: Nicholas Rubin <[email protected]>
  • Loading branch information
dstrain115 and ncrubin committed Jul 25, 2022
1 parent 2ff1cb1 commit 94407b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorials/circuits_1_basis_change.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@
"source": [
"import openfermion\n",
"import cirq\n",
"import cirq_google\n",
"\n",
"# Initialize the qubit register.\n",
"qubits = cirq.LineQubit.range(n_qubits)\n",
Expand Down Expand Up @@ -282,7 +283,7 @@
},
"outputs": [],
"source": [
"xmon_circuit = cirq.google.optimized_for_xmon(circuit)\n",
"xmon_circuit = cirq_google.optimized_for_xmon(circuit)\n",
"print(xmon_circuit.to_qasm())"
]
}
Expand Down

0 comments on commit 94407b6

Please sign in to comment.