Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase performance of quantum allocation and deallocation in simulation #167

Merged
merged 3 commits into from
May 18, 2023

Conversation

amccaskey
Copy link
Collaborator

For simulation (library-mode) ensure that qreg q(N) allocates all qubits at once. Ensure deallocations (when sampling or observing an operator) happen at once without explicit qubit reset.

…tion

Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
@amccaskey amccaskey merged commit 7286bfc into NVIDIA:main May 18, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 18, 2023
@bettinaheim bettinaheim added the enhancement New feature or request label Jun 28, 2023
@amccaskey amccaskey deleted the fastAllocDealloc branch September 13, 2023 23:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants