{
  "artifact": "Controlled-gate branch tracer",
  "chapter": "Controlled Gates and Reversible Classical Computation",
  "chapter_url": "https://www.steven-geller.com/playground/quantum/book/18-controlled-gates-and-reversible-classical-computation/",
  "date_modified": "2026-08-14",
  "dependencies": [],
  "expected_exit_code": 0,
  "expected_stdout": "PASS: 18 controlled-gate tracer verifies 4 CNOT and 8 Toffoli branches; Bell purity=0.500, computed-ancilla purity=0.625, uncompute purity=1.000\n",
  "fixture_sha256": "981437b241691c4568d4b26dcddfc7bae68dd04a612668013ab89f2eba108272",
  "manifest_test_command": "python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifacts",
  "pass_condition": "Tests all basis inputs, a superposed input, inverse behavior, entanglement detection, and clean uncomputation.",
  "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."
}
