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

Functions

def _extract_requested_channel
 
def _map_requested_channel_to_boundary_reason
 
def build_deferred_case_classification (deferred_reason, case_purpose=CASE_PURPOSE_DEFERRED_SCOPE_GUARD)
 
def build_optional_case_classification (case_purpose, optional_reason)
 
def build_required_case_classification ()
 
def build_support_tier_summary (cases)
 
def build_unsupported_case_classification (unsupported_reason, case_purpose=CASE_PURPOSE_UNSUPPORTED_SCOPE_GUARD)
 
def classify_noise_boundary_reason
 

Variables

string BOUNDARY_CLASS_CONFIGURATION = "configuration"
 
string BOUNDARY_CLASS_MODEL_FAMILY = "model_family"
 
string BOUNDARY_CLASS_SCHEDULE_ELEMENT = "schedule_element"
 
string CASE_PURPOSE_DEFERRED_SCOPE_GUARD = "deferred_scope_guard"
 
string CASE_PURPOSE_MANDATORY_BASELINE = "mandatory_baseline"
 
string CASE_PURPOSE_OPTIONAL_COMPARISON = "optional_comparison"
 
string CASE_PURPOSE_OPTIONAL_REGRESSION = "optional_regression"
 
string CASE_PURPOSE_OPTIONAL_STRESS = "optional_stress"
 
string CASE_PURPOSE_UNSUPPORTED_SCOPE_GUARD = "unsupported_scope_guard"
 
tuple DEFERRED_FAMILY_REASONS
 
string DEFERRED_REASON_CALIBRATION_AWARE = "calibration_aware_noise"
 
string DEFERRED_REASON_CORRELATED_MULTI_QUBIT = "correlated_multi_qubit_noise"
 
string DEFERRED_REASON_NON_MARKOVIAN = "non_markovian_noise"
 
string DEFERRED_REASON_READOUT = "readout_noise"
 
string OPTIONAL_REASON_WHOLE_REGISTER_DEPOLARIZING = "whole_register_depolarizing_baseline"
 
string OPTIONAL_REASON_WORKFLOW_JUSTIFIED_EXTENSION = "workflow_justified_extension"
 
string SUPPORT_TIER_DEFERRED = "deferred"
 
string SUPPORT_TIER_OPTIONAL = "optional"
 
string SUPPORT_TIER_REQUIRED = "required"
 
string SUPPORT_TIER_UNSUPPORTED = "unsupported"
 
tuple SUPPORT_TIER_VOCABULARY
 
tuple UNSUPPORTED_CONFIGURATION_REASONS
 
tuple UNSUPPORTED_REASON_AFTER_GATE_INDEX_EXCEEDS_GATE_COUNT
 
string UNSUPPORTED_REASON_AFTER_GATE_INDEX_NEGATIVE = "after_gate_index_negative"
 
string UNSUPPORTED_REASON_DENSITY_NOISE_CHANNEL = "unsupported_density_noise_channel"
 
string UNSUPPORTED_REASON_NOISE_VALUE_NON_FINITE = "noise_value_non_finite"
 
string UNSUPPORTED_REASON_NOISE_VALUE_OUT_OF_RANGE = "noise_value_out_of_range"
 
string UNSUPPORTED_REASON_TARGET_QBIT_OUT_OF_RANGE = "target_qbit_out_of_range"
 

Detailed Description

Shared noise-support vocabulary and bundle summary helpers.

Function Documentation

◆ _extract_requested_channel()

def support_tiers._extract_requested_channel (   reason)
private

Definition at line 107 of file support_tiers.py.

Here is the caller graph for this function:

◆ _map_requested_channel_to_boundary_reason()

def support_tiers._map_requested_channel_to_boundary_reason (   requested_channel)
private

Definition at line 114 of file support_tiers.py.

Here is the caller graph for this function:

◆ build_deferred_case_classification()

def support_tiers.build_deferred_case_classification (   deferred_reason,
  case_purpose = CASE_PURPOSE_DEFERRED_SCOPE_GUARD 
)

Definition at line 85 of file support_tiers.py.

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

◆ build_optional_case_classification()

def support_tiers.build_optional_case_classification (   case_purpose,
  optional_reason 
)

Definition at line 72 of file support_tiers.py.

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

