Skip to content

Remove deprecated qubit auto-alignment#1043

Open
Adithyaphani wants to merge 1 commit into
qiskit-community:mainfrom
Adithyaphani:fix/remove-qubit-auto-alignment-1024
Open

Remove deprecated qubit auto-alignment#1043
Adithyaphani wants to merge 1 commit into
qiskit-community:mainfrom
Adithyaphani:fix/remove-qubit-auto-alignment-1024

Conversation

@Adithyaphani
Copy link
Copy Markdown

@Adithyaphani Adithyaphani commented May 12, 2026

###Summary:

Issue #1024 fix
Removes the automatic qubit padding behavior from the helper utilities and cleans up deprecated logic related to qubit derivation.
This PR updates the helper behavior to make qubit handling stricter and more explicit by avoiding silent circuit modifications.

###Details and comments:

Removed the automatic qubit padding mechanism from the helper:
Deleted deprecated logic from derive_num_qubits
Updated the helper to raise an explicit error instead of silently padding circuits
Improves transparency and prevents unexpected circuit behavior during execution
Simplifies the internal qubit-handling flow and removes deprecated pathways This change may affect workflows that previously relied on implicit circuit padding behavior.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 12, 2026

CLA assistant check
All committers have signed the CLA.

@Adithyaphani
Copy link
Copy Markdown
Author

@edoaltamura @adekusar-drl @oscar-wallis @OkuyanBoga looking forward to your reviews on the given PR .Happy to make further changes and developments .

@Adithyaphani
Copy link
Copy Markdown
Author

@oscar-wallis @OkuyanBoga @edoaltamura @adekusar-drl looking forward to your review on PR and response from your side.

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.

2 participants