loom.cliffordsim.operations.base_operation

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.operations.base_operation.OpType(*values)[source]

Bases: Enum

The types of operations that can be performed within the Engine during runtime.

CCONTROL = 'CControl'
CLASSICAL = 'Classical'
DATAMANIPULATION = 'DataManipulation'
MEASUREMENT = 'Measurement'
QUANTUMGATE = 'QuantumGate'
RESIZE = 'Resize'
class loom.cliffordsim.operations.base_operation.Operation[source]

Bases: ABC

The base class for all operations that can be performed within the Engine during runtime.

name: str
operation_type: Enum