Open abdell0000 opened 2 years ago
the noise budget before and after the relinearization remain the same
This looks expected. Relinearization helps reducing encrypted_resultt.size()
back to 2. It helps save noise budget in the long run but might not increase noise budget instantly.
but how can we go to higher number of possible iterations
There are a number of things that you can try:
encrypt_symmetric
instead of encrypt
can help if you only need symmetric encryption.plain_modulus
.poly_modulus_degree
and coeff_modulus
.
Hello, I'm trying to compute a geometric serie with encrypted constant ratio x_encrypted_example for a fixed N iterations, however i noticed that the noise budget before and after the reliniarisation remain the same ( in encrypted_resultt), what do you think the problem came from ? Bellow the snippet `RelinKeys relin_keyss; keygen.create_relin_keys(relin_keyss);
`
int N = 3; for (int cmp=0;cmp<N;cmp++) { evaluator.add_inplace(sum_encrypt,prod_encrypt);
`
Edit : when i omit the line of relinearization, i can't go to higher iterations compared to the snippet with the line in question. So , i think that relinearization is working fine. But how can we go to higher number of possible iterations, i set the poly_modulos_degree to 16384, and i got 32 possible multiplications, if i want for example 100 iterations, how can i do it , any suggestions ?