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

Functions

def _unsupported_case
 
def build_artifact_bundle
 
def build_cases ()
 
def main
 
def write_artifact_bundle
 

Variables

tuple ARTIFACT_CORE_FIELDS
 
string ARTIFACT_FILENAME = "unsupported_planner_bundle.json"
 
tuple DEFAULT_OUTPUT_DIR
 
 REPO_ROOT = Path(__file__).resolve().parents[3]
 
string SUITE_NAME = "phase3_planner_surface_unsupported_planner"
 

Detailed Description

Unsupported planner boundary validation.

Exercises representative unsupported planner-entry requests and records the
stable no-fallback outcome for each one. Unsupported requests fail before
execution and are not silently relabeled as supported `partitioned_density`
behavior.

Run with:
python benchmarks/density_matrix/planner_surface/unsupported_planner_validation.py

Function Documentation

◆ _unsupported_case()

def unsupported_planner_validation._unsupported_case (   case_name)
private

Definition at line 46 of file unsupported_planner_validation.py.

Here is the caller graph for this function:

◆ build_artifact_bundle()

def unsupported_planner_validation.build_artifact_bundle (   cases)

Definition at line 156 of file unsupported_planner_validation.py.

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

◆ build_cases()

def unsupported_planner_validation.build_cases (   list,
  dict 
)

Definition at line 67 of file unsupported_planner_validation.py.

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

◆ main()

def unsupported_planner_validation.main (   argv)

Definition at line 189 of file unsupported_planner_validation.py.

Here is the call graph for this function:

◆ write_artifact_bundle()

def unsupported_planner_validation.write_artifact_bundle (   bundle)

Definition at line 182 of file unsupported_planner_validation.py.

Here is the caller graph for this function:

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

tuple unsupported_planner_validation.ARTIFACT_CORE_FIELDS
Initial value:
1 = (
2  "suite_name",
3  "status",
4  "software",
5  "summary",
6  "cases",
7 )

Definition at line 37 of file unsupported_planner_validation.py.

◆ ARTIFACT_FILENAME

string unsupported_planner_validation.ARTIFACT_FILENAME = "unsupported_planner_bundle.json"

Definition at line 33 of file unsupported_planner_validation.py.

◆ DEFAULT_OUTPUT_DIR

tuple unsupported_planner_validation.DEFAULT_OUTPUT_DIR
Initial value:
1 = (
2  REPO_ROOT / "benchmarks" / "density_matrix" / "artifacts" / "planner_surface"
3 )

Definition at line 34 of file unsupported_planner_validation.py.

◆ REPO_ROOT

unsupported_planner_validation.REPO_ROOT = Path(__file__).resolve().parents[3]

Definition at line 20 of file unsupported_planner_validation.py.

◆ SUITE_NAME

string unsupported_planner_validation.SUITE_NAME = "phase3_planner_surface_unsupported_planner"

Definition at line 32 of file unsupported_planner_validation.py.