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

Givens gate in basis_rotation.py #98

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Givens gate in basis_rotation.py #98

merged 2 commits into from
Apr 18, 2024

Conversation

damarkian
Copy link
Contributor

Replace the CNOT,CRY,CNOT implementation of the Givens rotation gate with Qibo's inbuilt GIVENS gate. Saves one RY gate per Givens rotation.

Copy link

codecov bot commented Apr 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (2440399) to head (bcc8586).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #98   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          589       587    -2     
=========================================
- Hits           589       587    -2     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@damarkian damarkian requested review from chmwzc and TL231 April 17, 2024 10:01
@damarkian damarkian marked this pull request as ready for review April 17, 2024 10:01
@chmwzc chmwzc merged commit fce21de into main Apr 18, 2024
7 checks passed
@damarkian damarkian deleted the dev_givens branch April 18, 2024 02:19
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.

2 participants