Skip to main content

10 - Quantum Hardware: IBM Q, IonQ, and Rigetti

How to read a quantum hardware spec sheet: error per gate, connectivity and number of gates, with two simulations and dated sources.

What do you think about this article?

10 - Quantum Hardware: IBM Q, IonQ, and Rigetti
Quantum Computingfedericocalo.dev

At a Glance

How to read a quantum hardware spec sheet: error per gate, connectivity and number of gates, with two simulations and dated sources.

One spec sheet says "156 qubits", another "99.99% fidelity", a third "full connectivity". Which of these figures tells you whether your circuit idea will run? None of them alone. A quantum processor is judged by three quantities together: how much each two-qubit gate gets wrong, which pairs of qubits can interact directly and how many gates your circuit requires. The number of qubits comes after. The article shows this with two small programs that you can rerun, then reads with that yardstick the data that manufacturers and scientific papers publish today.

Facts about hardware change quickly, so every manufacturer value here is dated (consulted on 2026-11-13) and attributed to whoever states it. Qubit quality against error correction ties in with what we saw in article 06 on Shor, and the idea of a physical qubit and of noise starts from article 01. The previous article, on quantum machine learning, showed that even with perfect hardware a model may fail to train: here the question is how far real hardware departs from the perfect.

The quantities on a spec sheet

Almost every spec sheet lists the same items, and each answers a different question:

  • the number of physical qubits: how many there are, not how many can be used together with good quality;
  • the T1 and T2 times: how long a qubit keeps its energy (T1) and its phase (T2), to be compared with the duration of a gate;
  • the gate fidelity, generally a median, for one and two qubits: the probability that the gate does what it should;
  • the connectivity: which pairs of qubits can interact directly, without going through others;
  • a system benchmark, such as quantum volume or layer fidelity, which tries to summarise the previous ones on a real circuit.

The first four are characteristics of the device, the last is a test that combines them. The reason the benchmark exists is stated by the paper that defines layer fidelity: quantum volume looks at the best subset of the device and gives a pass/fail outcome, so it does not account for the average quality over many connected qubits. A large number of qubits with poor gates is less useful than a small number with good gates: the underlying idea of the two programs that follow.

From gate fidelity to the success of a circuit

Imagine preparing a GHZ state on n qubits (the generalisation of the Bell state from article 03) with one Hadamard and a chain of n - 1 CNOTs. If each CNOT is followed by depolarising noise, that is with probability p the pair involved is replaced by uniform Pauli noise, what is the fidelity with the ideal state? The naive rule is to multiply the success probabilities: (1 - p)^(n-1). The listing simulates the density matrix, built from scratch, and compares the result with that rule.

In depolarizza the average over all sixteen Pauli pairs on the pair of qubits is the noise channel; fedelta_ghz builds the state, applies at each step the CNOT and the noise, and computes the overlap with the ideal GHZ. In __main__ two independent checks precede the numbers: without noise the GHZ is exact, and for two qubits the fidelity after one gate must be 1 - 3p/4, because the noisy part leaves the pair in the maximally mixed state, which has fidelity 1/4 with a Bell state.

import itertools
import numpy as np

I2, X = np.eye(2), np.array([[0, 1], [1, 0]])
Y, Z = np.array([[0, -1j], [1j, 0]]), np.diag([1.0, -1.0])

def su_qubit(op, q, n):
    """One-qubit operator extended to n qubits (qubit 0 is the most significant)."""
    m = np.eye(1)
    for k in range(n):
        m = np.kron(m, op if k == q else I2)
    return m

def cnot(a, b, n):
    P0, P1 = np.diag([1.0, 0.0]), np.diag([0.0, 1.0])
    return su_qubit(P0, a, n) + su_qubit(P1, a, n) @ su_qubit(X, b, n)

def depolarizza(rho, a, b, p, n):
    """With probability p the pair (a, b) is replaced by uniform Pauli noise: (1/16) sum P rho P."""
    media = sum(U @ rho @ U.conj().T
                for U in (su_qubit(P, a, n) @ su_qubit(Q, b, n) for P, Q in itertools.product((I2, X, Y, Z), repeat=2))) / 16
    return (1 - p) * rho + p * media

def fedelta_ghz(n, p):
    H = np.array([[1, 1], [1, -1]]) / np.sqrt(2)
    s = np.zeros(2**n)
    s[0] = 1
    s = su_qubit(H, 0, n) @ s
    rho = np.outer(s, s).astype(complex)
    for q in range(n - 1):                            # chain of CNOTs: n-1 two-qubit gates
        C = cnot(q, q + 1, n)
        rho = depolarizza(C @ rho @ C.T, q, q + 1, p, n)
    ghz = np.zeros(2**n)
    ghz[0] = ghz[-1] = 1 / np.sqrt(2)
    return float((ghz @ rho @ ghz).real)

if __name__ == "__main__":
    print("without noise the GHZ is exact:", abs(fedelta_ghz(6, 0.0) - 1) < 1e-12)
    print("n=2 against the formula 1 - 3p/4:", abs(fedelta_ghz(2, 0.01) - (1 - 0.75 * 0.01)) < 1e-12)
    for p in (0.01, 0.05):
        print(f"error per two-qubit gate p={p}")
        for n in (3, 5, 7):
            f = fedelta_ghz(n, p)
            prodotto = (1 - p) ** (n - 1)
            print(f"  n={n}: simulated fidelity={f:.4f}  product (1-p)^(n-1)={prodotto:.4f}  deviation={f - prodotto:+.4f}")

# Output:
# without noise the GHZ is exact: True
# n=2 against the formula 1 - 3p/4: True
# error per two-qubit gate p=0.01
#   n=3: simulated fidelity=0.9838  product (1-p)^(n-1)=0.9801  deviation=+0.0037
#   n=5: simulated fidelity=0.9667  product (1-p)^(n-1)=0.9606  deviation=+0.0061
#   n=7: simulated fidelity=0.9499  product (1-p)^(n-1)=0.9415  deviation=+0.0084
# error per two-qubit gate p=0.05
#   n=3: simulated fidelity=0.9206  product (1-p)^(n-1)=0.9025  deviation=+0.0181
#   n=5: simulated fidelity=0.8422  product (1-p)^(n-1)=0.8145  deviation=+0.0277
#   n=7: simulated fidelity=0.7707  product (1-p)^(n-1)=0.7351  deviation=+0.0356

With p = 0.01 the fidelity falls from 0.9838 (3 qubits) to 0.9499 (7 qubits); with p = 0.05 it falls to 0.7707. The product rule is always a little below the simulated value (deviation between +0.004 and +0.036), because the noise replaces only the pair involved: the other qubits remain correlated and keep contributing to the fidelity. As a prudent estimate of the success probability, the product is fine; it is not an exact value. A note on terminology: in the model the fidelity of the Bell state after one gate is 1 - 3p/4, so the p of the model does not coincide with the "gate fidelity" of the manufacturers, which is an average obtained with benchmarking techniques: to compare them you need to convert with the formula of the chosen channel.

How many gates can be run

If each gate succeeds with probability 1 - ε and the errors are independent, a circuit of N gates succeeds with probability (1 - ε)^N, which falls to one half for N ≈ ln 2 / ε. This is the first part of the following listing: with an error of 10-2, 10-3 and 10-4 per gate the success falls to one half after about 69, 693 and 6,931 gates. Reducing the error by a factor of ten extends the executable circuit tenfold, but does not bring it closer to the billions of operations of a useful algorithm: the Gidney and Ekerå estimate cited in article 06 for a 2048-bit RSA modulus is about 2.6 billion logical Toffoli gates, against the 6,931 physical gates that the rule allows even with an error of 10-4: the two counts are not homogeneous, but the gap exceeds five orders of magnitude. This is why the error-correction work cited further on is the necessary step, and not a few more decimal digits.

The second part considers connectivity. On a linear chain of n qubits, a gate between qubits i and j requires moving one of the two with |i - j| - 1 SWAPs, and bringing it back; each SWAP is worth three CNOTs. The listing counts how many CNOTs are needed to make all pairs interact, as the quantum Fourier transform does for example, and compares with a device in which every pair is connected. It is a naive router: a real compiler reduces these costs, but the order of magnitude is instructive. The third part applies the formula to the fidelity values declared on the manufacturers' sites, consulted on 2026-11-13.

from math import log

# 1) How many two-qubit gates can be run before the success probability drops to 1/2,
#    if each gate succeeds with probability 1 - eps and the errors are independent.
for eps in (1e-2, 1e-3, 1e-4):
    print(f"error per gate {eps:.0e}: success 1/2 after about {log(2) / -log(1 - eps):,.0f} gates")

# 2) Routing cost on a linear chain of n qubits, with a naive router:
#    to bring qubits i and j together, |i-j|-1 SWAPs are made going and as many coming back;
#    each SWAP is worth 3 CNOTs.
def cnot_catena(n):
    return sum(1 + 6 * (abs(i - j) - 1) for i in range(n) for j in range(i + 1, n))

def cnot_catena_chiusa(n):
    return sum((n - d) * (1 + 6 * (d - 1)) for d in range(1, n))

print()
assert all(cnot_catena(n) == n * (n - 1) // 2 * (2 * n - 3) for n in range(2, 60))   # closed form of the count
print(f"{'n':>4} {'all-to-all':>16} {'linear chain':>15} {'ratio':>9} {'eps (all)':>12} {'eps (chain)':>13}")
for n in (10, 50, 100):
    a, b = n * (n - 1) // 2, cnot_catena(n)
    assert b == cnot_catena_chiusa(n)
    print(f"{n:>4} {a:>16,} {b:>15,} {b / a:>9.1f} {log(2) / a:>12.1e} {log(2) / b:>13.1e}")

# 3) The same gates with the fidelities declared on the manufacturers' sites, consulted on 2026-11-13.
#    They are medians or best values declared by the manufacturer, not our measurements.
dichiarate = {"Rigetti Cepheus-1-108Q, CZ gate (median)": 0.9856,
              "IonQ, declared record for a two-qubit gate": 0.9999}
print()
for nome, f in dichiarate.items():
    print(f"{nome}: fidelity {f:.2%} -> success 1/2 after about {log(2) / -log(f):,.0f} gates")

# Output:
# error per gate 1e-02: success 1/2 after about 69 gates
# error per gate 1e-03: success 1/2 after about 693 gates
# error per gate 1e-04: success 1/2 after about 6,931 gates
#
#    n       all-to-all    linear chain     ratio    eps (all)   eps (chain)
#   10               45             765      17.0      1.5e-02       9.1e-04
#   50            1,225         118,825      97.0      5.7e-04       5.8e-06
#  100            4,950         975,150     197.0      1.4e-04       7.1e-07
#
# Rigetti Cepheus-1-108Q, CZ gate (median): fidelity 98.56% -> success 1/2 after about 48 gates
# IonQ, declared record for a two-qubit gate: fidelity 99.99% -> success 1/2 after about 6,931 gates

For 100 qubits the naive router on a linear chain uses 975,150 CNOTs against the 4,950 of the fully connected device, a ratio of 197. The ratio is exactly 2n - 3, and the listing verifies it for every n from 2 to 59 by comparing the count with the closed form: the cost grows as the cube of n instead of the square. The error per gate that would leave the success at one half falls, at 100 qubits, from 1.4×10-4 (all connected) to 7.1×10-7 (chain): connectivity is worth factors of the order of a hundred on the tolerated error. With the declared fidelities, the median of 98.56% for the CZ gate of a Rigetti device leaves about 48 gates before the success halves, and the 99.99% declared by IonQ for a two-qubit gate about 6,931. They are manufacturer values, not mine: Rigetti declares a median fidelity per operation, IonQ a record for the two-qubit gate, and the two pages do not specify what the value includes (readout, crosstalk, the quality of the other qubits).

The platforms, with verifiable data

Three platforms today have data that can be verified on an open source. Superconducting qubits are circuits on a chip, in which each qubit is connected to a few neighbours. The IBM page on processors (2026-11-13) gives for Heron 156 programmable qubits and a quality measure called EPLG of 2.45×10-3, and for Nighthawk r2 120 programmable qubits and accurate results on circuits exceeding 7,500 two-qubit operations; the Nighthawk family has four-neighbour connectivity. The definition of EPLG is in the benchmark paper, which is not reproduced here. The same paper reports, on 80 qubits, a layer fidelity of 0.26 for an Eagle processor and 0.61 for a Heron (on 100 qubits: 0.19 and 0.26): it is an example of how the progress of a generation is read in a single measure.

In 2024 Google published a work with a surface-code quantum memory: the distance-7 code uses 101 qubits and has a logical error of 0.143% per cycle, and every increase of 2 in the distance reduces the logical error by a factor of 2.14 (Λ = 2.14 ± 0.02).

Trapped ions are atoms suspended by electric fields and manipulated with lasers: qubits identical to one another and, in the QCCD architecture, physically moved to obtain full connectivity. In 2020 Honeywell measured on that type of device a quantum volume of 26 = 64 with four- and six-qubit circuits; they were few qubits. IonQ states on its site a fidelity of 99.99% for the two-qubit gate as a world record and an architecture that would reach over 2,000,000 physical qubits: the second is a roadmap promise, not a machine, and the first is a manufacturer's statement that has not been verified elsewhere here.

Neutral atoms are atoms held in optical tweezers and moved, with arbitrary connectivity. Bluvstein and collaborators (arXiv, December 2023) built a processor with logical qubits with up to 280 physical qubits and, with an error-detecting code, circuits of 48 logical qubits with 228 logical two-qubit gates and 48 logical CCZ gates. It is a laboratory result with error detection, not correction, on a sampling task; it is not a useful computation.

Photonics and topological qubits are not covered: the series gives a figure on number of qubits, error correction or times only with an open primary source alongside, and for these two platforms there is no source of that kind here.

What to ask of a spec sheet

From what we have seen follow four questions to ask before trusting a comparison between devices:

  • whether the declared fidelity is a median, a mean or the best pair, and over how many gates;
  • how many qubits are connected and with what topology, because the routing cost can be worth a factor equal to the number of qubits;
  • how many gates the circuit you care about requires, to be compared with ln 2 divided by the error per gate;
  • whether the result is a demonstration on hardware, an estimate or a roadmap promise.

The first three questions are quantitative and have an answer with the formulas above. The fourth separates the plane of facts from that of intentions: in the same paragraph on ions there is a measurement from 2020 (quantum volume 64) and a promise of the order of millions of qubits, and the two levels of certainty must not be mixed.

What you can do now

You can estimate the success probability of a circuit from the number of gates and the error per gate, you can compute how many gates fit before the success drops to one half and how much a limited connectivity costs. You can read a spec sheet distinguishing median, record and promise, and you know where to look for sources: the papers of the groups and the manufacturers' pages, with the date. With this the series closes the circle: the resource estimates cited in article 06 require a machine with error correction on a much larger scale than those published in the sources above. The full list of chapters is on the series page.

Frequently asked questions

Is a quantum computer with more qubits always better?

No. What counts is the error per gate, the connectivity and the number of gates in the circuit. With an error of 10 to the power of minus 3 per gate the success of a circuit falls to one half after about 693 gates, however many qubits are available.

What are T1 and T2 in a qubit?

T1 is the time for which a qubit keeps its energy before decaying, T2 the time for which it keeps the phase of the superposition. They must be compared with the duration of the gates: the ratio says how many operations fit before the qubit loses the information.

Why does qubit connectivity matter?

Because two unconnected qubits can interact only by moving one of the two with SWAP gates, each equal to three CNOTs. On a linear chain of 100 qubits a naive router uses 197 times more CNOTs than a device in which all pairs are connected.

Sources

The two listings were run twice with Python 3.14 and numpy 2.5.4, with identical outputs. The manufacturers' fidelities are values declared on the cited pages at the date indicated, not measurements by the author; the pages change without notice.

Try These Tools

Free developer tools related to this topic.

Commenti

Caricamento commenti...

Sign in to comment

New articles and tools on Telegram too

The Telegram channel flags the site's new articles and tools.

Did you like this article?

Explore other content on the blog or discover my projects