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

Functions

def build_artifact_bundle
 
def build_case_identity_summary
 
def build_requirement_metadata (qubit_sizes=EXACT_REGIME_WORKFLOW_QUBITS, parameter_set_count=EXACT_REGIME_PARAMETER_SET_COUNT)
 
def main ()
 
def parse_args ()
 
def run_validation
 
def validate_artifact_bundle (bundle)
 
def validate_case_payload (case)
 
def write_artifact_bundle
 

Variables

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

Detailed Description

Validation: exact-regime workflow baseline.

Builds the phase-level workflow-scale gate from the canonical exact-regime
workflow matrix while keeping the dedicated optimization trace out of scope
until the trace-anchor layer.

The resulting bundle is intentionally a thin validation-evidence layer:
- it freezes the mandatory 4 / 6 / 8 / 10 workflow inventory,
- it validates stable workflow case identity and parameter-set coverage,
- it preserves exactness, backend attribution, and unsupported-free completion,
- and it makes incomplete or partial workflow evidence fail explicitly.

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

Function Documentation

◆ build_artifact_bundle()

def workflow_baseline_validation.build_artifact_bundle (   exact_regime_workflow_bundle,
  workflow_results,
  qubit_sizes = EXACT_REGIME_WORKFLOW_QUBITS,
  parameter_set_count 
)

Definition at line 189 of file workflow_baseline_validation.py.

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

◆ build_case_identity_summary()

def workflow_baseline_validation.build_case_identity_summary (   cases,
  qubit_sizes = EXACT_REGIME_WORKFLOW_QUBITS,
  parameter_set_count 
)

Definition at line 121 of file workflow_baseline_validation.py.

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

◆ build_requirement_metadata()

def workflow_baseline_validation.build_requirement_metadata (   qubit_sizes = EXACT_REGIME_WORKFLOW_QUBITS,
  parameter_set_count = EXACT_REGIME_PARAMETER_SET_COUNT 
)

Definition at line 69 of file workflow_baseline_validation.py.

Here is the caller graph for this function:

◆ main()

def workflow_baseline_validation.main ( )

Definition at line 364 of file workflow_baseline_validation.py.

Here is the call graph for this function:

◆ parse_args()

def workflow_baseline_validation.parse_args ( )

Definition at line 335 of file workflow_baseline_validation.py.

Here is the caller graph for this function:

◆ run_validation()

def workflow_baseline_validation.run_validation (   qubit_sizes = EXACT_REGIME_WORKFLOW_QUBITS,
  parameter_set_count 
)

Definition at line 303 of file workflow_baseline_validation.py.

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

◆ validate_artifact_bundle()

def workflow_baseline_validation.validate_artifact_bundle (   bundle)

Definition at line 282 of file workflow_baseline_validation.py.

Here is the caller graph for this function:

◆ validate_case_payload()

def workflow_baseline_validation.validate_case_payload (   case)

Definition at line 89 of file workflow_baseline_validation.py.

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

◆ write_artifact_bundle()

def workflow_baseline_validation.write_artifact_bundle (   output_path)

Definition at line 292 of file workflow_baseline_validation.py.

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

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

tuple workflow_baseline_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  "cases",
12 )

Definition at line 53 of file workflow_baseline_validation.py.

◆ ARTIFACT_FILENAME

string workflow_baseline_validation.ARTIFACT_FILENAME = "workflow_baseline_bundle.json"

Definition at line 49 of file workflow_baseline_validation.py.

◆ DEFAULT_OUTPUT_DIR

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

Definition at line 50 of file workflow_baseline_validation.py.

◆ REPO_ROOT

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

Definition at line 26 of file workflow_baseline_validation.py.

◆ SUITE_NAME

string workflow_baseline_validation.SUITE_NAME = "workflow_baseline_validation"

Definition at line 48 of file workflow_baseline_validation.py.