> ## Documentation Index
> Fetch the complete documentation index at: https://docs.classiq.io/llms.txt
> Use this file to discover all available pages before exploring further.

# IQM

[IQM](https://www.meetiqm.com/) builds superconducting quantum computers, offered through their
IQM Resonance cloud service.

Backend specifiers use the `iqm/` prefix.

## Supported Backends

| Backend specifier | Device | Type | Qubits |
| - | - | - | - |
| `iqm/garnet` | IQM Garnet | Hardware | 20 |
| `iqm/emerald` | IQM Emerald | Hardware | 54 |

Devices are discovered from Resonance at runtime, so what you can reach depends on your Resonance
plan. Use `get_backend_details()` for the devices currently available to your account.

## Usage Example

[comment]: DO_NOT_TEST

```python theme={null}
from classiq import *


@qfunc
def main(qs: Output[QArray[QBit]]) -> None:
    allocate(2, qs)
    H(qs[0])
    CX(qs[0], qs[1])


qprog = synthesize(main)

sample(
    qprog,
    backend="iqm/emerald",
    num_shots=1000,
    config=IQMConfig(api_key=IQM_API_KEY),
)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.