Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Functions | Variables
tests.partitioning.fixtures.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

 DEFAULT_STRUCTURED_SEED
 
 MANDATORY_NOISE_PATTERNS
 
 MICROCASE_QUBITS
 
 PHASE31_CONTROL_NOISE_PATTERNS
 
 PHASE31_CONTROL_STRUCTURED_FAMILY_NAMES
 
 PHASE31_PRIMARY_NOISE_PATTERNS
 
 PHASE31_PRIMARY_SEEDS
 
 PHASE31_PRIMARY_STRUCTURED_FAMILY_NAMES
 
 STRUCTURED_FAMILY_NAMES
 
 STRUCTURED_QUBITS
 

Detailed Description

Mandatory microcase and structured workload surfaces for partitioning API tests (mirrors benchmarks planner_surface.workloads).

Function Documentation

◆ _apply_noise_pattern()

def tests.partitioning.fixtures.workloads._apply_noise_pattern (   layers)
private

Definition at line 362 of file tests/partitioning/fixtures/workloads.py.

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

◆ _cnot()

def tests.partitioning.fixtures.workloads._cnot (   target_qbit)
private

Definition at line 47 of file tests/partitioning/fixtures/workloads.py.

Here is the caller graph for this function:

◆ _layered_nearest_neighbor_layers()

def tests.partitioning.fixtures.workloads._layered_nearest_neighbor_layers (   qbit_num)
private

Definition at line 285 of file tests/partitioning/fixtures/workloads.py.

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

◆ _lookup_microcase_definition()

def tests.partitioning.fixtures.workloads._lookup_microcase_definition (   case_name)
private

Definition at line 215 of file tests/partitioning/fixtures/workloads.py.

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

◆ _noise()

def tests.partitioning.fixtures.workloads._noise (   channel)
private

Definition at line 57 of file tests/partitioning/fixtures/workloads.py.

Here is the caller graph for this function:

◆ _noise_value()

def tests.partitioning.fixtures.workloads._noise_value (   channel)
private

Definition at line 68 of file tests/partitioning/fixtures/workloads.py.

Here is the caller graph for this function:

◆ _partition_stress_layers()

def tests.partitioning.fixtures.workloads._partition_stress_layers (   qbit_num)
private

Definition at line 313 of file tests/partitioning/fixtures/workloads.py.

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

◆ _phase31_alternating_ladder_layers()

def tests.partitioning.fixtures.workloads._phase31_alternating_ladder_layers (   qbit_num)
private

Definition at line 341 of file tests/partitioning/fixtures/workloads.py.

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

◆ _phase31_pair_repeat_layers()

def tests.partitioning.fixtures.workloads._phase31_pair_repeat_layers (   qbit_num)
private

Definition at line 327 of file tests/partitioning/fixtures/workloads.py.

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

◆ _seeded_random_layered_layers()

def tests.partitioning.fixtures.workloads._seeded_random_layered_layers (   qbit_num)
private

Definition at line 297 of file tests/partitioning/fixtures/workloads.py.

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

◆ _structured_family_layers()

def tests.partitioning.fixtures.workloads._structured_family_layers (   family_name)
private

Definition at line 412 of file tests/partitioning/fixtures/workloads.py.

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

◆ _u3()

def tests.partitioning.fixtures.workloads._u3 (   target_qbit)
private

Definition at line 38 of file tests/partitioning/fixtures/workloads.py.

Here is the caller graph for this function:

◆ build_microcase_descriptor_set()

def tests.partitioning.fixtures.workloads.build_microcase_descriptor_set (   case_name)

Definition at line 244 of file tests/partitioning/fixtures/workloads.py.

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

◆ build_microcase_surface()

def tests.partitioning.fixtures.workloads.build_microcase_surface (   case_name)

Definition at line 223 of file tests/partitioning/fixtures/workloads.py.

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

◆ build_phase31_microcase_descriptor_set()

def tests.partitioning.fixtures.workloads.build_phase31_microcase_descriptor_set (   case_name)

Definition at line 265 of file tests/partitioning/fixtures/workloads.py.

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

◆ build_phase31_structured_descriptor_set()

def tests.partitioning.fixtures.workloads.build_phase31_structured_descriptor_set (   family_name)

Definition at line 556 of file tests/partitioning/fixtures/workloads.py.

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

◆ build_structured_descriptor_set()

def tests.partitioning.fixtures.workloads.build_structured_descriptor_set (   family_name)

Definition at line 471 of file tests/partitioning/fixtures/workloads.py.

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

◆ build_structured_surface()

def tests.partitioning.fixtures.workloads.build_structured_surface (   family_name)

Definition at line 432 of file tests/partitioning/fixtures/workloads.py.

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

