create_conjugate_transposition_key

GLEngine.create_conjugate_transposition_key(secret_key, level)
Creates a conjugate transposition key, which is used for complex conjugate transposition. Requires a secret key.
  • Input
    • GLSecretKey
    • level: optional
      • Creates the key with a reduced size to contain only the specified multiplication levels.
  • Output
    • GLConjugateTranspositionKey
from desilofhe import GLEngine

engine = GLEngine()
secret_key = engine.create_secret_key()
conjugate_transposition_key = engine.create_conjugate_transposition_key(
    secret_key
)

level_3_conjugate_transposition_key = engine.create_conjugate_transposition_key(
    secret_key, level=3
)