Skip to content

Restructure codes to remove multiple definitions#144

Merged
doichanj merged 5 commits intoQiskit:mainfrom
doichanj:fix_static
Apr 21, 2026
Merged

Restructure codes to remove multiple definitions#144
doichanj merged 5 commits intoQiskit:mainfrom
doichanj:fix_static

Conversation

@doichanj
Copy link
Copy Markdown
Collaborator

@doichanj doichanj commented Apr 20, 2026

Summary

This PR restructures source codes to remove multiple definition errors when compiling applications with multiple C++ source codes

Details and comments

Moves all implementation outside of class into inside (except for redundant includes for flow control classes)
Replace static member value for counters of QuantumRegister and ClassicalRegister to non-named namespace atomic counter

@doichanj doichanj changed the title Restore test to separate test codes Restructure codes to remove multiple definitions Apr 21, 2026
@doichanj doichanj merged commit 91f4b5d into Qiskit:main Apr 21, 2026
6 checks passed
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