Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiplication Depth analysis #112

Open
ayushmohod opened this issue Jun 29, 2023 · 3 comments
Open

Multiplication Depth analysis #112

ayushmohod opened this issue Jun 29, 2023 · 3 comments
Labels
question Further information is requested

Comments

@ayushmohod
Copy link

I want to use any on of the scheme and get to know about the multiplication depth for the parameters that are ( n = 8192, q = 2^383-2^33+1, t1 = 1099511922689, and t2 = 1099512004609) i want want to know which scheme i can use and how to create this context for it.

@ayushmohod ayushmohod added the question Further information is requested label Jun 29, 2023
@Huelse
Copy link
Owner

Huelse commented Jun 30, 2023

You can use CoeffModulus.MaxBitCount(poly_modulus_degree) to get the value, and the sum of CoeffModulus should smaller than this, releated issue.

@ayushmohod
Copy link
Author

ayushmohod commented Jun 30, 2023

so for n=8192 there are a particular number of bits of q which we can given and sum up those bit to the q i provided,right?

but how can i give plaintext modulus(t1 and t2) value in ckks scheme?
and also for n=8192 the q limit is 218 something and my q is 383 bits, so what can i do in that case?

@Huelse
Copy link
Owner

Huelse commented Jul 1, 2023

I'm not sure what you want to know, but the rule is simple.
If you need larger a MaxBitCount, you can increase the poly_modulus_degree, like n=16384, which means the noise budget will be larger and you can do more multiplication at the same accuracy, but the costs are the evaluate will be slower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants