estimator.lwe_parameters.LWEParameters#

class estimator.lwe_parameters.LWEParameters(n: int, q: int, Xs: estimator.nd.NoiseDistribution, Xe: estimator.nd.NoiseDistribution, m: int = <MagicMock id='139637088832048'>, tag: str = None)[source]#
__call__(**kwargs)#

Call self as a function.

Methods

__init__(n, q, Xs, Xe[, m, tag])

amplify_m(m)

Return a LWE instance parameters with m samples produced from the samples in this instance.

normalize()

EXAMPLES:

switch_modulus()

Apply modulus switching and return new instance.

updated(**kwds)

Return a new set of parameters updated according to kwds.

Attributes

m

tag

n

q

Xs

Xe