Provide an example of a computation involving two vectors and bootstrapping, is there anything avaible?

Hello,
I have gone through all examples in the GitHub repository. Unfortunately, I could not find an example where calculations are performed on multiple ciphertexts followed by bootstrapping. It always encrypts only one vector, and then bootstrapping is applied to it.

There is nothing special about using one or many ciphertexts. For example, you can take any other example, such as openfhe-development/src/pke/examples/simple-real-numbers.cpp at main · openfheorg/openfhe-development · GitHub, and apply bootstrapping to any of the results there (of course, the cryptocontext should be set the same way as in bootstrapping examples). The only consideration is to make sure the bootstrapping input is (approximately) in the range from -1 to 1 to get best precision after CKKS bootstrapping.

1 Like