Feature Request: Custom Excitation List

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

UCJOpSpinBalanced.from_t_amplitudes のエントリーポイントから始め、t1 と t2 の振幅が UCJ ansatz にどのように変換されるかを確認します。単一励起および二重励起からなる、提案された excitation_list のサポートを追加し、指定された励起が保持され、それ以外が無視されることを検証します。

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

説明

Is there a method to create the UCJ ansatz by passing a list of excitations to keep while ignoring the rest? It seems like the only way to do this would be to zero out t1, t2 amplitudes when creating the UCJ ansatz from parameters.

Something like:

ffsim.UCJOpSpinBalanced.from_t_amplitudes(t2, *, t1=None, n_reps=None, interaction_pairs=None, excitation_list=None)

where excitation_list is a list of single and double excitations e.g. [ ( (1) , (2) ) , ( (2) , (3) ) , ( (1,2) , (3 ,4) ) ]
would be more convenient.

主要言語
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 を短くまとめたダイジェスト。