Add implementation of Estimator primitive to ffsim.qiskit

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

まず、Qiskit BaseEstimatorV2 インターフェースと既存の ffsim.qiskit の回路サポートを確認します。SparsePauliOp 変換用の reverse_jordan_wigner エントリーポイントを定義し、その後 ffsim.linear_operator を通じて回路シミュレーションを追跡し、期待値をどのように計算すべきかを判断します。Estimator インターフェースが ffsim.qiskit によって提供されるゲートをサポートし、期待値を返せば完了です。

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

説明

Implementation of the Qiskit Estimator interface that supports gates from the ffsim.qiskit module.

This can be implemented as follows:

  • Implement a function ffsim.qiskit.reverse_jordan_wigner which accepts a SparsePauliOp and outputs a FermionOperator
  • Simulate the circuit and compute the expectation value by converting the FermionOperator to a LinearOperator with ffsim.linear_operator
主要言語
Python
スター
116
フォーク
50
平均マージ
2時間 1分
マージ済み PR(30日)
8

環境構築

はじめの一歩

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

Qiskit/ffsim のほかの issue

Qiskit/ffsim の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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