loom.cliffordsim.exceptions

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.

exception loom.cliffordsim.exceptions.ClassicalOperationError[source]

Bases: BaseException

Raised when trying to perform a Classical Operation.

exception loom.cliffordsim.exceptions.ClassicalRegisterError[source]

Bases: BaseException

Raised when trying to perform an action with the classical register.

exception loom.cliffordsim.exceptions.EngineRunError[source]

Bases: BaseException

An Error has occurred when trying to run the Engine.

exception loom.cliffordsim.exceptions.InvalidTableauError[source]

Bases: BaseException

An Error has occured when trying to validate the current Tableau during runtime.

exception loom.cliffordsim.exceptions.PropagationError[source]

Bases: BaseException

An Error has occurred when trying to propagate a PauliFrame

exception loom.cliffordsim.exceptions.TableauSizeError[source]

Bases: BaseException

Raised when the Tableau provided 2 tableaus do not have the same size.