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 circuit copy modifying the original queue #805

Merged
merged 2 commits into from
Mar 6, 2023
Merged

Fix circuit copy modifying the original queue #805

merged 2 commits into from
Mar 6, 2023

Conversation

stavros11
Copy link
Member

Fixes #783.

Checklist:

  • Reviewers confirm new code works as expected.
  • Tests are passing.
  • Coverage does not decrease.
  • Documentation is updated.

@stavros11 stavros11 added the bug Something isn't working label Feb 24, 2023
@stavros11 stavros11 requested a review from wilkensJ February 24, 2023 08:24
@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change

Comparison is base (d9a2dda) 100.00% compared to head (a008cad) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #805   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           47        47           
  Lines         5733      5728    -5     
=========================================
- Hits          5733      5728    -5     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

Impacted Files Coverage Δ
src/qibo/models/circuit.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@scarrazza scarrazza merged commit e70426c into master Mar 6, 2023
@scarrazza scarrazza deleted the fixcopy branch March 14, 2023 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

When using .copy() method on circuit the depth changes of original circuit
2 participants