estimator.switch_modulus

estimator.switch_modulus(f, n, alpha, q, secret_distribution, *args, **kwds)[source]
Parameters:
  • f – run f
  • n – LWE dimension n > 0
  • alpha – noise rate 0 ≤ α < 1, noise will have standard deviation αq/sqrt{2π}
  • q – modulus 0 < q
  • secret_distribution – distribution of secret, see module level documentation for details