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

Functions

def _apply_noise_pattern
 
def _cnot
 
def _layered_nearest_neighbor_layers
 
def _lookup_microcase_definition
 
def _noise
 
def _noise_value
 
def _partition_stress_layers
 
def _phase31_alternating_ladder_layers
 
def _phase31_pair_repeat_layers
 
def _seeded_random_layered_layers
 
def _structured_family_layers
 
def _u3
 
def build_microcase_descriptor_set
 
def build_microcase_surface
 
def build_phase31_microcase_descriptor_set
 
def build_phase31_structured_descriptor_set
 
def build_structured_descriptor_set
 
def build_structured_surface
 
def iter_microcase_descriptor_sets
 
def iter_microcase_surfaces ()
 
def iter_phase31_microcase_descriptor_sets
 
def iter_phase31_microcase_surfaces ()
 
def iter_phase31_structured_descriptor_sets
 
def iter_phase31_structured_surfaces ()
 
def iter_structured_descriptor_sets
 
def iter_structured_surfaces
 
def mandatory_microcase_definitions ()
 
def phase31_microcase_definitions ()
 

Variables

int DEFAULT_STRUCTURED_SEED = 20260318
 
tuple MANDATORY_NOISE_PATTERNS = ("sparse", "periodic", "dense")
 
tuple MICROCASE_QUBITS = (2, 3, 4)
 
tuple PHASE31_CONTROL_NOISE_PATTERNS = ("sparse",)
 
tuple PHASE31_CONTROL_STRUCTURED_FAMILY_NAMES = ("layered_nearest_neighbor",)
 
tuple PHASE31_PRIMARY_NOISE_PATTERNS = ("periodic", "dense")
 
tuple PHASE31_PRIMARY_SEEDS
 
tuple PHASE31_PRIMARY_STRUCTURED_FAMILY_NAMES
 
tuple STRUCTURED_FAMILY_NAMES
 
tuple STRUCTURED_QUBITS = (8, 10)
 

Function Documentation

◆ _apply_noise_pattern()

def workloads._apply_noise_pattern (   layers)
private

Definition at line 360 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _cnot()

def workloads._cnot (   target_qbit)
private

Definition at line 45 of file benchmarks/density_matrix/planner_surface/workloads.py.

Here is the caller graph for this function:

◆ _layered_nearest_neighbor_layers()

def workloads._layered_nearest_neighbor_layers (   qbit_num)
private

Definition at line 283 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _lookup_microcase_definition()

def workloads._lookup_microcase_definition (   case_name)
private

Definition at line 213 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _noise()

def workloads._noise (   channel)
private

Definition at line 55 of file benchmarks/density_matrix/planner_surface/workloads.py.

Here is the caller graph for this function:

◆ _noise_value()

def workloads._noise_value (   channel)
private

Definition at line 66 of file benchmarks/density_matrix/planner_surface/workloads.py.

Here is the caller graph for this function:

◆ _partition_stress_layers()

def workloads._partition_stress_layers (   qbit_num)
private

Definition at line 311 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _phase31_alternating_ladder_layers()

def workloads._phase31_alternating_ladder_layers (   qbit_num)
private

Definition at line 339 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _phase31_pair_repeat_layers()

def workloads._phase31_pair_repeat_layers (   qbit_num)
private

Definition at line 325 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _seeded_random_layered_layers()

def workloads._seeded_random_layered_layers (   qbit_num)
private

Definition at line 295 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _structured_family_layers()

def workloads._structured_family_layers (   family_name)
private

Definition at line 410 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ _u3()

def workloads._u3 (   target_qbit)
private

Definition at line 36 of file benchmarks/density_matrix/planner_surface/workloads.py.

Here is the caller graph for this function:

◆ build_microcase_descriptor_set()

def workloads.build_microcase_descriptor_set (   case_name)

Definition at line 242 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ build_microcase_surface()

def workloads.build_microcase_surface (   case_name)

Definition at line 221 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ build_phase31_microcase_descriptor_set()

def workloads.build_phase31_microcase_descriptor_set (   case_name)

Definition at line 263 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ build_phase31_structured_descriptor_set()

def workloads.build_phase31_structured_descriptor_set (   family_name)

Definition at line 554 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ build_structured_descriptor_set()

def workloads.build_structured_descriptor_set (   family_name)

Definition at line 469 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ build_structured_surface()

def workloads.build_structured_surface (   family_name)

Definition at line 430 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ iter_microcase_descriptor_sets()

def workloads.iter_microcase_descriptor_sets (   max_partition_qubits)

Definition at line 254 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ iter_microcase_surfaces()

def workloads.iter_microcase_surfaces ( )

Definition at line 231 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ iter_phase31_microcase_descriptor_sets()

def workloads.iter_phase31_microcase_descriptor_sets (   max_partition_qubits)

Definition at line 275 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ iter_phase31_microcase_surfaces()

def workloads.iter_phase31_microcase_surfaces ( )

Definition at line 236 of file benchmarks/density_matrix/planner_surface/workloads.py.

Here is the call graph for this function:

◆ iter_phase31_structured_descriptor_sets()

def workloads.iter_phase31_structured_descriptor_sets (   max_partition_qubits)

Definition at line 572 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ iter_phase31_structured_surfaces()

def workloads.iter_phase31_structured_surfaces ( )

Definition at line 513 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ iter_structured_descriptor_sets()

def workloads.iter_structured_descriptor_sets (   seed)

Definition at line 489 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ iter_structured_surfaces()

def workloads.iter_structured_surfaces (   seed)

Definition at line 447 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ mandatory_microcase_definitions()

def workloads.mandatory_microcase_definitions (   tuple,
  dict 
)

Definition at line 74 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

◆ phase31_microcase_definitions()

def workloads.phase31_microcase_definitions (   tuple,
  dict 
)

Definition at line 123 of file benchmarks/density_matrix/planner_surface/workloads.py.

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

Variable Documentation

◆ DEFAULT_STRUCTURED_SEED

int workloads.DEFAULT_STRUCTURED_SEED = 20260318

◆ MANDATORY_NOISE_PATTERNS

tuple workloads.MANDATORY_NOISE_PATTERNS = ("sparse", "periodic", "dense")

◆ MICROCASE_QUBITS

tuple workloads.MICROCASE_QUBITS = (2, 3, 4)

◆ PHASE31_CONTROL_NOISE_PATTERNS

tuple workloads.PHASE31_CONTROL_NOISE_PATTERNS = ("sparse",)

◆ PHASE31_CONTROL_STRUCTURED_FAMILY_NAMES

tuple workloads.PHASE31_CONTROL_STRUCTURED_FAMILY_NAMES = ("layered_nearest_neighbor",)

◆ PHASE31_PRIMARY_NOISE_PATTERNS

tuple workloads.PHASE31_PRIMARY_NOISE_PATTERNS = ("periodic", "dense")

◆ PHASE31_PRIMARY_SEEDS

tuple workloads.PHASE31_PRIMARY_SEEDS
Initial value:
1 = (
2  DEFAULT_STRUCTURED_SEED,
3  DEFAULT_STRUCTURED_SEED + 1,
4  DEFAULT_STRUCTURED_SEED + 2,
5 )

Definition at line 29 of file benchmarks/density_matrix/planner_surface/workloads.py.

◆ PHASE31_PRIMARY_STRUCTURED_FAMILY_NAMES

tuple workloads.PHASE31_PRIMARY_STRUCTURED_FAMILY_NAMES
Initial value:
1 = (
2  "phase31_pair_repeat",
3  "phase31_alternating_ladder",
4 )

Definition at line 22 of file benchmarks/density_matrix/planner_surface/workloads.py.

◆ STRUCTURED_FAMILY_NAMES

tuple workloads.STRUCTURED_FAMILY_NAMES
Initial value:
1 = (
2  "layered_nearest_neighbor",
3  "seeded_random_layered",
4  "partition_stress_ladder",
5 )

Definition at line 16 of file benchmarks/density_matrix/planner_surface/workloads.py.

◆ STRUCTURED_QUBITS

tuple workloads.STRUCTURED_QUBITS = (8, 10)