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

Functions

def _ambiguous_parameter_routing_runner ()
 
def _build_continuity_bridge_request ()
 
def _drop_last_descriptor_member_runner ()
 
def _hide_noise_member_runner ()
 
def _incomplete_remap_runner ()
 
def _reordered_descriptor_runner ()
 
def _unsupported_case
 
def build_artifact_bundle
 
def build_unsupported_descriptor_cases ()
 
def main
 
def write_artifact_bundle
 

Variables

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

Detailed Description

Unsupported partition-descriptor boundary validation.

Exercises representative unsupported or lossy descriptor-generation situations
and records the stable no-fallback outcome for each one. Unsupported descriptor
requests fail before runtime and are not silently relabeled as supported
descriptor behavior.

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

Function Documentation

◆ _ambiguous_parameter_routing_runner()

def unsupported_descriptor_validation._ambiguous_parameter_routing_runner ( )
private

Definition at line 153 of file unsupported_descriptor_validation.py.

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

◆ _build_continuity_bridge_request()

def unsupported_descriptor_validation._build_continuity_bridge_request ( )
private

Definition at line 80 of file unsupported_descriptor_validation.py.

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

◆ _drop_last_descriptor_member_runner()

def unsupported_descriptor_validation._drop_last_descriptor_member_runner ( )
private

Definition at line 86 of file unsupported_descriptor_validation.py.

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

◆ _hide_noise_member_runner()

def unsupported_descriptor_validation._hide_noise_member_runner ( )
private

Definition at line 98 of file unsupported_descriptor_validation.py.

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

◆ _incomplete_remap_runner()

def unsupported_descriptor_validation._incomplete_remap_runner ( )
private

Definition at line 124 of file unsupported_descriptor_validation.py.

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

◆ _reordered_descriptor_runner()

def unsupported_descriptor_validation._reordered_descriptor_runner ( )
private

Definition at line 178 of file unsupported_descriptor_validation.py.

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

◆ _unsupported_case()

def unsupported_descriptor_validation._unsupported_case (   case_name)
private

Definition at line 59 of file unsupported_descriptor_validation.py.

Here is the caller graph for this function:

◆ build_artifact_bundle()

def unsupported_descriptor_validation.build_artifact_bundle (   cases)

Definition at line 224 of file unsupported_descriptor_validation.py.

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

◆ build_unsupported_descriptor_cases()

def unsupported_descriptor_validation.build_unsupported_descriptor_cases (   list,
  dict 
)

Definition at line 200 of file unsupported_descriptor_validation.py.

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

◆ main()

def unsupported_descriptor_validation.main (   argv)

Definition at line 257 of file unsupported_descriptor_validation.py.

Here is the call graph for this function:

◆ write_artifact_bundle()

def unsupported_descriptor_validation.write_artifact_bundle (   bundle)

Definition at line 250 of file unsupported_descriptor_validation.py.

Here is the caller graph for this function:

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

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

Definition at line 50 of file unsupported_descriptor_validation.py.

◆ ARTIFACT_FILENAME

string unsupported_descriptor_validation.ARTIFACT_FILENAME = "unsupported_descriptor_bundle.json"

Definition at line 41 of file unsupported_descriptor_validation.py.

◆ DEFAULT_OUTPUT_DIR

tuple unsupported_descriptor_validation.DEFAULT_OUTPUT_DIR
Initial value:
1 = (
2  REPO_ROOT
3  / "benchmarks"
4  / "density_matrix"
5  / "artifacts"
6  / "planner_surface"
7  / "unsupported_descriptor"
8 )

Definition at line 42 of file unsupported_descriptor_validation.py.

◆ REPO_ROOT

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

Definition at line 21 of file unsupported_descriptor_validation.py.

◆ SUITE_NAME

string unsupported_descriptor_validation.SUITE_NAME = "phase3_planner_surface_unsupported_descriptors"

Definition at line 40 of file unsupported_descriptor_validation.py.