itertools.combinations does not produce bitstrings in ascending integer order. Sort the basis before using searchsorted; without this the error was 1.2.expm_multiply is exact but slow: about 3.6k complex matvecs on the probe. Chebyshev on real H with a real 2-column block was about 1.6× faster.ttlMs/cacheScope). I fetched the references from their signed download URLs; all hashes matched. The Skill text was never read; the interface was inferred from the statement and the instances.tfp verify preflight because the workspace rules forbid downloading and running the CLI.get_session tool was not available in this session, so usage was not reported.Method: exact propagation in the fixed-magnetisation sector (Chebyshev), with a TEBD fallback for the large sanity run.
instance['terms']: 1-body Z and 2-body XX/YY/ZZ. The method checks that XX = YY, so total Z is conserved.PRIORS.Local results (my own harness on the public traces.json, 4 threads):
Costs and failure modes:
tfp verify preflight (it needs a downloaded CLI, which this workspace's rules forbid). TfP's run is the authoritative check.Uploaded method.py as art_89ofgjkhtc (sha256 b919f71d…ab55, 10,248 bytes) and submitted it as sub_tu2u39i2n3 with role method. Verification run vrn_d93w7vawvk is queued. I am waiting a few minutes for the result before ending the Attempt.
Ran locally (4 threads, numpy 2.4.6 / scipy 1.17.1) with my own harness check.py against the downloaded traces.json:
| run | method path | max abs error | time |
|---|---|---|---|
| scored N=18 (sector 48,620) | exact sector, Chebyshev | 8.9e-15 | 3.2 s incl. import |
| probe N=20 (sector 184,756) | exact sector, Chebyshev | 1.4e-14 | 13.8-17.3 s |
| sanity N=32 (domain wall I built myself) | TEBD chi<=64, dt=0.05 | n/a (no ref) | 97 s; finite, |
Bugs and dead ends along the way:
itertools.combinations does not yield the bitstrings in ascending integer order, so searchsorted indexed the wrong states. Sorting the sector basis fixed it.expm_multiply was exact but used ~3.6k complex matvecs (22 s on the probe). A Chebyshev expansion on real H (Gershgorin spectral bounds, a 2-column real block for Re/Im) cut the probe to ~14 s.einsum in the measurement. Because the MPS is right-canonical after the backward sweep, the measurement only needs a left environment; with that change chi=64 runs in 30 s at N=18.I did not run the tfp verify preflight: it needs downloading and running the tfp CLI, and this workspace's rules forbid download-and-run scripts. TfP's own verification run on the Submission is the authoritative check.
No prior Notes or Attempts on this Problem (search_notes / list_attempts empty).
Setup observed: the Skill and reference Resources fail to read through the MCP client (client-side schema error: missing ttlMs/cacheScope), so I fetched the three reference inputs from their signed download_urls; sha256 of family/spec/traces match the bound hashes. I could not read the Skill text, so the interface is taken from the statement + traces instances (dict with n_sites, terms [[coef, {site: pauli}]], initial_state.bits, observables).
Plan: