loom.cliffordsim.exceptions

Copyright 2024 Entropica Labs Pte Ltd

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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 occurred 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.