estimator.Param

class estimator.Param[source]

Namespace for processing LWE parameter sets.

Methods

LindnerPeikert(n[, m, dict])
param n:LWE dimension n > 0
Regev(n[, m, dict])
param n:LWE dimension n > 0
dict(lwe) Return dictionary consisting of n, α, q and samples given an LWE instance object.
preprocess(n, alpha, q[, ...]) Check if parameters n, α, q are sound and return correct types.
tuple(lwe) Return (n, α, q) given an LWE instance object.