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 摘要。