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

Add CI for tests #13

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Add CI for tests #13

wants to merge 17 commits into from

Conversation

josh146
Copy link
Member

@josh146 josh146 commented Dec 28, 2020

No description provided.

@josh146
Copy link
Member Author

josh146 commented Dec 28, 2020

Tests are currently failing with

module 'qsharp' has no attribute 'clients'

🤔

@josh146
Copy link
Member Author

josh146 commented Dec 29, 2020

Update: more tests are now passing. The failing tests seem to be a combination of:

     self.measure += self._observable_map[e.name].format(wires=device_wires.tolist())
E   ValueError: Single '}' encountered in format string
 /github/home/.local/lib/python3.7/site-packages/pennylane/_device.py:290: in execute
    self.post_apply()
/github/home/.local/lib/python3.7/site-packages/pennylane_qsharp/device.py:145: in post_apply
    self.qs = qsharp.compile(self._source_code)
/usr/local/lib/python3.7/site-packages/qsharp/__init__.py:60: in compile
    for op in client.compile(code)
E   TypeError: 'NoneType' object is not iterable

as well as a few stochastic failures.

Edit: tests take 2.5 hours to run 😱

@antalszava
Copy link
Contributor

[ch2856]

@PennyLaneAI PennyLaneAI deleted a comment from shortcut-integration bot Jan 15, 2021
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