{
  "artifact": "Nearest-neighbor routing trace and equivalence table",
  "chapter": "Transpilation and Hardware-Aware Compilation",
  "chapter_url": "https://www.steven-geller.com/playground/quantum/book/40-transpilation-and-hardware-aware-compilation/",
  "date_modified": "2026-08-14",
  "dependencies": [],
  "expected_exit_code": 0,
  "expected_stdout": "PASS: 40 routing forward_ops=3 reverse_ops=3 adjacent_ops=1\n",
  "fixture_sha256": "29ec6c0f0e2dd876c49128f226567b17d2f668e029da5ad849cbeb3b8ac453ea",
  "manifest_test_command": "python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifacts",
  "pass_condition": "`test_line_router_exposes_swap_cost_and_layout` plus new exhaustive basis tests pass; CSV satisfies SWAP monotonicity and reconstructs the declared final layout.",
  "python_requires": ">=3.11",
  "run_command": "python3 fixture.py",
  "schema_version": "1.1.0",
  "test_method": "Run the isolated fixture; require exit code 0 and exact stdout."
}
