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

Functions

def build_artifact_bundle (metric_completeness_bundle, optional_noise_bundle, unsupported_noise_bundle)
 
def build_requirement_metadata ()
 
def main ()
 
def parse_args ()
 
def run_validation
 
def validate_artifact_bundle (bundle)
 
def write_artifact_bundle
 

Variables

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

Detailed Description

Validation: validation-evidence interpretation guardrails.

Builds the phase-level interpretation layer from:
- the already passing metric-completeness bundle,
- the optional-noise classification bundle,
- and the unsupported-noise bundle.

The resulting bundle is intentionally a thin validation-evidence layer:
- it computes the main Phase 2 validation claim only from mandatory, complete,
  supported evidence,
- it keeps optional evidence explicitly supplemental,
- it keeps unsupported or deferred evidence explicitly negative,
- and it treats missing mandatory evidence as incomplete rather than as partial
  success.

Run with:
python benchmarks/density_matrix/validation_evidence/interpretation_validation.py

Function Documentation

◆ build_artifact_bundle()

def interpretation_validation.build_artifact_bundle (   metric_completeness_bundle,
  optional_noise_bundle,
  unsupported_noise_bundle 
)

Definition at line 95 of file interpretation_validation.py.

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

◆ build_requirement_metadata()

def interpretation_validation.build_requirement_metadata ( )

Definition at line 70 of file interpretation_validation.py.

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

◆ main()

def interpretation_validation.main ( )

Definition at line 267 of file interpretation_validation.py.

Here is the call graph for this function:

◆ parse_args()

def interpretation_validation.parse_args ( )

Definition at line 238 of file interpretation_validation.py.

Here is the caller graph for this function:

◆ run_validation()

def interpretation_validation.run_validation (   qubit_sizes = EXACT_REGIME_WORKFLOW_QUBITS,
  parameter_set_count 
)

Definition at line 202 of file interpretation_validation.py.

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

◆ validate_artifact_bundle()

def interpretation_validation.validate_artifact_bundle (   bundle)

Definition at line 181 of file interpretation_validation.py.

Here is the caller graph for this function:

◆ write_artifact_bundle()

def interpretation_validation.write_artifact_bundle (   output_path)

Definition at line 191 of file interpretation_validation.py.

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

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

tuple interpretation_validation.ARTIFACT_CORE_FIELDS
Initial value:
1 = (
2  "suite_name",
3  "status",
4  "backend",
5  "reference_backend",
6  "requirements",
7  "thresholds",
8  "software",
9  "summary",
10  "required_artifacts",
11 )

Definition at line 57 of file interpretation_validation.py.

◆ ARTIFACT_FILENAME

string interpretation_validation.ARTIFACT_FILENAME = "interpretation_bundle.json"

Definition at line 53 of file interpretation_validation.py.

◆ DEFAULT_OUTPUT_DIR

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

Definition at line 54 of file interpretation_validation.py.

◆ REPO_ROOT

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

Definition at line 28 of file interpretation_validation.py.

◆ SUITE_NAME

string interpretation_validation.SUITE_NAME = "validation_evidence_interpretation"

Definition at line 52 of file interpretation_validation.py.