From 27689191f8e75079cf653f4e4f87f7244151dd34 Mon Sep 17 00:00:00 2001 From: Changsoo Kim <57739683+csookim@users.noreply.github.com> Date: Sun, 20 Oct 2024 11:05:23 +0400 Subject: [PATCH] Update src/qibolab/backends.py Co-authored-by: Alessandro Candido --- src/qibolab/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qibolab/backends.py b/src/qibolab/backends.py index 5baaa3921..7f1cec8ad 100644 --- a/src/qibolab/backends.py +++ b/src/qibolab/backends.py @@ -60,7 +60,7 @@ def connectivity(self) -> list[tuple[Union[str, int], Union[str, int]]]: return list(self.platform.pairs) @property - def natives(self) -> list[str]: + def natives(self) -> list[str]: native_gates = set() for _, q in self.platform.qubits.items(): native_gates |= {k for k, v in q.native_gates.__dict__.items() if v is not None}