rigetti / rigetti/qcs-sdk-rust
Provide dataclass-like bindings for the ISA model in Python
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 15
- Forks
- 4
- Avg merge
- 1h 9m
- Merged PRs (30d)
- 1
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the existing qcs_api_client Pydantic ISA models with the Rust-backed qcs_sdk Python bindings. Trace construction for Node, Parameter, and InstructionSetArchitecture, then verify that users can construct and modify ISA model parts without the reported TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100