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

Bugfix/get num statevector elements #124

Merged
merged 6 commits into from
May 22, 2023

Conversation

laestrada
Copy link
Collaborator

This PR replaces the ncmax and ncmin functions (addressing #123) and puts them in the common.sh file. The behavior of the updated function is the same except that it uses python instead of ncap2. ncap2 requires significantly more memory and caused a constraint on the amount of memory that could be used to run the IMI.

Additionally, I remove the setup_imi.sh file because this is a vestigial file. Setup is now handled by src/components/setup_component/setup.sh.

@laestrada laestrada requested a review from msulprizio May 22, 2023 14:49
@laestrada
Copy link
Collaborator Author

Tested on AWS and confirmed no differences (except for the removal of some trailing whitespace)

Copy link
Collaborator

@msulprizio msulprizio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @laestrada! This PR looks good to merge.

@laestrada laestrada merged commit 1b20bae into dev May 22, 2023
@laestrada laestrada deleted the bugfix/get_num_statevector_elements branch May 22, 2023 17:23
@msulprizio msulprizio added this to the IMI 1.2.0 milestone Aug 18, 2023
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.

None yet

2 participants