diff --git a/Readme.md b/Readme.md index 57587e4..2937fe0 100644 --- a/Readme.md +++ b/Readme.md @@ -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 diff --git a/cout_shor.py b/cout_shor.py index bae7da4..a5f6fd7 100755 --- a/cout_shor.py +++ b/cout_shor.py @@ -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))} @@ -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),