Skip to content

Commit

Permalink
nit: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
cdbf1 committed Jul 16, 2024
1 parent b4c73b7 commit 9f512cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/apps/qcvv/qcvv_irb_css.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"source": [
"import cirq\n",
"import numpy as np\n",
"\n",
"decay_prob = 0.01\n",
"noise = cirq.AmplitudeDampingChannel(gamma=decay_prob)\n",
"target = cirq.DensityMatrixSimulator(noise=noise)"
Expand All @@ -43,7 +44,7 @@
"metadata": {},
"outputs": [],
"source": [
"expected_gate_error = 1/3 + decay_prob/6 - np.sqrt(1-decay_prob)/3"
"expected_gate_error = 1 / 3 + decay_prob / 6 - np.sqrt(1 - decay_prob) / 3"
]
},
{
Expand Down

0 comments on commit 9f512cf

Please sign in to comment.