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

Functions

def _surface_case
 
def build_artifact_bundle
 
def main
 
def run_validation
 
def write_artifact_bundle
 

Variables

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

Detailed Description

Mandatory workload planner surface validation.

Builds the required 2 to 4 qubit microcases and the structured noisy
`U3` / `CNOT` workload families, then verifies that all of them enter the same
canonical Phase 3 planner contract.

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

Function Documentation

◆ _surface_case()

def mandatory_workload_surface_validation._surface_case (   case_kind)
private

Definition at line 51 of file mandatory_workload_surface_validation.py.

Here is the caller graph for this function:

◆ build_artifact_bundle()

def mandatory_workload_surface_validation.build_artifact_bundle (   cases)

Definition at line 97 of file mandatory_workload_surface_validation.py.

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

◆ main()

def mandatory_workload_surface_validation.main (   argv)

Definition at line 142 of file mandatory_workload_surface_validation.py.

Here is the call graph for this function:

◆ run_validation()

def mandatory_workload_surface_validation.run_validation (   verbose)

Definition at line 79 of file mandatory_workload_surface_validation.py.

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

◆ write_artifact_bundle()

def mandatory_workload_surface_validation.write_artifact_bundle (   bundle)

Definition at line 135 of file mandatory_workload_surface_validation.py.

Here is the caller graph for this function:

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

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

Definition at line 41 of file mandatory_workload_surface_validation.py.

◆ ARTIFACT_FILENAME

string mandatory_workload_surface_validation.ARTIFACT_FILENAME = "mandatory_workload_surface_bundle.json"

Definition at line 37 of file mandatory_workload_surface_validation.py.

◆ DEFAULT_OUTPUT_DIR

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

Definition at line 38 of file mandatory_workload_surface_validation.py.

◆ REPO_ROOT

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

Definition at line 19 of file mandatory_workload_surface_validation.py.

◆ SUITE_NAME

string mandatory_workload_surface_validation.SUITE_NAME = "phase3_planner_surface_workload_surface"

Definition at line 36 of file mandatory_workload_surface_validation.py.