The Korkine–Zolotarev (KZ) lattice basis reduction algorithm or Hermite–Korkine–Zolotarev (HKZ) algorithm is a lattice reductionalgorithm.
For lattices in it yields a lattice basis with orthogonality defect at most , unlike the bound of the LLL reduction.[1] KZ has exponential complexity versus the polynomial complexity of the LLL reduction algorithm, however it may still be preferred for solving multiple closest vector problems (CVPs) in the same lattice, where it can be more efficient.
Then the basis is KZ-reduced if the following holds:
is the shortest nonzero vector in
For all ,
Note that the first condition can be reformulated recursively as stating that is a shortest vector in the lattice, and is a KZ-reduced basis for the lattice .
Also note that the second condition guarantees that the reduced basis is length-reduced (adding an integer multiple of one basis vector to another will not decrease its length); the same condition is used in the LLL reduction.