Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Time limit error for Rigetti Backend

未关闭
#416 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
azure, python
领域
backend, cloud

调研方向

从 Hello World: Qiskit (with Rigetti) Jupyter notebook 以及 provider.get_backend 使用的 RigettiTarget backend 开始。使用更大的电路重现 timeout,然后跟踪 job 提交和结果处理,以确定零秒限制源自何处。当原因和受支持的解决方案已确定,并由适当的 regression test 或文档更新覆盖时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Hi,

when playing around with the Hello World: Qiskit (with Rigetti) Jupyter notebook from the sample gallery, I am running into following problem:

When using the Aspen M3 (or M2) instead of the simulator and increasing the size of the circuit, the execution fails with the message:

Result(backend_name='rigetti.qpu.aspen-m-3', backend_version='1', qobj_id='circuit-102', job_id='6c4b4d7c-a3fa-11ed-a578-00155d791a0c', success=False, results=[ExperimentResult(shots=100, success=False, meas_level=2, data=ExperimentResultData(), header=QobjExperimentHeader(qiskit='True', name='circuit-102', num_qubits='12', metadata=None))], error_data={'code': 'InvalidInputData', 'message': 'Execution timed out.  Note: time limit: 0 seconds.'})

Code snippet used to produce the error (circuit and provider definition not shown):

from azure.quantum.target.rigetti import RigettiTarget

rigetti_simulator_backend = provider.get_backend(RigettiTarget.ASPEN_M_3)

job = rigetti_simulator_backend.run((circuit), count=100)

result = job.result()
print(result)

The problem does not seem to occur for the inital circuit given in the example, but with increasing size of the circuit this error occurs more often until it basically happens always.

Looking at the Job Management Overview it seems like the Job is already failing before it is actually running, so my thought was that the time limit in the error message could not refer to the actual execution time but to a compile time limit?

But I have seen no option to increase this limit... any ideas how to do this or what else could cause this?

Thank you!

主要语言
Python
星标
160
派生
113
平均合并
7 天 8 小时
30 天内合并 PR
2

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/azure-quantum-python 的其他 Issue

查看 microsoft/azure-quantum-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。