estimator.simulator.qary_simulator

Contents

estimator.simulator.qary_simulator#

estimator.simulator.qary_simulator(f, d, n, q, beta, xi=1, tau=1, dual=False, ignore_qary=False)[source]#

Reduced lattice shape calling f.

Parameters:
  • d – Lattice dimension.

  • n – The number of q vectors is d-n-1.

  • q – Modulus q

  • beta – Block size β.

  • xi – Scaling factor ξ for identity part.

  • tau – Kannan factor τ.

  • dual – perform reduction on the dual.

  • ignore_qary – Ignore the special q-ary structure (forget q vectors)