Generating security curves

In the below link wherefrom do we import the estimator
and by sage I hope it is sagemath (does installing any of its version work?)

Hi @Laser_beam!

The lattice estimator is located in concrete/third_party. I would recommend using the commands in the Makefile located at concrete/tools/parameter-curves/Makefile, as this handles the import via:

LATTICE_ESTIMATOR_DIR=$(PWD)/../../third_party/lattice-estimator.

You are right that we are referring to SageMath – I would recommend installing the most recent version.

Happy to answer any more questions you may have.

Thanks,

Ben

1 Like

Thanks but I would love to see the outputs through jupyter file…How do I import estimator from any directory I am working in…

Hi @Laser_beam – one way to do this is to do:


import sys
sys.path.insert(0,'path_to_estimator_folder')
from estimator import *

Thanks,

Ben

1 Like