self.assertEqual(ComplexNumber.parse_complex_numer("4.5-5.7i"), ComplexNumber(4.5, -5.7)) self.assertEqual(ComplexNumber.parse_complex_numer("-1i"), ComplexNumber(0 ...
How to multiply a complex number with a ciphertext in CKKS? If the complex number's imaginary part is 0, the multiplication can be performed by modular multiplying each coefficient in the ciphertext ...