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

Add expectation value tests for Python extensions #304

Open
Todorbsc opened this issue Jan 27, 2025 · 0 comments
Open

Add expectation value tests for Python extensions #304

Todorbsc opened this issue Jan 27, 2025 · 0 comments
Labels
ci/cd Continuous Integration / Continuous Deployment
Milestone

Comments

@Todorbsc
Copy link
Contributor

Todorbsc commented Jan 27, 2025

In order to test whether the conversion of a Python module circuit into Tenet is working properly, i.e. the results in Python and Tenet match, we should implement tests similar to YaoBlocks tests where we would compare the results obtained by the Python library and the Tenet contraction.
In YaoBlocks, this was NOT working due to a wrong order of the Sites, which was resolved in this PR.
This bug potentially exists in Qiskit.jl and Qibo.jl, where the dual sites are in first place. However, in Cirq.jl and Quimb.jl the dual sites are in second place.

@Todorbsc Todorbsc added bug Something isn't working ci/cd Continuous Integration / Continuous Deployment labels Jan 27, 2025
@Todorbsc Todorbsc added this to the 0.8.x milestone Jan 27, 2025
@mofeing mofeing removed the bug Something isn't working label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous Integration / Continuous Deployment
Projects
None yet
Development

No branches or pull requests

2 participants