◆ build_required_case_classification()

def support_tiers.build_required_case_classification ( )

Definition at line 64 of file support_tiers.py.

Here is the caller graph for this function:

◆ build_support_tier_summary()

def support_tiers.build_support_tier_summary (   cases)

Definition at line 225 of file support_tiers.py.

Here is the caller graph for this function:

◆ build_unsupported_case_classification()

def support_tiers.build_unsupported_case_classification (   unsupported_reason,
  case_purpose = CASE_PURPOSE_UNSUPPORTED_SCOPE_GUARD 
)

Definition at line 98 of file support_tiers.py.

Here is the caller graph for this function:

◆ classify_noise_boundary_reason()

def support_tiers.classify_noise_boundary_reason (   reason)

Definition at line 130 of file support_tiers.py.

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

Variable Documentation

◆ BOUNDARY_CLASS_CONFIGURATION

string support_tiers.BOUNDARY_CLASS_CONFIGURATION = "configuration"

Definition at line 24 of file support_tiers.py.

◆ BOUNDARY_CLASS_MODEL_FAMILY

string support_tiers.BOUNDARY_CLASS_MODEL_FAMILY = "model_family"

Definition at line 22 of file support_tiers.py.

◆ BOUNDARY_CLASS_SCHEDULE_ELEMENT

string support_tiers.BOUNDARY_CLASS_SCHEDULE_ELEMENT = "schedule_element"

Definition at line 23 of file support_tiers.py.

◆ CASE_PURPOSE_DEFERRED_SCOPE_GUARD

string support_tiers.CASE_PURPOSE_DEFERRED_SCOPE_GUARD = "deferred_scope_guard"

Definition at line 16 of file support_tiers.py.

◆ CASE_PURPOSE_MANDATORY_BASELINE

string support_tiers.CASE_PURPOSE_MANDATORY_BASELINE = "mandatory_baseline"

Definition at line 12 of file support_tiers.py.

◆ CASE_PURPOSE_OPTIONAL_COMPARISON

string support_tiers.CASE_PURPOSE_OPTIONAL_COMPARISON = "optional_comparison"

Definition at line 15 of file support_tiers.py.

◆ CASE_PURPOSE_OPTIONAL_REGRESSION

string support_tiers.CASE_PURPOSE_OPTIONAL_REGRESSION = "optional_regression"

Definition at line 13 of file support_tiers.py.

◆ CASE_PURPOSE_OPTIONAL_STRESS

string support_tiers.CASE_PURPOSE_OPTIONAL_STRESS = "optional_stress"

Definition at line 14 of file support_tiers.py.

◆ CASE_PURPOSE_UNSUPPORTED_SCOPE_GUARD

string support_tiers.CASE_PURPOSE_UNSUPPORTED_SCOPE_GUARD = "unsupported_scope_guard"

Definition at line 17 of file support_tiers.py.

◆ DEFERRED_FAMILY_REASONS

tuple support_tiers.DEFERRED_FAMILY_REASONS
Initial value:
1 = (
2  DEFERRED_REASON_CORRELATED_MULTI_QUBIT,
3  DEFERRED_REASON_READOUT,
4  DEFERRED_REASON_CALIBRATION_AWARE,
5  DEFERRED_REASON_NON_MARKOVIAN,
6 )

Definition at line 40 of file support_tiers.py.

◆ DEFERRED_REASON_CALIBRATION_AWARE

string support_tiers.DEFERRED_REASON_CALIBRATION_AWARE = "calibration_aware_noise"

Definition at line 28 of file support_tiers.py.

◆ DEFERRED_REASON_CORRELATED_MULTI_QUBIT

string support_tiers.DEFERRED_REASON_CORRELATED_MULTI_QUBIT = "correlated_multi_qubit_noise"

Definition at line 26 of file support_tiers.py.

◆ DEFERRED_REASON_NON_MARKOVIAN

string support_tiers.DEFERRED_REASON_NON_MARKOVIAN = "non_markovian_noise"

Definition at line 29 of file support_tiers.py.

◆ DEFERRED_REASON_READOUT

string support_tiers.DEFERRED_REASON_READOUT = "readout_noise"

Definition at line 27 of file support_tiers.py.

◆ OPTIONAL_REASON_WHOLE_REGISTER_DEPOLARIZING

