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

Refactor get_qc helper functions #731

Merged
merged 9 commits into from
Dec 11, 2018

Conversation

mpharrigan
Copy link
Contributor

get_qc will return a qpu with the given name or a qvm based off of the named qpu. It also has two "hardcoded" qvms that aren't based on a real device: 9q-square-qvm and {n}q-qvm. Users probably want the ability to give their own topology and/or noise model. This refactors the creation of qvms-not-based-on-a-real-device in anticipation of supporting functionality to have the user create a qvm of their liking.

In particular, _get_qvm_with_topology can be made public, documented, and advertised for building a qvm with a custom topology.

@mpharrigan mpharrigan changed the title Refactor dummy device creation Refactor not-real device creation Dec 7, 2018
@mpharrigan mpharrigan changed the title Refactor not-real device creation Refactor get_qc helper functions Dec 7, 2018
Copy link
Contributor

@ecpeterson ecpeterson left a comment

Choose a reason for hiding this comment

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

responsible-looking PR

@mpharrigan
Copy link
Contributor Author

@ecp-rigetti if you want we can merge #730 first and I'll solve the potential resulting conflicts

@ecpeterson
Copy link
Contributor

Oh, I don't mind and I wouldn't wait. #730 realistically won't be merged for a week still, and the merge conflicts are mostly me deleting things, which I don't mind doing again.

@mpharrigan mpharrigan merged commit 0eb85e0 into rigetti:master Dec 11, 2018
@mpharrigan mpharrigan deleted the refactor-dummy-device-creation branch December 11, 2018 18:59
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