|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Classes | |
| class | TestDensityMatrixBasics |
| class | TestIntegration |
| class | TestNoiseChannels |
| class | TestNoisyCircuitMixed |
| class | TestNoisyCircuitNoise |
| class | TestNoisyCircuitUnitary |
| class | TestPerformance |
Variables | |
| dtype | |
| HADAMARD | |
| HAS_MODULE | |
Python Unit Tests for Density Matrix Module
|
private |
Definition at line 35 of file test_density_matrix.py.
|
private |
Definition at line 29 of file test_density_matrix.py.
|
private |
Definition at line 24 of file test_density_matrix.py.
| def tests.density_matrix.test_density_matrix.test_end_to_end_trace_bundle_schema_module_level | ( | ) |
Test the end-to-end trace bundle schema.
Definition at line 1089 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_end_to_end_trace_contract_mismatch_blocks_closure_module_level | ( | ) |
Test that workflow-contract trace-name drift blocks the trace gate.
Definition at line 1160 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_end_to_end_trace_incomplete_trace_blocks_closure_module_level | ( | ) |
Test that incomplete trace evidence fails the trace gate.
Definition at line 1187 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_end_to_end_trace_missing_end_to_end_case_blocks_closure_module_level | ( | ) |
Test that missing mandatory end-to-end cases fail the trace gate.
Definition at line 1131 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_matrix_baseline_bundle_schema_module_level | ( | ) |
Test the matrix-baseline bundle schema.
Definition at line 1211 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_matrix_baseline_case_contract_mismatch_fails_validation_module_level | ( | ) |
Test that case-level contract mismatch fails matrix-baseline validation.
Definition at line 1311 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_matrix_baseline_missing_matrix_case_blocks_closure_module_level | ( | ) |
Test that missing matrix cases fail the matrix baseline gate.
Definition at line 1248 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_matrix_baseline_threshold_contract_mismatch_blocks_closure_module_level | ( | ) |
Test that workflow-contract threshold drift blocks the matrix gate.
Definition at line 1283 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_unsupported_workflow_bundle_schema_module_level | ( | ) |
Test the unsupported-workflow bundle schema.
Definition at line 1328 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_unsupported_workflow_missing_backend_mismatch_case_blocks_closure_module_level | ( | ) |
Test that missing backend-mismatch evidence fails the unsupported gate.
Definition at line 1364 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_unsupported_workflow_missing_first_condition_fails_validation_module_level | ( | ) |
Test that missing first-unsupported-condition fields fail validation.
Definition at line 1398 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_unsupported_workflow_required_field_mismatch_raises_module_level | ( | ) |
Test that workflow-contract field drift is enforced by the unsupported gate.
Definition at line 1415 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_contract_missing_boundary_classification_fails_validation_module_level | ( | ) |
Test that missing boundary classes fail workflow-contract validation.
Definition at line 1038 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_contract_missing_threshold_field_fails_validation_module_level | ( | ) |
Test that missing threshold fields fail workflow-contract validation.
Definition at line 1072 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_contract_missing_workflow_id_fails_validation_module_level | ( | ) |
Test that missing workflow identity fails workflow-contract validation.
Definition at line 1055 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_contract_validation_schema_module_level | ( | ) |
Test the workflow-contract bundle schema.
Definition at line 974 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_interpretation_bundle_schema_module_level | ( | ) |
Test the workflow-interpretation bundle schema.
Definition at line 1448 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_interpretation_field_alignment_required_for_main_claim_module_level | ( | ) |
Test that unsupported-field drift blocks the main workflow claim.
Definition at line 1553 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_interpretation_incomplete_mandatory_artifact_blocks_closure_module_level | ( | ) |
Test that incomplete mandatory artifacts block claim closure.
Definition at line 1518 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_interpretation_optional_evidence_counting_toward_mandatory_blocks_closure_module_level | ( | ) |
Test that optional evidence cannot count toward the main workflow claim.
Definition at line 1484 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_publication_bundle_schema_module_level | ( | ) |
Test the workflow-publication bundle schema.
Definition at line 1590 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_publication_mismatched_contract_version_fails_validation_module_level | ( | ) |
Test that mismatched contract versions fail publication validation.
Definition at line 1640 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_publication_missing_artifact_entry_fails_validation_module_level | ( | ) |
Test that missing mandatory artifact entries fail publication validation.
Definition at line 1622 of file test_density_matrix.py.

| def tests.density_matrix.test_density_matrix.test_workflow_publication_missing_semantic_flag_fails_validation_module_level | ( | ) |
Test that missing semantic closure flags fail publication validation.
Definition at line 1658 of file test_density_matrix.py.

| tests.density_matrix.test_density_matrix.dtype |
Definition at line 21 of file test_density_matrix.py.
| tests.density_matrix.test_density_matrix.HADAMARD |
Definition at line 21 of file test_density_matrix.py.
| tests.density_matrix.test_density_matrix.HAS_MODULE |
Definition at line 16 of file test_density_matrix.py.
1.8.13