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

Functions

def _hybrid_partition_route_summary
 
def test_phase31_hybrid_rejects_unsupported_gate_not_routed_quietly ()
 
def test_phase31_hybrid_structured_pair_repeat_q8_dense_smoke ()
 
def test_phase31_s08_e01_counted_hybrid_continuity_q4_matches_sequential_oracle ()
 
def test_phase31_s10_e01_counted_hybrid_continuity_q6_matches_sequential_oracle ()
 

Variables

 _COUNTED_HYBRID_CONTINUITY_Q4_WORKLOAD_ID
 
 _COUNTED_HYBRID_CONTINUITY_Q6_WORKLOAD_ID
 
 _EXPECTED_Q4_HYBRID_PARTITION_COUNT
 
 _EXPECTED_Q4_ROUTE_REASON_COUNTS
 
 _EXPECTED_Q4_RUNTIME_CLASS_COUNTS
 
 _EXPECTED_Q6_HYBRID_PARTITION_COUNT
 
 _EXPECTED_Q6_ROUTE_REASON_COUNTS
 
 _EXPECTED_Q6_RUNTIME_CLASS_COUNTS
 
 _FROZEN_HYBRID_ROUTE_REASONS
 
 REPO_ROOT
 

Detailed Description

Phase 3.1 hybrid whole-workload path: runtime (P31-S07-E01) and counted continuity (P31-S08 + P31-S10).

**P31-S07-E01 (runtime / routing):** ``phase31_channel_native_hybrid``,
``execute_partitioned_density_channel_native_hybrid``, partition-level route
reasons, unsupported-by-both failure, and structured smoke.

**Counted hybrid continuity gates (Task 3):** ``P31-S08-E01`` —
``phase2_xxz_hea_q4_continuity``; ``P31-S10-E01`` — ``phase2_xxz_hea_q6_continuity``.
Each asserts full-density exactness vs sequential oracle and a frozen aggregated
route summary (partition count, runtime-class counts, route-reason counts).

**Correctness package (``P31-S10-E02``):** Stage-A sibling builders and
``phase31_validation_pipeline.py`` emit the bounded six-case package under
``artifacts/correctness_evidence/phase31_stage_a/`` (default Phase 3 pipeline
unchanged).

**Still deferred:** counted structured performance matrix (``P31-ADR-010``);
default-pipeline Stage-B switch; publication closure.

Strict motif-proof tests stay in ``test_partitioned_channel_native_phase31_*slice.py``.

Function Documentation

◆ _hybrid_partition_route_summary()

def tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._hybrid_partition_route_summary (   result)
private

Definition at line 96 of file test_partitioned_channel_native_phase31_hybrid_slice.py.

Here is the caller graph for this function:

◆ test_phase31_hybrid_rejects_unsupported_gate_not_routed_quietly()

def tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice.test_phase31_hybrid_rejects_unsupported_gate_not_routed_quietly ( )

Definition at line 183 of file test_partitioned_channel_native_phase31_hybrid_slice.py.

Here is the call graph for this function:

◆ test_phase31_hybrid_structured_pair_repeat_q8_dense_smoke()

def tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice.test_phase31_hybrid_structured_pair_repeat_q8_dense_smoke ( )

Definition at line 216 of file test_partitioned_channel_native_phase31_hybrid_slice.py.

Here is the call graph for this function:

◆ test_phase31_s08_e01_counted_hybrid_continuity_q4_matches_sequential_oracle()

def tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice.test_phase31_s08_e01_counted_hybrid_continuity_q4_matches_sequential_oracle ( )

Definition at line 111 of file test_partitioned_channel_native_phase31_hybrid_slice.py.

Here is the call graph for this function:

◆ test_phase31_s10_e01_counted_hybrid_continuity_q6_matches_sequential_oracle()

def tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice.test_phase31_s10_e01_counted_hybrid_continuity_q6_matches_sequential_oracle ( )

Definition at line 146 of file test_partitioned_channel_native_phase31_hybrid_slice.py.

Here is the call graph for this function:

Variable Documentation

◆ _COUNTED_HYBRID_CONTINUITY_Q4_WORKLOAD_ID

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._COUNTED_HYBRID_CONTINUITY_Q4_WORKLOAD_ID
private

◆ _COUNTED_HYBRID_CONTINUITY_Q6_WORKLOAD_ID

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._COUNTED_HYBRID_CONTINUITY_Q6_WORKLOAD_ID
private

◆ _EXPECTED_Q4_HYBRID_PARTITION_COUNT

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._EXPECTED_Q4_HYBRID_PARTITION_COUNT
private

◆ _EXPECTED_Q4_ROUTE_REASON_COUNTS

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._EXPECTED_Q4_ROUTE_REASON_COUNTS
private

◆ _EXPECTED_Q4_RUNTIME_CLASS_COUNTS

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._EXPECTED_Q4_RUNTIME_CLASS_COUNTS
private

◆ _EXPECTED_Q6_HYBRID_PARTITION_COUNT

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._EXPECTED_Q6_HYBRID_PARTITION_COUNT
private

◆ _EXPECTED_Q6_ROUTE_REASON_COUNTS

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._EXPECTED_Q6_ROUTE_REASON_COUNTS
private

◆ _EXPECTED_Q6_RUNTIME_CLASS_COUNTS

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._EXPECTED_Q6_RUNTIME_CLASS_COUNTS
private

◆ _FROZEN_HYBRID_ROUTE_REASONS

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice._FROZEN_HYBRID_ROUTE_REASONS
private

◆ REPO_ROOT

tests.partitioning.test_partitioned_channel_native_phase31_hybrid_slice.REPO_ROOT