Skip to content

Commit

Permalink
Update device JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
HGSilveri committed Apr 26, 2024
1 parent 7cebd64 commit 0a69416
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pulser-core/pulser/json/abstract_repr/schemas/device-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@
"$schema": {
"type": "string"
},
"accepts_new_layouts": {
"description": "Whether registers built from register layouts that are not already calibrated are accepted. Only enforced in QPU execution.",
"type": "boolean"
},
"channels": {
"description": "The available channels on the device.",
"items": {
Expand Down Expand Up @@ -189,6 +193,10 @@
},
"type": "array"
},
"requires_layout": {
"description": "Whether the register used in the sequence must be created from a register layout. Only enforced in QPU execution.",
"type": "boolean"
},
"reusable_channels": {
"const": false,
"description": "Whether each channel can be declared multiple times on the same pulse sequence.",
Expand Down Expand Up @@ -303,6 +311,10 @@
"description": "A unique name for the device.",
"type": "string"
},
"requires_layout": {
"description": "Whether the register used in the sequence must be created from a register layout. Only enforced in QPU execution.",
"type": "boolean"
},
"reusable_channels": {
"description": "Whether each channel can be declared multiple times on the same pulse sequence.",
"type": "boolean"
Expand Down

0 comments on commit 0a69416

Please sign in to comment.