Skip to content

Commit

Permalink
feat: Add support for drag envelope
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Nov 14, 2024
1 parent c893c04 commit ecc69a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
}

Expand Down

0 comments on commit ecc69a4

Please sign in to comment.