loom.cliffordsim.moments.base_moment
Copyright (c) Entropica Labs Pte Ltd 2025.
Use, distribution and reproduction of this program in its source or compiled form is prohibited without the express written consent of Entropica Labs Pte Ltd.
- class loom.cliffordsim.moments.base_moment.Moment(input_operations, time_step)[source]
Bases:
MomentInterfaceA Moment contains a set of instructions that are directly applicable on the Tableau.
- transform_pf(input_pauliframes, data_store, **kwargs)[source]
Applies tranformation of Instructions on incoming PauliFrame. Also requires a DataStore that manages information keeping throughout the instruction application process and kwargs to transparently support future extensions.
- Return type:
List[PauliFrame]
- transform_pf_back(input_pauliframes, data_store, **kwargs)[source]
Applies backwards tranformation of Instructions on incoming PauliFrame. Also requires a DataStore that manages information keeping throughout the instruction application process and kwargs to transparently support future extensions.
- Return type:
List[PauliFrame]