Skip to content

Commit

Permalink
Add arXiv number + prevent empty window crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElieGouzien committed Feb 15, 2023
1 parent f9e22ca commit cfe1231
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Code for computations in [arXiv:????.????](https://arxiv.org/abs/????.????)
===========================================================================
Code for computations in [arXiv:2302.06639](https://arxiv.org/abs/2302.06639)
=============================================================================


Computation of resources for elliptic curve discrete logarithm computation with cat qubits
Expand Down
6 changes: 3 additions & 3 deletions cout_shor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
d2s=(None,),
ds=(None,),
ns=(None,),
wes=range(1, 10),
wms=range(1, 10),
wes=range(2, 10),
wms=range(2, 10),
cs=range(1, 40))}


Expand Down Expand Up @@ -90,7 +90,7 @@ def iterate(base_params: Params, progress=PB_DEF, **kwargs):
and wm is not None and we is not None and wm > we):
continue
# Elliptic curve addition trick require one more qubit in we.
if (base_params.algo.prob == 'elliptic_log' and we == 2):
if (base_params.algo.prob == 'elliptic_log' and we <= 2):
continue
yield base_params._replace(
algo=base_params.algo._replace(we=we, wm=wm, c=c),
Expand Down

0 comments on commit cfe1231

Please sign in to comment.