Skip to content

Feat: Implement dynamic scaling factor with damping#80

Open
quantumgizmos wants to merge 1 commit intomainfrom
dynamic_ms_sclaing_factor
Open

Feat: Implement dynamic scaling factor with damping#80
quantumgizmos wants to merge 1 commit intomainfrom
dynamic_ms_sclaing_factor

Conversation

@quantumgizmos
Copy link
Owner

This pull request includes updates to the LDPC project, focusing on versioning, test adjustments, and improvements to the behavior of the ms_scaling_factor parameter in the belief propagation algorithm. The most important changes include a version bump, modifications to test cases, and updates to the scaling factor logic in the C++ implementation.

Versioning:

  • Updated the project version from 2.3.6 to 2.3.7 in pyproject.toml.

Scaling factor logic:

  • Updated the logic for ms_scaling_factor in src_cpp/bp.hpp to handle negative values. Negative values now apply a damping factor using the absolute value of the scaling factor, improving flexibility in the belief propagation algorithm. [1] [2]

Test adjustments:

  • Modified the ms_scaling_factor parameter in two test cases (test_400_16_6_hgp) in python_test/test_qcodes.py from 0 to -1 to reflect new behavior for negative scaling factors. [1] [2]

…tor handling in bp.hpp; add empty test file for bp_serial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant