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

ising fails with Internal Server Error #180

Open
spakin opened this issue Aug 23, 2018 · 1 comment
Open

ising fails with Internal Server Error #180

spakin opened this issue Aug 23, 2018 · 1 comment
Assignees

Comments

@spakin
Copy link

spakin commented Aug 23, 2018

The ising function works fine when I give it tiny sets of hs and Js. I then tried the following, larger problem:

#! /usr/bin/env python

from grove.ising.ising_qaoa import ising

h = [-1, 2, 0, -1, -1, 2, 0, 2, 0, 0, 1, 0]
J = {(0, 1): -1, (0, 4): 1, (0, 6): -4, (0, 7): -2, (1, 3): -1, (1, 4): -1, (1, 5): 2, (1, 7): 2, (1, 10): 1, (2, 3): -4, (3, 5): -2, (3, 10): -1, (4, 7): -2, (4, 8): -4, (5, 10): 2, (9, 10): -4, (9, 11): 2}

res = ising(h, J, verbose=True)
print(res)

This produced a server response that gave Grove a tummy upset. See attached.

The error message asks to post this as a pyQuil issue, but I figured I'd start here in case Grove is somehow at fault.

— Scott

badness.txt

@timasq
Copy link

timasq commented Aug 27, 2018

I have the same error when I try to run QAOA for large number of clauses (>30) even for steps=1 and 8 number of qubits. For small number of clauses there is no error.

— Tim

@amyfbrown amyfbrown self-assigned this Jan 4, 2019
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

No branches or pull requests

3 participants