Skip to content

Commit c9b2730

Browse files
committed
Fix the type error in the Shor tutorial notebook
1 parent 163a087 commit c9b2730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/experiments/shor.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@
664664
"x = 5\n",
665665
"\n",
666666
"# Display (part of) the unitary. Uncomment if n is small enough.\n",
667-
"# cirq.unitary(ModularExp(target, exponent, x, n))"
667+
"# cirq.unitary(ModularExp([2] * L, [2] * (2 * L * 3), x, n))"
668668
]
669669
},
670670
{

0 commit comments

Comments
 (0)