From ecc69a4fbe657d097299208b0d97701437a79f66 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Thu, 14 Nov 2024 15:33:54 +0100 Subject: [PATCH] feat: Add support for drag envelope --- convert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/convert.py b/convert.py index bf18265e..473836de 100644 --- a/convert.py +++ b/convert.py @@ -20,6 +20,7 @@ def channel(qubit: str, gate: str): SHAPES = { "rectangular": {}, "gaussian": {"rel_sigma": lambda s: 1 / s}, + "drag": {"rel_sigma": lambda s: 1 / s, "beta": lambda s: s}, "custom": {"i_": lambda s: np.array(s)}, }