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

fix Array-TracedRArray contraction and force dense representation of Yao gates #258

Merged
merged 8 commits into from
Nov 27, 2024

Conversation

mofeing
Copy link
Member

@mofeing mofeing commented Nov 21, 2024

Copy link
Member Author

@mofeing mofeing left a comment

Choose a reason for hiding this comment

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

in the end there are multiple fixes for the VQE to work with Reactant

Copy link
Member

@jofrevalles jofrevalles left a comment

Choose a reason for hiding this comment

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

Can we have a small testset that just tests whether the results from Reactant and Tenet is the same?

@mofeing
Copy link
Member Author

mofeing commented Nov 26, 2024

Can we have a small testset that just tests whether the results from Reactant and Tenet is the same?

not right now because we are on a rush and we also need to create the infrastructure for Reactant tests (there are no tests with Reactant here)

#245 tracks that issue

@mofeing mofeing changed the title fix site reordering fro ControlBlock to Quantum conversion fix Array-TracedRArray contraction and force dense representation of Yao gates Nov 27, 2024
@mofeing mofeing merged commit 2bba50c into master Nov 27, 2024
5 checks passed
@mofeing mofeing deleted the fix-yao-control-mats branch November 27, 2024 08:39
jofrevalles pushed a commit that referenced this pull request Dec 2, 2024
… of Yao gates (#258)

* try fix reordering of sites

* try fix layout of multi-qubit gates in Yao to Tenet conversion

* Remove permutedims & add collect for array building

* minor fixes on Reactant pkg extension

* implement `copy` for some structs

* fix column- to row-major layout conversion on `Reactant.promote_to` call

* remove dead code

---------

Co-authored-by: Todorbsc <[email protected]>
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.

3 participants