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

Functions

def _gate_fixed_value_runner ()
 
def _parameter_count_mismatch_runner ()
 
def _replace_first_operation (descriptor_set, predicate, replacer)
 
def _unsupported_case
 
def _unsupported_gate_name_runner ()
 
def _unsupported_noise_name_runner ()
 
def _wrong_requested_mode_runner ()
 
def build_artifact_bundle
 
def build_cases ()
 
def main
 
def write_artifact_bundle
 

Variables

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

Detailed Description

Unsupported runtime boundary validation: explicit categories and no silent fallback.

Exercises representative runtime-stage unsupported or incomplete execution
conditions and records the stable no-fallback outcome for each one.

Run with:
python benchmarks/density_matrix/partitioned_runtime/unsupported_runtime_validation.py

Function Documentation

◆ _gate_fixed_value_runner()

def unsupported_runtime_validation._gate_fixed_value_runner ( )
private

Definition at line 130 of file unsupported_runtime_validation.py.

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

◆ _parameter_count_mismatch_runner()

def unsupported_runtime_validation._parameter_count_mismatch_runner ( )
private

Definition at line 97 of file unsupported_runtime_validation.py.

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

◆ _replace_first_operation()

def unsupported_runtime_validation._replace_first_operation (   descriptor_set,
  predicate,
  replacer 
)
private

Definition at line 80 of file unsupported_runtime_validation.py.

Here is the caller graph for this function:

◆ _unsupported_case()

def unsupported_runtime_validation._unsupported_case (   case_name)
private

Definition at line 59 of file unsupported_runtime_validation.py.

Here is the caller graph for this function:

◆ _unsupported_gate_name_runner()

def unsupported_runtime_validation._unsupported_gate_name_runner ( )
private

Definition at line 104 of file unsupported_runtime_validation.py.

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

◆ _unsupported_noise_name_runner()

def unsupported_runtime_validation._unsupported_noise_name_runner ( )
private

Definition at line 117 of file unsupported_runtime_validation.py.

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

◆ _wrong_requested_mode_runner()

def unsupported_runtime_validation._wrong_requested_mode_runner ( )
private

Definition at line 89 of file unsupported_runtime_validation.py.

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

◆ build_artifact_bundle()

def unsupported_runtime_validation.build_artifact_bundle (   cases)

Definition at line 157 of file unsupported_runtime_validation.py.

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

◆ build_cases()

def unsupported_runtime_validation.build_cases (   list,
  dict 
)

Definition at line 143 of file unsupported_runtime_validation.py.

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

◆ main()

def unsupported_runtime_validation.main (   argv)

Definition at line 190 of file unsupported_runtime_validation.py.

Here is the call graph for this function:

◆ write_artifact_bundle()

def unsupported_runtime_validation.write_artifact_bundle (   bundle)

Definition at line 183 of file unsupported_runtime_validation.py.

Here is the caller graph for this function:

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

tuple unsupported_runtime_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_runtime_validation.py.

◆ ARTIFACT_FILENAME

string unsupported_runtime_validation.ARTIFACT_FILENAME = "unsupported_runtime_bundle.json"

Definition at line 41 of file unsupported_runtime_validation.py.

◆ DEFAULT_OUTPUT_DIR

tuple unsupported_runtime_validation.DEFAULT_OUTPUT_DIR
Initial value:
1 = (
2  REPO_ROOT
3  / "benchmarks"
4  / "density_matrix"
5  / "artifacts"
6  / "partitioned_runtime"
7  / "unsupported_runtime"
8 )

Definition at line 42 of file unsupported_runtime_validation.py.

◆ REPO_ROOT

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

Definition at line 19 of file unsupported_runtime_validation.py.

◆ SUITE_NAME

string unsupported_runtime_validation.SUITE_NAME = "phase3_partitioned_runtime_unsupported_runtime"

Definition at line 40 of file unsupported_runtime_validation.py.