From 7b5a2937ba7fb8eb3a8529830f6cf67ba18e8b26 Mon Sep 17 00:00:00 2001 From: HGSilveri Date: Fri, 6 Dec 2024 16:34:46 +0100 Subject: [PATCH] Removing 'custom_operators' option --- pulser-core/pulser/backend/operator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pulser-core/pulser/backend/operator.py b/pulser-core/pulser/backend/operator.py index 69101e735..e0a7eb262 100644 --- a/pulser-core/pulser/backend/operator.py +++ b/pulser-core/pulser/backend/operator.py @@ -103,7 +103,6 @@ def from_operator_repr( eigenstates: Sequence[Eigenstate], n_qudits: int, operations: FullOp, - custom_operators: Mapping[str, QuditOp] = {}, ) -> OperatorType: """Create an operator from the operator representation. @@ -129,14 +128,11 @@ def from_operator_repr( By default it identifies strings 'ij' as single-qudit operators, where i and j are eigenstates that denote |i>