Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Classes | Functions | Variables
case_selection Namespace Reference

Classes

class  CorrectnessEvidenceCaseContext
 
class  PerformanceEvidenceCaseContext
 

Functions

def _base_metadata_from_descriptor
 
def _build_correctness_evidence_case_contexts_cached ()
 
def _build_performance_evidence_case_contexts_cached ()
 
def _build_performance_evidence_inventory_cases_cached ()
 
def _build_phase31_correctness_evidence_case_contexts_cached ()
 
def _build_phase31_counted_performance_case_contexts_cached ()
 
def _build_phase31_counted_performance_inventory_cases_cached ()
 
def _metadata_from_descriptor
 
def _selected_partition_qubits ()
 
def _structured_seed_noise_pairs ()
 
def build_correctness_evidence_case_contexts ()
 
def build_performance_evidence_case_contexts ()
 
def build_performance_evidence_inventory_cases ()
 
def build_phase31_correctness_evidence_case_contexts ()
 
def build_phase31_counted_performance_case_contexts ()
 
def build_phase31_counted_performance_inventory_cases ()
 
def build_phase31_hybrid_pilot_case_context ()
 
def build_phase31_performance_inventory_cases ()
 
def iter_correctness_evidence_continuity_cases ()
 
def iter_correctness_evidence_microcase_cases ()
 
def iter_correctness_evidence_structured_cases ()
 
def iter_density_signal_cases
 
def iter_performance_evidence_continuity_cases ()
 
def iter_performance_evidence_structured_cases ()
 
def iter_phase31_correctness_continuity_cases ()
 
def iter_phase31_correctness_microcase_cases ()
 
def iter_phase31_correctness_structured_cases ()
 
def iter_phase31_performance_cases ()
 
def iter_planner_calibration_candidate_cases
 
def iter_planner_calibration_continuity_cases
 
def iter_planner_calibration_microcase_cases
 
def iter_planner_calibration_structured_cases
 

Variables

string BENCHMARK_SLICE_PHASE31_COUNTED_MATRIX = "phase31_counted_matrix"
 
string BENCHMARK_SLICE_PHASE31_HYBRID_PILOT = "phase31_hybrid_pilot"
 
string CORRECTNESS_EVIDENCE_CASE_KIND_CONTINUITY = "continuity"
 
string CORRECTNESS_EVIDENCE_CASE_KIND_MICROCASE = "microcase"
 
string CORRECTNESS_EVIDENCE_CASE_KIND_STRUCTURED = "structured_family"
 
tuple CORRECTNESS_EVIDENCE_CONTINUITY_QUBITS = (4, 6, 8, 10)
 
tuple CORRECTNESS_EVIDENCE_EXTERNAL_REFERENCE_CONTINUITY_QUBITS = (4,)
 
tuple DENSITY_SIGNAL_CONTINUITY_QUBITS = (4,)
 
tuple DENSITY_SIGNAL_MICROCASE_IDS = ("microcase_4q_partition_boundary_triplet",)
 
dictionary DENSITY_SIGNAL_STRUCTURED_FILTER
 
 frozen
 
string PERFORMANCE_EVIDENCE_CASE_KIND_CONTINUITY = "continuity"
 
string PERFORMANCE_EVIDENCE_CASE_KIND_STRUCTURED = "structured_family"
 
tuple PERFORMANCE_EVIDENCE_CONTINUITY_QUBITS = (4, 6, 8, 10)
 
tuple PERFORMANCE_EVIDENCE_EXTERNAL_REFERENCE_CONTINUITY_QUBITS = (4,)
 
tuple PHASE31_CORRECTNESS_CONTINUITY_QUBITS = (4, 6)
 
string PHASE31_HYBRID_PILOT_WORKLOAD_ID = "phase31_pair_repeat_q8_periodic_seed20260318"
 
string PLANNER_CALIBRATION_CASE_KIND_CONTINUITY = "continuity"
 
string PLANNER_CALIBRATION_CASE_KIND_MICROCASE = "microcase"
 
string PLANNER_CALIBRATION_CASE_KIND_STRUCTURED = "structured_family"
 
tuple PLANNER_CALIBRATION_CONTINUITY_QUBITS = (4, 6, 8, 10)
 

Function Documentation

◆ _base_metadata_from_descriptor()

def case_selection._base_metadata_from_descriptor (   descriptor_set)
private

Definition at line 69 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _build_correctness_evidence_case_contexts_cached()

def case_selection._build_correctness_evidence_case_contexts_cached (   tuple,
  CorrectnessEvidenceCaseContext 
)
private

Definition at line 320 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _build_performance_evidence_case_contexts_cached()

def case_selection._build_performance_evidence_case_contexts_cached (   tuple,
  PerformanceEvidenceCaseContext 
)
private

Definition at line 518 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _build_performance_evidence_inventory_cases_cached()

def case_selection._build_performance_evidence_inventory_cases_cached (   tuple,
  dict,
  str,
  Any 
)
private

Definition at line 152 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _build_phase31_correctness_evidence_case_contexts_cached()

def case_selection._build_phase31_correctness_evidence_case_contexts_cached (   tuple,
  CorrectnessEvidenceCaseContext 
)
private
Bounded Stage-A package: four counted microcases + q4/q6 continuity; no structured rows.

Definition at line 335 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _build_phase31_counted_performance_case_contexts_cached()

def case_selection._build_phase31_counted_performance_case_contexts_cached (   tuple,
  PerformanceEvidenceCaseContext 
)
private

Definition at line 503 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _build_phase31_counted_performance_inventory_cases_cached()

def case_selection._build_phase31_counted_performance_inventory_cases_cached (   tuple,
  dict,
  str,
  Any 
)
private

Definition at line 488 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _metadata_from_descriptor()

def case_selection._metadata_from_descriptor (   candidate)
private

Definition at line 40 of file planner_calibration/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _selected_partition_qubits()

def case_selection._selected_partition_qubits (   int)
private

Definition at line 64 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _structured_seed_noise_pairs()

def case_selection._structured_seed_noise_pairs (   tuple,
  tuple,
  int,
  str 
)
private

Definition at line 141 of file performance_evidence/case_selection.py.

Here is the caller graph for this function:

◆ build_correctness_evidence_case_contexts()

def case_selection.build_correctness_evidence_case_contexts (   list,
  CorrectnessEvidenceCaseContext 
)

Definition at line 328 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_performance_evidence_case_contexts()

def case_selection.build_performance_evidence_case_contexts (   list,
  PerformanceEvidenceCaseContext 
)

Definition at line 525 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_performance_evidence_inventory_cases()

def case_selection.build_performance_evidence_inventory_cases (   list,
  dict,
  str,
  Any 
)

Definition at line 228 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_phase31_correctness_evidence_case_contexts()

def case_selection.build_phase31_correctness_evidence_case_contexts (   list,
  CorrectnessEvidenceCaseContext 
)
Stage-A sibling selector for P31-S10-E02 (does not alter default Phase 3 case matrix).

Definition at line 355 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_phase31_counted_performance_case_contexts()

def case_selection.build_phase31_counted_performance_case_contexts (   list,
  PerformanceEvidenceCaseContext 
)
Explicit sibling contexts for the full Phase 3.1 counted performance matrix.

Definition at line 511 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_phase31_counted_performance_inventory_cases()

def case_selection.build_phase31_counted_performance_inventory_cases (   list,
  dict,
  str,
  Any 
)
Explicit sibling inventory for the full Phase 3.1 counted performance matrix.

Definition at line 496 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_phase31_hybrid_pilot_case_context()

def case_selection.build_phase31_hybrid_pilot_case_context (   PerformanceEvidenceCaseContext)
Single frozen structured workload for the Phase 3.1 hybrid performance pilot row.

Definition at line 438 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build_phase31_performance_inventory_cases()

def case_selection.build_phase31_performance_inventory_cases (   list,
  dict,
  str,
  Any 
)
Planning helper inventory for the frozen Phase 3.1 counted slice.

This inventory mirrors the contract closed in the Phase 3.1 docs but is not
wired into the default Phase 3 performance package builders.

Definition at line 266 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_correctness_evidence_continuity_cases()

def case_selection.iter_correctness_evidence_continuity_cases ( )

Definition at line 114 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_correctness_evidence_microcase_cases()

def case_selection.iter_correctness_evidence_microcase_cases ( )

Definition at line 137 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_correctness_evidence_structured_cases()

def case_selection.iter_correctness_evidence_structured_cases ( )

Definition at line 156 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_density_signal_cases()

def case_selection.iter_density_signal_cases (   candidates)

Definition at line 162 of file planner_calibration/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_performance_evidence_continuity_cases()

def case_selection.iter_performance_evidence_continuity_cases ( )

Definition at line 113 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_performance_evidence_structured_cases()

def case_selection.iter_performance_evidence_structured_cases ( )

Definition at line 232 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_phase31_correctness_continuity_cases()

def case_selection.iter_phase31_correctness_continuity_cases ( )
Planning helper for the bounded Phase 3.1 continuity anchors.

Definition at line 217 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_phase31_correctness_microcase_cases()

def case_selection.iter_phase31_correctness_microcase_cases ( )
Planning helper for the Phase 3.1 counted microcase surface.

This is intentionally separate from the default Phase 3 correctness package
until Phase 3.1 implementation work wires the new path into the bundle
builders.

Definition at line 182 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_phase31_correctness_structured_cases()

def case_selection.iter_phase31_correctness_structured_cases ( )
Planning helper for the Phase 3.1 counted performance carry-forward set.

Definition at line 250 of file correctness_evidence/case_selection.py.

Here is the call graph for this function:

◆ iter_phase31_performance_cases()

def case_selection.iter_phase31_performance_cases ( )
Planning helper contexts for the frozen Phase 3.1 counted performance slice.

Definition at line 357 of file performance_evidence/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_planner_calibration_candidate_cases()

def case_selection.iter_planner_calibration_candidate_cases (   candidates)

Definition at line 151 of file planner_calibration/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_planner_calibration_continuity_cases()

def case_selection.iter_planner_calibration_continuity_cases (   candidates)

Definition at line 67 of file planner_calibration/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_planner_calibration_microcase_cases()

def case_selection.iter_planner_calibration_microcase_cases (   candidates)

Definition at line 94 of file planner_calibration/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iter_planner_calibration_structured_cases()

def case_selection.iter_planner_calibration_structured_cases (   candidates)

Definition at line 119 of file planner_calibration/case_selection.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ BENCHMARK_SLICE_PHASE31_COUNTED_MATRIX

string case_selection.BENCHMARK_SLICE_PHASE31_COUNTED_MATRIX = "phase31_counted_matrix"

Definition at line 50 of file performance_evidence/case_selection.py.

◆ BENCHMARK_SLICE_PHASE31_HYBRID_PILOT

string case_selection.BENCHMARK_SLICE_PHASE31_HYBRID_PILOT = "phase31_hybrid_pilot"

Definition at line 49 of file performance_evidence/case_selection.py.

◆ CORRECTNESS_EVIDENCE_CASE_KIND_CONTINUITY

string case_selection.CORRECTNESS_EVIDENCE_CASE_KIND_CONTINUITY = "continuity"

Definition at line 40 of file correctness_evidence/case_selection.py.

◆ CORRECTNESS_EVIDENCE_CASE_KIND_MICROCASE

string case_selection.CORRECTNESS_EVIDENCE_CASE_KIND_MICROCASE = "microcase"

Definition at line 41 of file correctness_evidence/case_selection.py.

◆ CORRECTNESS_EVIDENCE_CASE_KIND_STRUCTURED

string case_selection.CORRECTNESS_EVIDENCE_CASE_KIND_STRUCTURED = "structured_family"

Definition at line 42 of file correctness_evidence/case_selection.py.

◆ CORRECTNESS_EVIDENCE_CONTINUITY_QUBITS

tuple case_selection.CORRECTNESS_EVIDENCE_CONTINUITY_QUBITS = (4, 6, 8, 10)

Definition at line 43 of file correctness_evidence/case_selection.py.

