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

Change the place of num_exec #259

Merged
merged 7 commits into from
Jan 24, 2023
Merged

Change the place of num_exec #259

merged 7 commits into from
Jan 24, 2023

Conversation

rmoyard
Copy link
Contributor

@rmoyard rmoyard commented Jan 24, 2023

No description provided.

@codecov
Copy link

codecov bot commented Jan 24, 2023

Codecov Report

Merging #259 (c0d442c) into master (a4eee1c) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #259   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          298       298           
=========================================
  Hits           298       298           
Impacted Files Coverage Δ
pennylane_qiskit/qiskit_device.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.

Copy link
Contributor

@trbromley trbromley left a comment

Choose a reason for hiding this comment

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

Thanks @rmoyard!

dev = device(2)
tapes = [self.tape1, self.tape2]
res = dev.batch_execute(tapes)
assert dev.num_executions == 2
Copy link
Contributor

Choose a reason for hiding this comment

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

😅 yes retrospect this doesn't look right!

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