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

Update plugin for ProjectQ v0.5.1 support, including IBM API v2 #62

Closed
wants to merge 11 commits into from

Conversation

mariaschuld
Copy link
Contributor

@mariaschuld mariaschuld commented Apr 15, 2020

Description of the Change:

Updates signature of IBM device.

Related GitHub Issues:

Fixes #61

### Contributors

This release contains contributions from (in alphabetical order):

Maria Schuld

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need to add yourself @josh146 :)

Copy link
Member

Choose a reason for hiding this comment

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

😆 Oddly enough, the tests now pass for me locally, but not on travis...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it possible that Travis' token expired?

@@ -1,2 +1,3 @@
projectq
git+https://github.com/ProjectQ-Framework/ProjectQ.git#egg=projectq
Copy link
Member

Choose a reason for hiding this comment

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

This will always use the latest commit to master, no? What if there is a future long-lived commit in master that is broken? Would it be better to pick a particular release/commit?

Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately the ProjectQ IBM API fix was only committed 5 days ago. This change is so that we can work on this PR and verify we can get the plugin working with the IBM backend; we should re-evaluate the status of ProjectQ before merging this in.

But good call on pinning to a particular commit 👍

Copy link
Member

Choose a reason for hiding this comment

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

It looks like this is going to be released soon as v0.5.1

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great!

@josh146 josh146 changed the title [WIP] Fix failing tests [WIP] Update plugin for ProjectQ v0.5.1 support, including IBM API v2 May 13, 2020
@josh146 josh146 changed the title [WIP] Update plugin for ProjectQ v0.5.1 support, including IBM API v2 Update plugin for ProjectQ v0.5.1 support, including IBM API v2 May 13, 2020
@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

Merging #62 into master will decrease coverage by 2.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
- Coverage   98.26%   96.15%   -2.11%     
==========================================
  Files           6        6              
  Lines         230      234       +4     
==========================================
- Hits          226      225       -1     
- Misses          4        9       +5     
Impacted Files Coverage Δ
pennylane_pq/__init__.py 100.00% <100.00%> (ø)
pennylane_pq/devices.py 97.54% <100.00%> (+0.06%) ⬆️
pennylane_pq/ops.py 100.00% <100.00%> (ø)
pennylane_pq/pqops.py 88.63% <0.00%> (-11.37%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a74dc8a...5e9802a. Read the comment docs.

@mariaschuld
Copy link
Contributor Author

Solved in PR #65.

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.

Tests for IBM device failing.
3 participants