Skip to content
Pasqal Documentation

deserialize_layout

pulser.abstract_repr.deserialize_layout(obj_str)

Deserialize a layout from an abstract JSON object.

Parameters:

obj_str (str) – the JSON string representing the layout encoded in the abstract JSON format.

Return type:

RegisterLayout

Returns:

The RegisterLayout instance.