fhelium.compile.passes.ckks._resolve_rotation_keys
Resolve logical roll steps to caller-bound CKKS rotation-key operands.
ResolveRotationKeyOperandsPass
class View source
python
ResolveRotationKeyOperandsPass()1
Replace logical rolls with CKKS rotations bound to named key resources.
The pass normalizes each step using the CKKS slot count and names its resource rotation-key:<step>. It reads CkksConfig from the Compile workspace and records the resolved coefficient automorphism on the key operand. It writes symbolic references only; key creation and live binding remain caller responsibilities.
Attributes
| Name | Type | Default/value |
|---|---|---|
name | str | field(default='resolve-rotation-key-operands', init=False) |
run
method
python
def run(compilation: 'Compilation') -> PassResult: ...1