Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
boundary.py
Go to the documentation of this file.
1 from __future__ import annotations
2 
3 from copy import deepcopy
4 from functools import lru_cache
5 
6 from benchmarks.density_matrix.planner_calibration.bundle import (
7  build_planner_calibration_calibration_bundle_payload,
8 )
9 from benchmarks.density_matrix.planner_calibration.claim_selection import (
10  PLANNER_CALIBRATION_CLAIM_STATUS_COMPARISON,
11 )
12 
13 PLANNER_CALIBRATION_BOUNDARY_SCHEMA_VERSION = "phase3_planner_calibration_claim_boundary_v1"
14 
15 
16 @lru_cache(maxsize=1)
19  selected_candidate = bundle_payload["selected_candidate"]
20  comparison_cases = [
21  case
22  for case in bundle_payload["cases"]
23  if case["claim_status"] == PLANNER_CALIBRATION_CLAIM_STATUS_COMPARISON
24  ]
25  return {
26  "schema_version": PLANNER_CALIBRATION_BOUNDARY_SCHEMA_VERSION,
27  "supported_claim": {
28  "candidate_id": selected_candidate["candidate_id"],
29  "planner_family": selected_candidate["planner_family"],
30  "planner_variant": selected_candidate["planner_variant"],
31  "max_partition_qubits": selected_candidate["max_partition_qubits"],
32  "claim_scope": "benchmark_calibrated_span_budget_candidate",
33  },
34  "comparison_baselines": bundle_payload["comparison_candidate_ids"],
35  "comparison_baseline_cases": comparison_cases,
36  "diagnosis_only_cases": [],
37  "approximation_areas": [
38  {
39  "category": "bounded_candidate_surface",
40  "description": "Planner calibration tunes the current noisy planner's span-budget settings rather than a broader family of already-implemented noisy planner variants.",
41  },
42  {
43  "category": "bounded_workload_matrix",
44  "description": "The supported claim is calibrated only on the frozen continuity, microcase, and structured Phase 3 workload inventory.",
45  },
46  {
47  "category": "no_global_optimality_claim",
48  "description": "The selected candidate is benchmark-calibrated for the frozen matrix but is not claimed as a globally optimal partitioning policy.",
49  },
50  {
51  "category": "optional_fused_signal_scope",
52  "description": "Fused-runtime opportunity may inform the signal surface where available, but the supported planner-calibration claim is still rooted in the baseline partitioned-density runtime surface.",
53  },
54  ],
55  "deferred_follow_on_branches": [
56  {
57  "category": "channel_native_fused_noisy_blocks",
58  "description": "Fully channel-native fused noisy blocks remain a benchmark-driven follow-on branch beyond core Phase 3.",
59  },
60  {
61  "category": "broader_noisy_workflow_growth",
62  "description": "Broader noisy VQE/VQA workflow growth and gradient-routing features remain outside the minimum planner-calibration claim.",
63  },
64  {
65  "category": "calibration_aware_or_readout_features",
66  "description": "Calibration-aware, readout-oriented, and shot-noise workflow features remain deferred beyond the core planner-calibration surface.",
67  },
68  {
69  "category": "approximate_scaling_methods",
70  "description": "Approximate scaling branches such as trajectories or MPDO-style methods remain future work rather than part of the supported planner-calibration claim.",
71  },
72  ],
73  "summary": {
74  "selected_candidate_id": selected_candidate["candidate_id"],
75  "comparison_candidate_ids": bundle_payload["comparison_candidate_ids"],
76  "comparison_baseline_case_count": len(comparison_cases),
77  "diagnosis_only_case_count": 0,
78  "approximation_area_count": 4,
79  "deferred_follow_on_branch_count": 4,
80  },
81  }
82 
83 
def build_planner_calibration_calibration_bundle_payload()
def _build_planner_calibration_boundary_payload_cached()
Definition: boundary.py:17
def build_planner_calibration_boundary_payload()
Definition: boundary.py:84