Skip to content

Commit cc31e48

Browse files
committed
fix error in notebook
1 parent a03cd0c commit cc31e48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

research/Incrementer.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@
452452
"for n in list(range(2, 100))+ list(range(200, 5001, 100)):\n",
453453
" ancilla_cto, _ = counts_cto(n)\n",
454454
" assert ancilla_cto == math.floor(math.log2(n))-1\n",
455-
" ancilla_ff, _ = counts_cto(n)\n",
455+
" ancilla_ff, _ = counts_ff(n)\n",
456456
" assert ancilla_ff == math.floor(math.log2(n))-1\n",
457457
" ancilla_inc, _ = counts_inc(n)\n",
458458
" assert ancilla_inc == 2 * math.ceil(math.log2(n + 2)) - 1\n",

0 commit comments

Comments
 (0)