Choose the curve in Figure 2a first
Four trapped ions encode four matter spins. Figure 2a distinguishes continuous ideal evolution, discrete-step evolution, a prediction with experimental errors, and postselected measurements. We choose the continuous ideal Hamiltonian: what state does the specified bare vacuum reach after a given time?
Fix , , and the left boundary field . The initial spin state is . The horizontal axis is dimensionless. We save 61 samples from zero to three at spacing .
The density rises and falls through coherent pair creation and recombination in this small system. Laser operations, finite Trotter steps and hardware noise remain separate comparisons in the original figure.
Reading: E. A. Martinez et al.
Construct the matrix from the Methods equation
Methods equation (3) eliminates link fields using Gauss’s law and retains matter spins. Its sites run from to . Add the charges to the left of a link to obtain its field operator. Squaring that cumulative field produces interactions between distant spins, encoding the one-dimensional electric energy.
For one spin, has values plus one and minus one in the up and down states. The operator raises down to up and reverses it. The independent reference builds these operators by tensor products in the full sixteen-dimensional spin space. It applies a matrix exponential to the initial state at each time. The browser enumerates six half-filled physical occupations, reconstructs their fields, and diagonalizes a six-dimensional matrix. These are different constructions and evolution algorithms.
Reading: E. A. Martinez et al. · Sandbox Physics FR04 original numerical references and reproduction scripts
Translate signs before comparing fields
The browser starts its labels at zero; the paper starts at one. Set and express the paper’s spin through the browser occupation . This transformation exchanges particles and holes and reverses both charge and electric field. Electric-field energy is unchanged.
The paper uses and the browser uses . At , Electric coupling must therefore be two. An alternating local phase removes the remaining hopping-sign difference. Occupations, field expectations and return probabilities are invariant under that phase choice.
| Paper input | Browser input |
|---|---|
| Chain sites: 4 | |
| Matter mass: 0.5; Matter hopping: 1 | |
| Electric coupling: 2 | |
| Both boundary fluxes: 0; Fixed external charges: off | |
| Four-site neutral sector | Electric cutoff: 2; physical dimension: 6 |
Reading: E. A. Martinez et al. · Sandbox Physics FR04 original numerical references and reproduction scripts
Check two observables at one time
The particle density counts particles and antiparticles per site. The browser reports the expected number of pairs. At four sites, one pair gives density one half. A quantum superposition of configurations can have a noninteger expected pair count.
At , the independent reference gives . Multiply by four and divide by two: the expected pair count is . The probability of returning to the bare vacuum is . The observables answer different questions: the average number of excitations and the probability of recovering one complete initial state.
These are newly generated deterministic references. The files also retain local charges, link fields and normalization. A comparison script checks every sample. The maximum absolute difference between the independent sixteen-dimensional matrix and the browser’s six-dimensional calculation is shown below; it measures agreement for this finite ideal model.
Reading: Sandbox Physics FR04 original numerical references and reproduction scripts
Keep the inputs and error checks with the result
Browser trajectories and independent matrix results are saved separately. The reproducer records model version, parameters, algorithms and dependency versions. No random sampling is used, so the seed is null and there are no sampling error bars. Recalculate one time first, then compare every sample and inspect conservation drift along the trajectory.
Different errors need different checks. Eigenvector residuals and normalization drift test arithmetic. Changing the electric cutoff tests omitted link states. Increasing site count tests boundary returns. Pulse errors and selection bias require device records. Combining them into a single error percentage would lose the question each check answers.
For this source-free four-site sector, all accessible fluxes already lie within one unit. Unit-flux configurations are reached, but cutoff one already retains all six neutral configurations and removes no hop within that sector. Increasing it to two leaves the trajectory unchanged. A longer external-source string needs its own cutoff and size comparison.
The same sequence works for the next calculation: fix the version and target curve, specify state and boundaries, translate conventions, define observables, then compare raw numbers from an independent matrix. That reference makes later changes in time stepping, device errors or tensor-network approximations easier to diagnose.
Reading: Sandbox Physics FR04 original numerical references and reproduction scripts · ITensorMPS.jl