fhelium.core.state
Independent semantic-state axes shared by CKKS values.
PlaintextRepresentation states what the payload means. Polynomial domain, modulus basis, and residue representation are independent axes for RNS values; none can be inferred from level alone.
PlaintextRepresentation
type alias View source
python
PlaintextRepresentation = Literal['slots', 'integer_coefficients', 'approximate_coefficients', 'rns']1
PolynomialDomain
type alias View source
python
PolynomialDomain = Literal['coefficient', 'ntt']1
ModulusBasis
type alias View source
python
ModulusBasis = Literal['Q', 'QP']1
ResidueRepresentation
type alias View source
python
ResidueRepresentation = Literal['standard', 'montgomery']1
CompressedPlaintextLayout
type alias View source
python
CompressedPlaintextLayout = Literal['cyclic', 'contiguous', 'strided_sparse']1