From 0a69416bcc682d27a04ae84d7acc56fa53d1e667 Mon Sep 17 00:00:00 2001 From: HGSilveri Date: Fri, 26 Apr 2024 12:23:58 +0200 Subject: [PATCH] Update device JSON schema --- .../json/abstract_repr/schemas/device-schema.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pulser-core/pulser/json/abstract_repr/schemas/device-schema.json b/pulser-core/pulser/json/abstract_repr/schemas/device-schema.json index a4421f9e3..8c8370da3 100644 --- a/pulser-core/pulser/json/abstract_repr/schemas/device-schema.json +++ b/pulser-core/pulser/json/abstract_repr/schemas/device-schema.json @@ -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": { @@ -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.", @@ -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"