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

Allow the max-cut example to be studied under noisy qvms #17

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

willzeng
Copy link
Contributor

This is done by allowing a non-default Connection object to be passed in.

@@ -30,7 +30,7 @@ def print_fun(x):
print x


def maxcut_qaoa(graph, steps=1, rand_seed=None):
def maxcut_qaoa(graph, steps=1, rand_seed=None, connection=None):
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we can't just default this to CXN because that'll be evaluated too early.

@stylewarning stylewarning merged commit eed6cc0 into master Mar 22, 2017
@jotterbach jotterbach deleted the maxcut-with-noise branch October 11, 2017 08:37
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.

None yet

2 participants