fhelium.compile.passes.ckks._lower_message_preparation
Lower concrete message preparation into CKKS codec and representation steps.
LowerMessagePlaintextPreparationPass
class View source
python
LowerMessagePlaintextPreparationPass(name: str = 'lower-message-plaintext-preparation')1
Expand concrete message preparation into visible CKKS operations.
Depth, scale, ordered prime ids, and modulus basis must already be assigned by a caller-selected CKKS scheduling pass. Missing state is an error rather than a request for this pass to choose a depth or scale.
Attributes
| Name | Type | Default/value |
|---|---|---|
name | str | 'lower-message-plaintext-preparation' |
run
method
python
def run(compilation: 'Compilation') -> PassResult: ...1