Skip to content

Commit

Permalink
Merge pull request #1060 from qiboteam/float-waveforms
Browse files Browse the repository at this point in the history
Float waveforms
  • Loading branch information
stavros11 authored Oct 3, 2024
2 parents b1213fe + 40b2893 commit 6087ba8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
70 changes: 35 additions & 35 deletions src/qibolab/_core/dummy/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@
[
"0/drive",
{
"duration": 40.0,
"duration": 22.3453,
"amplitude": 0.1,
"envelope": {
"kind": "gaussian",
"rel_sigma": 5.0
"rel_sigma": 0.2
},
"relative_phase": 0.0,
"kind": "pulse"
Expand All @@ -178,7 +178,7 @@
"amplitude": 0.005,
"envelope": {
"kind": "gaussian",
"rel_sigma": 5.0
"rel_sigma": 0.2
},
"relative_phase": 0.0,
"kind": "pulse"
Expand All @@ -199,7 +199,7 @@
"amplitude": 0.1,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -219,7 +219,7 @@
"amplitude": 0.3,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -235,7 +235,7 @@
"amplitude": 0.0484,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -257,7 +257,7 @@
"amplitude": 0.1,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -277,7 +277,7 @@
"amplitude": 0.3,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -293,7 +293,7 @@
"amplitude": 0.005,
"envelope": {
"kind": "gaussian",
"rel_sigma": 5.0
"rel_sigma": 0.2
},
"relative_phase": 0.0,
"kind": "pulse"
Expand All @@ -314,7 +314,7 @@
"amplitude": 0.1,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -334,7 +334,7 @@
"amplitude": 0.3,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -350,7 +350,7 @@
"amplitude": 0.0484,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -372,7 +372,7 @@
"amplitude": 0.1,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -392,7 +392,7 @@
"amplitude": 0.3,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -408,7 +408,7 @@
"amplitude": 0.0484,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -430,7 +430,7 @@
"amplitude": 0.1,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -455,7 +455,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -476,7 +476,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -497,7 +497,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -518,7 +518,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -538,7 +538,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down Expand Up @@ -566,7 +566,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -583,7 +583,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down Expand Up @@ -611,7 +611,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -629,7 +629,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down Expand Up @@ -657,7 +657,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -674,7 +674,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down Expand Up @@ -702,7 +702,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -720,7 +720,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down Expand Up @@ -750,7 +750,7 @@
"amplitude": 0.3,
"envelope": {
"kind": "drag",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"beta": 0.02
},
"relative_phase": 0.0,
Expand All @@ -766,7 +766,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down Expand Up @@ -798,7 +798,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -819,7 +819,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand All @@ -836,7 +836,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down Expand Up @@ -864,7 +864,7 @@
"amplitude": 0.05,
"envelope": {
"kind": "gaussian_square",
"rel_sigma": 5.0,
"rel_sigma": 0.2,
"width": 0.75
},
"relative_phase": 0.0,
Expand Down
2 changes: 1 addition & 1 deletion src/qibolab/_core/unrolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Bounds(Config):

kind: Literal["bounds"] = "bounds"

waveforms: Annotated[int, {"count": _waveform}]
waveforms: Annotated[float, {"count": _waveform}]
"""Waveforms estimated size."""
readout: Annotated[int, {"count": _readout}]
"""Number of readouts."""
Expand Down

0 comments on commit 6087ba8

Please sign in to comment.