pub fn estimate_msb_noise_rlwe<K>(
    poly_size: PolynomialSize,
    log2_modulus: u32
) -> Variancewhere
    K: KeyDispersion,
Expand description

Computes the dispersion of the bits greater than $q$ after a modulus switching.

Example

use concrete_core::prelude::{BinaryKeyKind, PolynomialSize, Variance};
use concrete_npe::estimate_msb_noise_rlwe;
use std::fmt::Binary;
let rlwe_mask_size = PolynomialSize(1024);
let var_out = estimate_msb_noise_rlwe::<BinaryKeyKind>(rlwe_mask_size, 64);