Support transforming execution results into a `ndarray`

オープン
#488 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
api, data

調査の方向性

まず、生成された ControllerJobExecutionResults 型と、その readout およびメモリーリージョンのデータを定義する protobuf スキーマを見つけます。実行結果が現在どのように公開されているか、また ndarray の統合が SDK の公開 API にどのように適合するかを確認します。readout を 1 つの ndarray にパックし、メモリーリージョンのビューを返し、リージョンを決定論的に並べ替える変換を提供できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
15
フォーク
4
平均マージ
10時間 36分
マージ済み PR(30日)
2

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rigetti/qcs-sdk-rust のほかの issue

rigetti/qcs-sdk-rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。