rigetti / rigetti/qcs-sdk-rust
Support transforming execution results into a `ndarray`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 15
- Forks
- 4
- Avg merge
- 1h 9m
- Merged PRs (30d)
- 1
Description
When retrieving results, a ControllerJobExecutionResults is returned. This type is generated from our protobuf schema, which doesn't offer an ergonomic API for end users who want to do things like linear algebra on the data. For platforms like Python, this data wrangling can be a drag on performance as well.
To make this easier, the SDK should offer a method for transforming the protobuf derived struct into an ndarray. This format would pack all readout values into a single ndarray, and return a mapping of memory regions into views of that ndarray. The ordering of memory regions should be deterministic.
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 locating the generated ControllerJobExecutionResults type and the protobuf schema that defines its readout and memory-region data. Check how execution results are currently exposed and how ndarray integration would fit the SDK's public API. Done means providing a conversion that packs readouts into one ndarray, returns memory-region views, and orders regions deterministically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100