Finite pulses replace an instantaneous X
On resonance, a pi pulse returns P_e=1; at small duration P_e=(Omega*t/2)^2. Compare numerical populations with the exact Rabi formula.
Extend the basic model
The basic X gate swaps two amplitudes instantly. Here a constant drive evolves the complex amplitudes over a finite duration, starting in the ground state. On resonance, a half-second pulse with angular coupling 2π per second approaches the ideal swap.
Detuning / coupling = 1: at t=1.6 s, find population excited. Answer in 1.
- write ΩR = √(Ω² + Δ²). — Start from the declared simple law and assumptions.
- evaluate Pe(t) = (Ω/ΩR)² sin²(ΩR t/2). — Substitute the stated parameter values or actual recorded result.
- set Δ = 0 and t = π/Ω = 0.5 s, obtaining Pe = 1, the basic X-gate population swap. The recorded numerical residual checks the whole trajectory, not only that endpoint. — Compare with the basic-model limit; keep numerical error separate from omitted physics.
- Read the recorded states; compare the same quantity at the same stored coordinate. — These values come from the named simulation, not a fitted animation.
- population excited = 0.2699932419 1 — Read the selected run at the requested stored coordinate.
- Coordinate: t = 1.6 s — Use this saved sample; do not interpolate an unrecorded state.
- 0.2699932419 1 — Keep the units; the independently checked run supplies the data.
Enable JavaScript to control the model and practise.
Compare with the analytic limit
Choose a recorded detuning. The numerical trajectory keeps both complex amplitudes and their total norm; the analytic Rabi curve supplies an independent comparison. A weaker peak off resonance is coherent dynamics, not lost particles.
The dashed reference is the resonant drive (Δ = 0), so detuned numerical curves may differ physically.
Step 1: write ΩR = √(Ω² + Δ²).
Step 2: evaluate Pe(t) = (Ω/ΩR)² sin²(ΩR t/2).
Step 3: set Δ = 0 and t = π/Ω = 0.5 s, obtaining Pe = 1, the basic X-gate population swap. The recorded numerical residual checks the whole trajectory, not only that endpoint.
Detuning / coupling = 1: at t=1.6 s, find population excited. Answer in 1.
- write ΩR = √(Ω² + Δ²). — Start from the declared simple law and assumptions.
- evaluate Pe(t) = (Ω/ΩR)² sin²(ΩR t/2). — Substitute the stated parameter values or actual recorded result.
- set Δ = 0 and t = π/Ω = 0.5 s, obtaining Pe = 1, the basic X-gate population swap. The recorded numerical residual checks the whole trajectory, not only that endpoint. — Compare with the basic-model limit; keep numerical error separate from omitted physics.
- Read the recorded states; compare the same quantity at the same stored coordinate. — These values come from the named simulation, not a fitted animation.
- population excited = 0.2699932419 1 — Read the selected run at the requested stored coordinate.
- Coordinate: t = 1.6 s — Use this saved sample; do not interpolate an unrecorded state.
- 0.2699932419 1 — Keep the units; the independently checked run supplies the data.
Enable JavaScript to control the model and practise.
Read a recorded result and practise
Use the recorded excited-state population at the requested pulse time. The exact formula checks the calculation, while the displayed numerical residual distinguishes integration error from a physical detuning effect.
Detuning / coupling = 1: at t=1.6 s, find population excited. Answer in 1.
- write ΩR = √(Ω² + Δ²). — Start from the declared simple law and assumptions.
- evaluate Pe(t) = (Ω/ΩR)² sin²(ΩR t/2). — Substitute the stated parameter values or actual recorded result.
- set Δ = 0 and t = π/Ω = 0.5 s, obtaining Pe = 1, the basic X-gate population swap. The recorded numerical residual checks the whole trajectory, not only that endpoint. — Compare with the basic-model limit; keep numerical error separate from omitted physics.
- Read the recorded states; compare the same quantity at the same stored coordinate. — These values come from the named simulation, not a fitted animation.
- population excited = 0.2699932419 1 — Read the selected run at the requested stored coordinate.
- Coordinate: t = 1.6 s — Use this saved sample; do not interpolate an unrecorded state.
- 0.2699932419 1 — Keep the units; the independently checked run supplies the data.
Enable JavaScript to control the model and practise.
Recap
- A gate takes a finite drive duration.
- The resonant pi-pulse limit recovers a basis-state swap, up to a global phase.
- Every selectable curve is a recorded physim run.