Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide dataclass-like bindings for the ISA model in Python #456

Open
mhodson-rigetti opened this issue Apr 9, 2024 · 0 comments
Open

Comments

@mhodson-rigetti
Copy link

mhodson-rigetti commented Apr 9, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant