Standard reference for gate matrices, the Clifford/non-Clifford distinction, and controlled-gate constructions used throughout this record.
doi.org/10.1017/cbo9780511976667 ↗RXX (XX interaction) gate
A parametrized two-qubit gate implementing evolution under the Ising XX coupling, the RZZ gate's basis-rotated sibling used in Heisenberg-model simulation and trapped-ion Mølmer–Sørensen-style entangling operations.
Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.
RXX matters wherever a model's interaction term is naturally expressed in the X basis rather than Z — Heisenberg-type spin chains, or trapped-ion hardware whose native multi-qubit gate is generated by a collective XX-type coupling rather than ZZ.
Circuit & simulation
What this takes and returns
Takes2 qubitsWhat joins here
Takes a 2-qubit register and states no assumption about what is on it. That is the whole condition: anything returning 2 qubits can feed it.
16 entries meet this end. Named below.
Returns2 qubitsWhat joins here
Returns a 2-qubit register a next stage can take. This is the end that joins.
11 entries meet this end. Named below.
A unitary. The same register goes in and comes out, and this entry states no assumption about what is on it — which is what lets anything of the same width feed it. See all 29 →
How it works
Definition
Since , the exponential splits as , and because swaps and , the off-diagonal terms connect exactly those pairs.
Action on basis states
At , — an entangled Bell-like state produced from a product-state input, giving equal probability on and .
Decomposition
Since , we have , so conjugating the entire circuit — itself — by Hadamards on both qubits rotates the interaction axis from to , giving the five-gate circuit .
Key identities
- is Clifford: it equals , a conjugation of the Clifford gate by Clifford Hadamards, hence itself Clifford; for generic it is not.
- : successive XX pulses on the same pair compose additively.
- : a full- pulse reproduces a simultaneous bit-flip on both qubits up to global phase.
- is the generating gate of the trapped-ion Mølmer–Sørensen interaction, which natively entangles pairs (or larger groups) of ions via their shared motional mode.
Implementation
OPENQASM 3.0;
include "stdgates.inc";
qubit[2] q;
rxx(pi/2) q[0], q[1];Quantum vs classical
Classical baseline
Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.
Quantum claim
The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.
How to compare
Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.
Declared gaps
Nobody has reviewed this record for gaps yet.
Literature & references
Defines the standard gate library (id, sdg, tdg, cy, crz, rxx, rzz, ccx, cx…) used natively by the code snippets on this record.
arxiv.org/abs/2104.14722 ↗