Quantum gate control · Chapter 01
From specifying a gate to learning how to calibrate it
An ideal gate is easy to write down as a matrix. The harder question is how to realize many such matrices when the physical evolution differs from the ideal model.
The target and the device are different objects
A target gate is a unitary matrix, but a noisy implementation is a channel acting on density matrices. The distinction matters: dissipation can turn pure states into mixed states.
States, targets, and channels
Here is a two-qubit state and the ideal channel. A physically admissible noisy map is completely positive and trace-preserving (CPTP).
Average gate fidelity
The integral uses normalized Haar measure over pure two-qubit states. is the process fidelity with the target unitary channel. This score evaluates a gate on all input directions, not just one trajectory on a sphere.
Current manuscript: Gate Fidelity; standard average/process-fidelity identity for dimension four.
A controlled model of uncertainty
Relaxation and dephasing are modeled by a Lindblad equation. Independent Gaussian detunings are resampled between tasks, but fixed during every pulse evaluation within a task. The controller is not given their values.
Open-system dynamics and quasi-static detuning
We set . and . The nonnegative rates are fixed; jump operators are local lowering and Pauli-Z operators. Braces denote the anticommutator.
Current manuscript: open-system formulation and noise configuration.
Learn a procedure, not a library of pulses
Optimizing each requested gate independently is one possible solution. This project instead trains across randomly sampled targets and asks whether the resulting policies can guide calibration of new target–noise pairs. The reusable object is a decision rule for proposing corrections, not one universal waveform.
Here, zero-shot generalization has a precise scope: the policy weights stay fixed at evaluation time, but the controller still evaluates pulses and receives feedback. It does not mean open-loop control, zero measurements, or proven transfer to noise distributions absent from training.
The ideal single-qubit limit behind the explorer
The ideal reference rotates around the constant control vector at angular speed . Each control is dimensionless and ranges from −2 to 2. The fixed scale converts it to physical angular frequency; changing the pulse duration does not change that scale. The explorer defaults to 210 ns and allows 10–1,000 ns, independently of animation playback speed. A Bloch sphere represents one qubit and cannot represent a general two-qubit state.
Proof / derivation
Insert the Bloch representation of into , and use the Pauli commutator identity. Exact Rodrigues rotation gives the ideal trajectory.
See the same pulse under a fixed noise realization
The explorer compares the ideal trajectory with a single noisy trajectory, or with 24 trajectories having different Gaussian detunings. It uses the manuscript's relaxation, dephasing, and quasi-static detuning mechanisms in a separate constant-control, single-qubit model. It does not run the learned policy or reproduce the two-qubit calibration experiment.
Each detuning remains constant throughout a pulse. Changing controls or resetting playback preserves the realization; New realization draws another set. Switching presets reuses the same underlying Gaussian samples, and changing the detuning standard deviation rescales them. The chosen dissipative rates are fixed throughout each pulse and shared by every ensemble member.
The noisy single-qubit Bloch equation
This follows the research code's explicit jump-operator convention: relaxation drives the undriven qubit toward , the south pole, rather than . The detuning term is , so its contribution to Bloch angular velocity is . With the dissipator defined above, Pauli-Z dephasing contributes to transverse decay. Rates are in inverse seconds, detuning in radians per second, and physical time is converted from nanoseconds to seconds.
Current manuscript: open-system formulation and noise configuration; research implementation: Pauli and jump-operator definitions. The constant-control explorer is a teaching adaptation.
An ensemble mean is a density matrix
The ensemble view shows sample paths, their mean, and the purity of the mean state. Different coherent detunings can shorten the mean Bloch vector even when every member stays pure; dissipation can also mix each member. The displayed ensemble purity is not the average of the individual purities. Twenty-four samples illustrate variation and do not establish a converged disorder average or gate fidelity.
Standard Bloch representation and purity identity; finite ensemble used only for the interactive illustration.
| Preset | Relaxation γ₁ (s⁻¹) | Dephasing γz (s⁻¹) | Detuning SD (rad/s) |
|---|---|---|---|
| None | 0 | 0 | 0 |
| Paper Q1 | 2,653 | 2,411 | 5 × 10⁶ |
| Paper Q2 | 5,305 | 31,831 | 5 × 10⁶ |
| Amplified (100× Q2 dissipation) | 530,500 | 3,183,100 | 5 × 10⁶ |
| Custom | Editable | Editable | Editable |
What would count as a useful improvement?
The natural starting point is an analytical pulse evaluated under the same noisy dynamics as the learned controller. Improvement should then be judged alongside the number of pulse evaluations, the information supplied to each method, and performance on held-out tasks. These distinctions keep better feedback, more search, and genuinely better learned decisions from being mistaken for the same achievement.
Last updated