Local prototype · explicit activation
Hamiltonian evolution & measurement
Build a real Pauli Hamiltonian, evolve a pure state and compare analytic energy with grouped finite-shot measurements.
Ready. Changing any setting clears previous results.
Planned measurement groups
Requested: 256 shots · allocated: 256 · unallocated: 0. Identity offset: 0.25.
Bases are labelled q0 first. I means no basis rotation is needed on that qubit. Groups use a deterministic greedy plan and L1-weighted allocation, not a guaranteed minimum group count or precision gain.
| Group | Weighted Pauli terms | Local basis · q0 first | L1 weight | Shots |
|---|---|---|---|---|
| g1 |
| q0:Z · q1:I | 0.75 | 153 |
| g2 |
| q0:X · q1:X | 0.5 | 103 |
Generated N/M source
Evolution: 65 generated gates · preparation: 2 gates. This exact source is sent to the Worker.
Guide: from Hamiltonian to energy
- Choose zero, plus or a Bell pair as the initial state. Only noiseless state vector and MPS simulation are supported here.
- Evolution approximates exp(−itH) with a first-order or symmetric second-order product formula. More steps can improve noncommuting evolution, but increase the gate budget. Identity terms preserve their global phase.
- Compatible local Pauli bases share a joint histogram. Globally commuting operators can still need different groups, such as X0 X1 and Y0 Y1. Each measured group receives at least two shots; the total budget is shared by this experiment’s single expectation.
- Compare sampled energy with the analytic value for the simulated state. Read the standard error and concentration interval with their stated assumptions. Reusing a seed repeats this local sampling procedure; it is not a cross-engine bitwise or hardware guarantee.
- Enable both prototype permissions, review the generated source, then run. Editing or disabling clears results and cancels active work; Cancel returns control immediately. Open the same source and explicit flags in Playground to inspect it further.