You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mahout.apache.org by "viiccwen (via GitHub)" <gi...@apache.org> on 2026/04/12 12:13:19 UTC
[I] [Bug] IQP validation keeps a hardcoded 30-qubit limit instead of reusing shared qubit validation [mahout]
viiccwen opened a new issue, #1260:
URL: https://github.com/apache/mahout/issues/1260
### What
`qdp-core/src/gpu/encodings/iqp.rs` still hardcodes the qubit limit as `30` in multiple IQP validation paths instead of reusing the shared qubit-count validation already defined for the encoder layer.
This affects at least:
- IQP single-input validation
- IQP batch validation
- IQP GPU-pointer validation paths
### Why
Today, the effective global qubit policy is already centralized outside IQP, but IQP still carries its own copy of that policy.
That creates an unnecessary maintenance risk:
- if the shared qubit limit changes later, IQP can drift out of sync
- error behavior may become inconsistent across encoders
- tests end up asserting a duplicated magic number instead of the shared policy
This is a policy duplication bug, not a feature gap.
### How
Remove the hardcoded `30` checks from IQP and route those paths through the shared qubit validator instead.
This issue is done when:
- IQP no longer contains a hardcoded `30` qubit limit
- IQP over-limit behavior is controlled by the shared validator
- related tests stop relying on the literal `30`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mahout.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] IQP validation keeps a hardcoded 30-qubit limit instead of reusing shared qubit validation [mahout]
Posted by "400Ping (via GitHub)" <gi...@apache.org>.
400Ping closed issue #1260: [Bug] IQP validation keeps a hardcoded 30-qubit limit instead of reusing shared qubit validation
URL: https://github.com/apache/mahout/issues/1260
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org