◆ CORRECTNESS_EVIDENCE_EXTERNAL_REFERENCE_CONTINUITY_QUBITS

tuple case_selection.CORRECTNESS_EVIDENCE_EXTERNAL_REFERENCE_CONTINUITY_QUBITS = (4,)

Definition at line 44 of file correctness_evidence/case_selection.py.

◆ DENSITY_SIGNAL_CONTINUITY_QUBITS

tuple case_selection.DENSITY_SIGNAL_CONTINUITY_QUBITS = (4,)

Definition at line 30 of file planner_calibration/case_selection.py.

◆ DENSITY_SIGNAL_MICROCASE_IDS

tuple case_selection.DENSITY_SIGNAL_MICROCASE_IDS = ("microcase_4q_partition_boundary_triplet",)

Definition at line 31 of file planner_calibration/case_selection.py.

◆ DENSITY_SIGNAL_STRUCTURED_FILTER

dictionary case_selection.DENSITY_SIGNAL_STRUCTURED_FILTER
Initial value:
1 = {
2  "family_name": "layered_nearest_neighbor",
3  "qbit_num": 8,
4  "noise_patterns": ("sparse", "dense"),
5 }

Definition at line 32 of file planner_calibration/case_selection.py.

◆ frozen

case_selection.frozen

Definition at line 56 of file correctness_evidence/case_selection.py.

◆ PERFORMANCE_EVIDENCE_CASE_KIND_CONTINUITY

string case_selection.PERFORMANCE_EVIDENCE_CASE_KIND_CONTINUITY = "continuity"

Definition at line 41 of file performance_evidence/case_selection.py.

◆ PERFORMANCE_EVIDENCE_CASE_KIND_STRUCTURED

string case_selection.PERFORMANCE_EVIDENCE_CASE_KIND_STRUCTURED = "structured_family"

Definition at line 42 of file performance_evidence/case_selection.py.

◆ PERFORMANCE_EVIDENCE_CONTINUITY_QUBITS

tuple case_selection.PERFORMANCE_EVIDENCE_CONTINUITY_QUBITS = (4, 6, 8, 10)

Definition at line 43 of file performance_evidence/case_selection.py.

◆ PERFORMANCE_EVIDENCE_EXTERNAL_REFERENCE_CONTINUITY_QUBITS

tuple case_selection.PERFORMANCE_EVIDENCE_EXTERNAL_REFERENCE_CONTINUITY_QUBITS = (4,)

Definition at line 44 of file performance_evidence/case_selection.py.

◆ PHASE31_CORRECTNESS_CONTINUITY_QUBITS

tuple case_selection.PHASE31_CORRECTNESS_CONTINUITY_QUBITS = (4, 6)

Definition at line 45 of file correctness_evidence/case_selection.py.

◆ PHASE31_HYBRID_PILOT_WORKLOAD_ID

string case_selection.PHASE31_HYBRID_PILOT_WORKLOAD_ID = "phase31_pair_repeat_q8_periodic_seed20260318"

Definition at line 48 of file performance_evidence/case_selection.py.

◆ PLANNER_CALIBRATION_CASE_KIND_CONTINUITY

string case_selection.PLANNER_CALIBRATION_CASE_KIND_CONTINUITY = "continuity"

Definition at line 26 of file planner_calibration/case_selection.py.

◆ PLANNER_CALIBRATION_CASE_KIND_MICROCASE

string case_selection.PLANNER_CALIBRATION_CASE_KIND_MICROCASE = "microcase"

Definition at line 27 of file planner_calibration/case_selection.py.

◆ PLANNER_CALIBRATION_CASE_KIND_STRUCTURED

string case_selection.PLANNER_CALIBRATION_CASE_KIND_STRUCTURED = "structured_family"

Definition at line 28 of file planner_calibration/case_selection.py.

◆ PLANNER_CALIBRATION_CONTINUITY_QUBITS

tuple case_selection.PLANNER_CALIBRATION_CONTINUITY_QUBITS = (4, 6, 8, 10)

Definition at line 29 of file planner_calibration/case_selection.py.