◆ iter_microcase_descriptor_sets()

def tests.partitioning.fixtures.workloads.iter_microcase_descriptor_sets (   max_partition_qubits)

Definition at line 256 of file tests/partitioning/fixtures/workloads.py.

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

◆ iter_microcase_surfaces()

def tests.partitioning.fixtures.workloads.iter_microcase_surfaces ( )

Definition at line 233 of file tests/partitioning/fixtures/workloads.py.

Here is the call graph for this function:

◆ iter_phase31_microcase_descriptor_sets()

def tests.partitioning.fixtures.workloads.iter_phase31_microcase_descriptor_sets (   max_partition_qubits)

Definition at line 277 of file tests/partitioning/fixtures/workloads.py.

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

◆ iter_phase31_microcase_surfaces()

def tests.partitioning.fixtures.workloads.iter_phase31_microcase_surfaces ( )

Definition at line 238 of file tests/partitioning/fixtures/workloads.py.

Here is the call graph for this function:

◆ iter_phase31_structured_descriptor_sets()

def tests.partitioning.fixtures.workloads.iter_phase31_structured_descriptor_sets (   max_partition_qubits)

Definition at line 574 of file tests/partitioning/fixtures/workloads.py.

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

◆ iter_phase31_structured_surfaces()

def tests.partitioning.fixtures.workloads.iter_phase31_structured_surfaces ( )

Definition at line 515 of file tests/partitioning/fixtures/workloads.py.

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

◆ iter_structured_descriptor_sets()

def tests.partitioning.fixtures.workloads.iter_structured_descriptor_sets (   seed)

Definition at line 491 of file tests/partitioning/fixtures/workloads.py.

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

◆ iter_structured_surfaces()

def tests.partitioning.fixtures.workloads.iter_structured_surfaces (   seed)

Definition at line 449 of file tests/partitioning/fixtures/workloads.py.

Here is the call graph for this function:

◆ mandatory_microcase_definitions()

def tests.partitioning.fixtures.workloads.mandatory_microcase_definitions (   tuple,
  dict 
)

Definition at line 76 of file tests/partitioning/fixtures/workloads.py.

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

◆ phase31_microcase_definitions()

def tests.partitioning.fixtures.workloads.phase31_microcase_definitions (   tuple,
  dict 
)

Definition at line 125 of file tests/partitioning/fixtures/workloads.py.

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

Variable Documentation

◆ DEFAULT_STRUCTURED_SEED

tests.partitioning.fixtures.workloads.DEFAULT_STRUCTURED_SEED

Definition at line 23 of file tests/partitioning/fixtures/workloads.py.

◆ MANDATORY_NOISE_PATTERNS

tests.partitioning.fixtures.workloads.MANDATORY_NOISE_PATTERNS

Definition at line 17 of file tests/partitioning/fixtures/workloads.py.

◆ MICROCASE_QUBITS

tests.partitioning.fixtures.workloads.MICROCASE_QUBITS

Definition at line 15 of file tests/partitioning/fixtures/workloads.py.

◆ PHASE31_CONTROL_NOISE_PATTERNS

tests.partitioning.fixtures.workloads.PHASE31_CONTROL_NOISE_PATTERNS

Definition at line 30 of file tests/partitioning/fixtures/workloads.py.

◆ PHASE31_CONTROL_STRUCTURED_FAMILY_NAMES

tests.partitioning.fixtures.workloads.PHASE31_CONTROL_STRUCTURED_FAMILY_NAMES

Definition at line 28 of file tests/partitioning/fixtures/workloads.py.

◆ PHASE31_PRIMARY_NOISE_PATTERNS

tests.partitioning.fixtures.workloads.PHASE31_PRIMARY_NOISE_PATTERNS

Definition at line 29 of file tests/partitioning/fixtures/workloads.py.

◆ PHASE31_PRIMARY_SEEDS

tests.partitioning.fixtures.workloads.PHASE31_PRIMARY_SEEDS

Definition at line 31 of file tests/partitioning/fixtures/workloads.py.

◆ PHASE31_PRIMARY_STRUCTURED_FAMILY_NAMES

tests.partitioning.fixtures.workloads.PHASE31_PRIMARY_STRUCTURED_FAMILY_NAMES

Definition at line 24 of file tests/partitioning/fixtures/workloads.py.

◆ STRUCTURED_FAMILY_NAMES

tests.partitioning.fixtures.workloads.STRUCTURED_FAMILY_NAMES

Definition at line 18 of file tests/partitioning/fixtures/workloads.py.

◆ STRUCTURED_QUBITS

tests.partitioning.fixtures.workloads.STRUCTURED_QUBITS

Definition at line 16 of file tests/partitioning/fixtures/workloads.py.