string support_tiers.OPTIONAL_REASON_WHOLE_REGISTER_DEPOLARIZING = "whole_register_depolarizing_baseline"

Definition at line 19 of file support_tiers.py.

◆ OPTIONAL_REASON_WORKFLOW_JUSTIFIED_EXTENSION

string support_tiers.OPTIONAL_REASON_WORKFLOW_JUSTIFIED_EXTENSION = "workflow_justified_extension"

Definition at line 20 of file support_tiers.py.

◆ SUPPORT_TIER_DEFERRED

string support_tiers.SUPPORT_TIER_DEFERRED = "deferred"

Definition at line 9 of file support_tiers.py.

◆ SUPPORT_TIER_OPTIONAL

string support_tiers.SUPPORT_TIER_OPTIONAL = "optional"

Definition at line 8 of file support_tiers.py.

◆ SUPPORT_TIER_REQUIRED

string support_tiers.SUPPORT_TIER_REQUIRED = "required"

Definition at line 7 of file support_tiers.py.

◆ SUPPORT_TIER_UNSUPPORTED

string support_tiers.SUPPORT_TIER_UNSUPPORTED = "unsupported"

Definition at line 10 of file support_tiers.py.

◆ SUPPORT_TIER_VOCABULARY

tuple support_tiers.SUPPORT_TIER_VOCABULARY
Initial value:
1 = (
2  SUPPORT_TIER_REQUIRED,
3  SUPPORT_TIER_OPTIONAL,
4  SUPPORT_TIER_DEFERRED,
5  SUPPORT_TIER_UNSUPPORTED,
6 )

Definition at line 56 of file support_tiers.py.

◆ UNSUPPORTED_CONFIGURATION_REASONS

tuple support_tiers.UNSUPPORTED_CONFIGURATION_REASONS
Initial value:
1 = (
2  UNSUPPORTED_REASON_DENSITY_NOISE_CHANNEL,
3  UNSUPPORTED_REASON_AFTER_GATE_INDEX_NEGATIVE,
4  UNSUPPORTED_REASON_AFTER_GATE_INDEX_EXCEEDS_GATE_COUNT,
5  UNSUPPORTED_REASON_TARGET_QBIT_OUT_OF_RANGE,
6  UNSUPPORTED_REASON_NOISE_VALUE_OUT_OF_RANGE,
7  UNSUPPORTED_REASON_NOISE_VALUE_NON_FINITE,
8 )

Definition at line 47 of file support_tiers.py.

◆ UNSUPPORTED_REASON_AFTER_GATE_INDEX_EXCEEDS_GATE_COUNT

tuple support_tiers.UNSUPPORTED_REASON_AFTER_GATE_INDEX_EXCEEDS_GATE_COUNT
Initial value:
1 = (
2  "after_gate_index_exceeds_gate_count"
3 )

Definition at line 33 of file support_tiers.py.

◆ UNSUPPORTED_REASON_AFTER_GATE_INDEX_NEGATIVE

string support_tiers.UNSUPPORTED_REASON_AFTER_GATE_INDEX_NEGATIVE = "after_gate_index_negative"

Definition at line 32 of file support_tiers.py.

◆ UNSUPPORTED_REASON_DENSITY_NOISE_CHANNEL

string support_tiers.UNSUPPORTED_REASON_DENSITY_NOISE_CHANNEL = "unsupported_density_noise_channel"

Definition at line 31 of file support_tiers.py.

◆ UNSUPPORTED_REASON_NOISE_VALUE_NON_FINITE

string support_tiers.UNSUPPORTED_REASON_NOISE_VALUE_NON_FINITE = "noise_value_non_finite"

Definition at line 38 of file support_tiers.py.

◆ UNSUPPORTED_REASON_NOISE_VALUE_OUT_OF_RANGE

string support_tiers.UNSUPPORTED_REASON_NOISE_VALUE_OUT_OF_RANGE = "noise_value_out_of_range"

Definition at line 37 of file support_tiers.py.

◆ UNSUPPORTED_REASON_TARGET_QBIT_OUT_OF_RANGE

string support_tiers.UNSUPPORTED_REASON_TARGET_QBIT_OUT_OF_RANGE = "target_qbit_out_of_range"

Definition at line 36 of file support_tiers.py.