You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using qcs_api_client it provided pydantic models of the ISA. This allows customers to manipulate the ISA, such as to remove edges or instructions, adjust fidelities for compilation, and other purposes.
Currently, users attempting to migrate from qcs_api_client to qcs_sdk encounter errors such as TypeError: No constructor defined when trying to construct a new ISA. Common examples of object construction include Node(node_id=2), Parameter(name="theta") through all of the ISA model parts until a new instance of InstructionSetArchitecture is created.
Is it possible to serve this same kind of dataclass-like functionality through the new Rust-backed SDK?
The text was updated successfully, but these errors were encountered:
When using
qcs_api_client
it providedpydantic
models of the ISA. This allows customers to manipulate the ISA, such as to remove edges or instructions, adjust fidelities for compilation, and other purposes.Currently, users attempting to migrate from
qcs_api_client
toqcs_sdk
encounter errors such asTypeError: No constructor defined
when trying to construct a new ISA. Common examples of object construction includeNode(node_id=2)
,Parameter(name="theta")
through all of the ISA model parts until a new instance ofInstructionSetArchitecture
is created.Is it possible to serve this same kind of dataclass-like functionality through the new Rust-backed SDK?
The text was updated successfully, but these errors were encountered: