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

improve performance of multiidx2n #173

Merged
merged 3 commits into from
May 7, 2024

Conversation

enum-class
Copy link
Contributor

Improve performance of multiidx2n function, which exist in the hot pass.

@vsoftco vsoftco self-requested a review May 3, 2024 13:29
@vsoftco vsoftco self-assigned this May 3, 2024
@enum-class
Copy link
Contributor Author

Hi @vsoftco, is there anything else that needs to be addressed for the p.r ?

@jimlambert
Copy link
Collaborator

jimlambert commented May 6, 2024 via email

Copy link
Member

@vsoftco vsoftco left a comment

Choose a reason for hiding this comment

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

@enum-class Can you please re-write L113 as part_prod *= dims[numdims-1];? Other than that, all looks good, I'll merge it once the modification. Thanks!

@enum-class
Copy link
Contributor Author

@vsoftco @jimlambert thanks, I have done it

@vsoftco vsoftco merged commit 4d93478 into softwareQinc:dev May 7, 2024
vsoftco added a commit that referenced this pull request Jul 29, 2024
* WIP

* Simplified MATLAB detection

* Update CHANGES.md

* Formatting

* Minor update

POSIX-compliance

Signed-off-by: Vlad Gheorghiu <[email protected]>

* Update

Signed-off-by: Vlad Gheorghiu <[email protected]>

* add .txt extension

VERSION conflicts with cpp20 <version> on macOS, hence renamed to
VERSION.txt

Signed-off-by: Vlad Gheorghiu <[email protected]>

* Update

Signed-off-by: Vlad Gheorghiu <[email protected]>

* Update

Signed-off-by: Vlad Gheorghiu <[email protected]>

* fix

Signed-off-by: Vlad Gheorghiu <[email protected]>

* Minor update

Signed-off-by: Vlad Gheorghiu <[email protected]>

* improve performance of multiidx2n (#173)

* improve performance of multiidx2n

* minor cleanup

* minor fix

* CCNOT example (#175)

* add toffoli example

* fix typo

* Updated CCNOT example

Signed-off-by: Vlad Gheorghiu <[email protected]>

* Minor typos

Signed-off-by: Vlad Gheorghiu <[email protected]>

---------

Signed-off-by: Vlad Gheorghiu <[email protected]>
Co-authored-by: Saman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants