Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Inconsistency with Cirq for pulling back existing job results from different providers

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

IonQ と Honeywell の既存のジョブの結果と service.run() を比較して、報告された動作を再現します。返される結果の型と利用可能な変換メソッドを調べます。その後、両方のプロバイダーが一貫した結果形式を公開するようにし、既存の Honeywell ジョブを IonQ ジョブと同様に CirqResult に変換できることを確認します。

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

説明

azure-quantum bug cirq enhancement help wanted python

Consistent behavior for service.run() job

When using service.run(), we see that the resulting output is consistent across providers:

IonQ

image

Honeywell

image

Calling service.run against different providers both return a CirqResult.

Inconsistent behavior for job.results() of existing job

However, when pulling back an existing job, we see inconsistent behavior:
image

For IonQ and Honeywell, job.results() returns the Raw Result format from the provider, rather than a consistent microsoft Result format that contains counts/probabilities.

In addition, it does not seem possible to get existing jobs back into the same format as if I were calling service.run(). For IonQ, I can use to_cirq_result to get back the result similar to when I called service.run().

If trying the same thing for honeywell, I get an error that dict object has no attribute to_cirq_result:
image

This means that even though honeywell service.run() returned a CirqResult, it is not possible to use similar method to get out a CirqResult from an existing job.

主要言語
Python
スター
160
フォーク
113
平均マージ
6日 23時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

microsoft/azure-quantum-python のほかの issue

microsoft/azure-quantum-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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