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

Functions

def _base_case_metadata (case, topology)
 
def _bridge_preflight_runner (case)
 
def _build_case_runner (case)
 
def _build_hamiltonian
 
def _constructor_failure_runner (case)
 
def build_artifact_bundle (results)
 
def build_requirement_metadata ()
 
def capture_unsupported_case (case, verbose=False)
 
def main ()
 
def parse_args ()
 
def run_validation (verbose=False)
 
def validate_artifact_bundle (bundle)
 
def validate_case_payload (case)
 
def write_artifact_bundle
 

Variables

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

Detailed Description

Validation: unsupported and deferred noise boundary.

Captures representative negative cases as structured artifacts. The
focus is the frozen Phase 2 noise support matrix:
- deferred families fail before execution,
- invalid ordered-noise schedule metadata fails deterministically,
- the first unsupported condition is recorded in a machine-reviewable way,
- and every emitted case stays outside the mandatory baseline.

Run with:
python benchmarks/density_matrix/noise_support/unsupported_noise_validation.py

Function Documentation

◆ _base_case_metadata()

def unsupported_noise_validation._base_case_metadata (   case,
  topology 
)
private

Definition at line 321 of file unsupported_noise_validation.py.

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

◆ _bridge_preflight_runner()

def unsupported_noise_validation._bridge_preflight_runner (   case)
private

Definition at line 300 of file unsupported_noise_validation.py.

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

◆ _build_case_runner()

def unsupported_noise_validation._build_case_runner (   case)
private

Definition at line 311 of file unsupported_noise_validation.py.

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

◆ _build_hamiltonian()

def unsupported_noise_validation._build_hamiltonian (   qbit_num)
private

Definition at line 274 of file unsupported_noise_validation.py.

Here is the caller graph for this function:

◆ _constructor_failure_runner()

def unsupported_noise_validation._constructor_failure_runner (   case)
private

Definition at line 285 of file unsupported_noise_validation.py.

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

◆ build_artifact_bundle()

def unsupported_noise_validation.build_artifact_bundle (   results)

Definition at line 494 of file unsupported_noise_validation.py.

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

◆ build_requirement_metadata()

def unsupported_noise_validation.build_requirement_metadata ( )

Definition at line 239 of file unsupported_noise_validation.py.

Here is the caller graph for this function:

◆ capture_unsupported_case()

def unsupported_noise_validation.capture_unsupported_case (   case,
  verbose = False 
)

Definition at line 407 of file unsupported_noise_validation.py.

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

◆ main()

def unsupported_noise_validation.main ( )

Definition at line 583 of file unsupported_noise_validation.py.

Here is the call graph for this function:

◆ parse_args()

def unsupported_noise_validation.parse_args ( )

Definition at line 567 of file unsupported_noise_validation.py.

Here is the caller graph for this function:

◆ run_validation()

def unsupported_noise_validation.run_validation (   verbose = False)

Definition at line 487 of file unsupported_noise_validation.py.

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

◆ validate_artifact_bundle()

def unsupported_noise_validation.validate_artifact_bundle (   bundle)

Definition at line 548 of file unsupported_noise_validation.py.

Here is the caller graph for this function:

◆ validate_case_payload()

def unsupported_noise_validation.validate_case_payload (   case)

Definition at line 355 of file unsupported_noise_validation.py.

Here is the caller graph for this function:

◆ write_artifact_bundle()

def unsupported_noise_validation.write_artifact_bundle (   output_path)

Definition at line 558 of file unsupported_noise_validation.py.

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

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

tuple unsupported_noise_validation.ARTIFACT_CORE_FIELDS
Initial value:
1 = (
2  "suite_name",
3  "status",
4  "backend",
5  "requirements",
6  "summary",
7  "software",
8  "cases",
9 )

Definition at line 61 of file unsupported_noise_validation.py.

◆ ARTIFACT_FILENAME

string unsupported_noise_validation.ARTIFACT_FILENAME = "unsupported_noise_bundle.json"

Definition at line 57 of file unsupported_noise_validation.py.

◆ DEFAULT_OUTPUT_DIR

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

Definition at line 58 of file unsupported_noise_validation.py.

◆ REPO_ROOT

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

Definition at line 22 of file unsupported_noise_validation.py.

◆ SUITE_NAME

string unsupported_noise_validation.SUITE_NAME = "unsupported_noise_boundary"

Definition at line 56 of file unsupported_noise_validation.py.

◆ UNSUPPORTED_NOISE_BOUNDARY_CASES

tuple unsupported_noise_validation.UNSUPPORTED_NOISE_BOUNDARY_CASES

Definition at line 71 of file unsupported_noise_validation.py.