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

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

Open
#1,317 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
373
Forks
195
Avg merge
4d 15h
Merged PRs (30d)
8

Description

### 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.