loom.cliffordsim.engine

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.engine.Engine(input_operations, nqubits, seed=None, shots=1, parallelize=False)[source]

Bases: object

The Engine Object contains all the components that make up the Stabilizer Simulator. These include the MomentQueue, the Tableau and the DataStore.

This Object facilitates the interaction between all of these internal components with each other.

run()[source]

Run the clifford simulator.

property stabilizer_set: set[str]

Returns the stabilizer set in string format.

property stabilizer_set_sparse_format: list[dict]

Returns the stabilizer set in sparse format.