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

Functions

def _build_artifact_entry (artifact_id, artifact_class, mandatory, path, status, expected_statuses, purpose, generation_command, summary=None)
 
def _load_json
 
def build_bridge_publication_bundle
 
def generate_bridge_publication_bundle
 
def main ()
 
def print_bridge_publication_bundle_summary (bundle)
 
def validate_bridge_publication_bundle
 
def write_bridge_publication_bundle
 

Variables

tuple BRIDGE_PUBLICATION_BUNDLE_FIELDS
 
string BRIDGE_PUBLICATION_BUNDLE_FILENAME = "bridge_publication_bundle.json"
 
 REPO_ROOT = Path(__file__).resolve().parents[3]
 

Detailed Description

Publication bundle: bridge evidence.

Assembles the delivered bridge evidence into a single publication-oriented
manifest plus completeness checks.

Run with:
python benchmarks/density_matrix/bridge_scope/bridge_publication_bundle.py --output-dir <dir>

Function Documentation

◆ _build_artifact_entry()

def bridge_publication_bundle._build_artifact_entry (   artifact_id,
  artifact_class,
  mandatory,
  path,
  status,
  expected_statuses,
  purpose,
  generation_command,
  summary = None 
)
private

Definition at line 79 of file bridge_publication_bundle.py.

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

◆ _load_json()

def bridge_publication_bundle._load_json (   path)
private

Definition at line 64 of file bridge_publication_bundle.py.

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

◆ build_bridge_publication_bundle()

def bridge_publication_bundle.build_bridge_publication_bundle (   output_dir)

Definition at line 94 of file bridge_publication_bundle.py.

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

◆ generate_bridge_publication_bundle()

def bridge_publication_bundle.generate_bridge_publication_bundle (   output_dir)

Definition at line 402 of file bridge_publication_bundle.py.

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

◆ main()

def bridge_publication_bundle.main ( )

Definition at line 476 of file bridge_publication_bundle.py.

Here is the call graph for this function:

◆ print_bridge_publication_bundle_summary()

def bridge_publication_bundle.print_bridge_publication_bundle_summary (   bundle)

Definition at line 379 of file bridge_publication_bundle.py.

Here is the caller graph for this function:

◆ validate_bridge_publication_bundle()

def bridge_publication_bundle.validate_bridge_publication_bundle (   bundle,
  bundle_dir 
)

Definition at line 291 of file bridge_publication_bundle.py.

Here is the caller graph for this function:

◆ write_bridge_publication_bundle()

def bridge_publication_bundle.write_bridge_publication_bundle (   output_path)

Definition at line 373 of file bridge_publication_bundle.py.

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

Variable Documentation

◆ BRIDGE_PUBLICATION_BUNDLE_FIELDS

tuple bridge_publication_bundle.BRIDGE_PUBLICATION_BUNDLE_FIELDS
Initial value:
1 = (
2  "suite_name",
3  "status",
4  "backend",
5  "reference_backend",
6  "software",
7  "provenance",
8  "summary",
9  "artifacts",
10 )

Definition at line 52 of file bridge_publication_bundle.py.

◆ BRIDGE_PUBLICATION_BUNDLE_FILENAME

string bridge_publication_bundle.BRIDGE_PUBLICATION_BUNDLE_FILENAME = "bridge_publication_bundle.json"

Definition at line 51 of file bridge_publication_bundle.py.

◆ REPO_ROOT

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

Definition at line 18 of file bridge_publication_bundle.py.