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

Functions

def _case_base (case, topology)
 
def bridge_operations_match (actual_operations, expected_operations)
 
def build_artifact_bundle (results)
 
def build_bridge_vqe
 
def build_expected_bridge_operations (vqe)
 
def build_requirement_metadata ()
 
def capture_bridge_microcase (case, verbose=True)
 
def main ()
 
def print_summary (bundle)
 
def run_validation (verbose=True)
 
def validate_artifact_bundle (bundle)
 
def validate_bridge_microcase (case, verbose=True)
 
def write_artifact_bundle
 

Variables

tuple ARTIFACT_CORE_FIELDS
 
string ARTIFACT_FILENAME = "bridge_micro_validation_bundle.json"
 
tuple MANDATORY_BRIDGE_MICROCASES
 
 REPO_ROOT = Path(__file__).resolve().parents[3]
 
string SUITE_NAME = "bridge_micro_validation"
 

Detailed Description

Validation: bridge micro-validation matrix.

Validates the supported VQE-side density bridge on deterministic 1 to 3 qubit
microcases. The goal is not observable-threshold closure, but proof that the
required generated-`HEA` bridge surface lowers cleanly into the supported
`NoisyCircuit` vocabulary and remains execution-ready on small cases.

Run with:
python benchmarks/density_matrix/bridge_scope/bridge_validation.py

Function Documentation

◆ _case_base()

def bridge_validation._case_base (   case,
  topology 
)
private

Definition at line 302 of file bridge_validation.py.

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

◆ bridge_operations_match()

def bridge_validation.bridge_operations_match (   actual_operations,
  expected_operations 
)

Definition at line 272 of file bridge_validation.py.

Here is the caller graph for this function:

◆ build_artifact_bundle()

def bridge_validation.build_artifact_bundle (   results)

Definition at line 419 of file bridge_validation.py.

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

◆ build_bridge_vqe()

def bridge_validation.build_bridge_vqe (   qbit_num)

Definition at line 181 of file bridge_validation.py.

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

◆ build_expected_bridge_operations()

def bridge_validation.build_expected_bridge_operations (   vqe)

Definition at line 205 of file bridge_validation.py.

Here is the caller graph for this function:

◆ build_requirement_metadata()

def bridge_validation.build_requirement_metadata ( )

Definition at line 159 of file bridge_validation.py.

Here is the caller graph for this function:

◆ capture_bridge_microcase()

def bridge_validation.capture_bridge_microcase (   case,
  verbose = True 
)

Definition at line 380 of file bridge_validation.py.

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

◆ main()

def bridge_validation.main ( )

Definition at line 505 of file bridge_validation.py.

Here is the call graph for this function:

◆ print_summary()

def bridge_validation.print_summary (   bundle)

Definition at line 463 of file bridge_validation.py.

Here is the caller graph for this function:

◆ run_validation()

def bridge_validation.run_validation (   verbose = True)

Definition at line 408 of file bridge_validation.py.

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

◆ validate_artifact_bundle()

def bridge_validation.validate_artifact_bundle (   bundle)

Definition at line 447 of file bridge_validation.py.

Here is the caller graph for this function:

◆ validate_bridge_microcase()

def bridge_validation.validate_bridge_microcase (   case,
  verbose = True 
)

Definition at line 322 of file bridge_validation.py.

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

◆ write_artifact_bundle()

def bridge_validation.write_artifact_bundle (   output_path)

Definition at line 457 of file bridge_validation.py.

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

Variable Documentation

◆ ARTIFACT_CORE_FIELDS

tuple bridge_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 49 of file bridge_validation.py.

◆ ARTIFACT_FILENAME

string bridge_validation.ARTIFACT_FILENAME = "bridge_micro_validation_bundle.json"

Definition at line 48 of file bridge_validation.py.

◆ MANDATORY_BRIDGE_MICROCASES

tuple bridge_validation.MANDATORY_BRIDGE_MICROCASES

Definition at line 59 of file bridge_validation.py.

◆ REPO_ROOT

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

Definition at line 23 of file bridge_validation.py.

◆ SUITE_NAME

string bridge_validation.SUITE_NAME = "bridge_micro_validation"

Definition at line 47 of file bridge_validation.py.