amazon-braket / amazon-braket/amazon-braket-sdk-python

IQM Emerald device reports qubitCount=54 but only accepts 49 qubits

未关闭
#1,317 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
373
派生
195
平均合并
4 天 15 小时
30 天内合并 PR
8

描述

### Describe the bug
`AwsDevice.properties.paradigm.qubitCount` for IQM Emerald (`arn:aws:braket:eu-north-1::device/qpu/iqm/Emerald`) reports **54**, but submitting a circuit that uses more than **49** qubits is rejected by the service.

### To reproduce
```python
from braket.aws import AwsDevice
from braket.circuits import Circuit

device = AwsDevice("arn:aws:braket:eu-north-1::device/qpu/iqm/Emerald")
print(device.properties.paradigm.qubitCount) # -> 54

n = 54
ghz = Circuit().h(0)
for i in range(n - 1):
ghz.cnot(i, i + 1)

device.run(ghz, shots=100)
```

### Expected behavior
`qubitCount` should reflect the number of qubits actually usable for task submission (or the discrepancy between physical and usable qubits should be documented / exposed via a separate property).

### Actual behavior
```
botocore.errorfactory.ValidationException: An error occurred (ValidationException) when calling the CreateQuantumTask operation: Used 54 qubits, which is more than the device qubit count of 49
```

### Environment
- `amazon-braket-sdk` 1.121.0
- Python 3.11.6
- macOS (macOS-26.3-arm64)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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