Open drbh opened 5 years ago
Currently you can do, as a workaround:
vm.gate_nand(cipherbit1[0:1],cipherbit2[0:1])
(or any other view, as long as it has a shape longer than 0). I agree that having scalar ciphertexts would be convenient, so I'm not closing the issue.
I can
and get
but I can't
cause I get
Can we make LweSampleArray indexable, and make it possible to compute on a single subset of bits from a larger LweSampleArray?