rigetti / rigetti/qcs-sdk-rust

Provide dataclass-like bindings for the ISA model in Python

Open
#456 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.