Skip to content

operator_loschmidt_echo_49x648: exact tensor-network contraction, f = 0.822488318 #256

Open

Description

@dylanneve1

Name

49x648, exact tensor-network contraction (no truncation)

Circuit

operator_loschmidt_echo_49x648

Observable value

0.822488318

Error bound (low)

0

Error bound (high)

0

Method

Exact tensor-network contraction (quimb + cotengra/KaHyPar, complex128)

Method proof

Result. f = 0.822488318196. This is exact up to float64 round-off: |Im f| < 1e-15.

Formula. By the definition in the README,

f = 2^-n Σ_z σ_z ⟨z|W† O W|z⟩, with W = U† V U.

For the diagonal O = Z52 Z59 Z72 this equals 2^-n Σ_{a,b} s_a s_b |⟨b|W|a⟩|². We contract that doubled network exactly. All gates are kept, there is no truncation, and there is no sampling over initial states.

Checks.

  • Circuit. Our gate list matches the provided 49Q_OLE_circuit_L_3_b_0.25_delta0.15.qasm: 4756 gates, with identical per-qubit gate sequences on all 49 qubits, CZ partners included.
  • Pipeline. On a dense 12-qubit sub-circuit, the TN result equals exact state-vector evolution (0.9754460616).
  • Two independent contraction paths agree to all 12 digits:
    • KaHyPar tree, 2^37.1 flops, 32 slices (intermediates ≤ 2^23): 0.822488318196.
    • A fresh greedy+KaHyPar search with 1024 slices (intermediates ≤ 2^22): 0.822488318196.
  • Other depths. The same pipeline gives f(L=1) = 1 and f(L=2) = 0.897254392906.

Comparison with existing entries.

method f difference from exact
BP-TN, BD=512 0.8217 −8e-4
BP-TN, BD=192 0.8203 −2.2e-3
ibm_boston, global rescaling 0.824 +1.5e-3
single-path MC 0.808 −1.4e-2

Observation. U2 = Z_S U1 Z_S holds exactly, where S is the b=0.25 sites. Hence W = Zt V Zt with Zt = U1† Z_S U1. The exact contraction cost grows by roughly 25 bits per Trotter step (2^16, 2^37 and 2^63 flops at L = 2, 3, 4), so this exact approach does not reach the L=6 instances.

Code. https://github.com/dylanneve1/qsim-lab/tree/2d2a37f50bd29e032da64ad8d1e9927d22c1d272/research/data/loschmidt-echo

Quantum runtime (seconds)

No response

Classical runtime (seconds)

121

(Contraction on path 1, plus ~560 s of path search.)

Compute resources (quantum)

No response

Compute resources (classical)

Shared 4-vCPU / 7.7 GB Linux VPS, 2 threads, < 2.7 GB RAM

Notes

Exact value, intended as a reference point for the approximate methods on this instance.

Authors

Dylan Neve, Claude (Anthropic)

Institutions

qsim-lab

Activity

  1. clavis-systems commented on Nov 7, 2026

    @clavis-systems

    Hi, this is an outside check of this submission, not the tracker's verification. It was done from the circuit file in the tracker only (your code was not read or run). The code was written by AI agents (Claude) that I direct.

    1. Value. Two exact contractions with separately written code, each with two contraction paths, give f = 0.8224883181962652 / 0.8224883181962643 (own network, slicing and contraction) and 0.8224883181962831 / 0.8224883181962837 (a second code built with quimb). Both agree with your 0.822488318196 to all 12 digits; they differ from each other by about 2e-14.
    2. Other checks. f(L=1) = 1, and f(L=2) = 0.8972543929065162 (5e-13 from your 0.897254392906), on circuits for L = 1 and 2 rebuilt from the Trotter step in the file; 4756 gates; the file is C = U† V U, with the structure you describe.
    3. Limits. At L = 3 both contractions rely on cancelling CZ pairs separated only by diagonal gates (written separately in each code, but the second code took the idea from the first). Without it, our networks were too large for the machine used here (a laptop CPU). The cancellation is an exact identity; its implementation was checked against dense calculations on small sub-circuits of the real circuit (within 2.8e-14) and at full size at L = 2 (difference 3.9e-14). Both sessions knew your value.
    4. Two small text points, neither of which changes the number:
      • "U2 = Z_S U1 Z_S": if U = U2 U1 (U1 applied first), your conclusion W = Zt V Zt with Zt = U1† Z_S U1 needs U2 = Z_S U1† Z_S, so it looks like a missing dagger. That form is also what the circuit file shows.
      • In the tracker README for this circuit, the sum formula (line 27) lacks the final U; the trace formula (line 15) matches the file.

    Code and logs: https://github.com/clavis-systems/qat-independent-checks/tree/main/issue-256

    Emanuele Rizzan

  2. barangaroo commented on Nov 28, 2026

    @barangaroo

    A second reproduction of this value, and one more depth. This is an outside check, not the tracker's verification.

    L = 3 (operator_loschmidt_echo_49x648). Contracting 2^-49 Tr(W† O W O) from the tracker's circuit file with our own code (cotengra path, complex128) gives 0.8224883181962013, which agrees with the 12 digits 0.822488318196 posted here.

    L = 4. The tracker has no L = 4 file, so we rebuilt the circuit from the published L = 3 and L = 6 files (the same blocks with a 6-block period per unit of L; the rule reproduces each published file from the other, line for line). Two different contraction trees, complex64, one 40 GB A100:

    tree slices value wall time
    1 2048 0.7312233080 0.85 h
    2 16384 0.7312231416 2.72 h

    So f = 0.731223 to 6 digits at L = 4. If anyone has an L = 4 number from another method, a comparison would be welcome.

    Limits. L = 4 is single precision only. Both trees share one circuit simplifier. No value at L = 5 or L = 6: the best trees we found in a short search cost 2^79.97 and 2^107.56 operations.

    Code, saved trees, logs, per-slice sums and two no-GPU check scripts: https://doi.org/10.5281/zenodo.24618658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions