Skip to content

Uni. ctrl. debugging and coverage - #5

Merged
WrathfulSpatula merged 2 commits into
upstream_qrack_integrationfrom
unictrl_debug
Jan 29, 2019
Merged

WrathfulSpatula merged 2 commits into
upstream_qrack_integrationfrom
unictrl_debug

Conversation

@WrathfulSpatula

Copy link
Copy Markdown
Member

This debugs and adds coverage for native simulator "uniformly controlled" rotation gates.

The problem was, "uniformly controlled" gates don't handle their control bits by the same mechanism as gates that use the "C()" meta gate.

This will be merged into the PR for upstream consideration. I am aware of no other bugs, at the moment. Once our coverage passes their requirements, this initial integration can be considered finished, from our end, as far as I am aware. Changes will made as necessary or as suggested by the master ProjectQ maintainers.

@WrathfulSpatula

Copy link
Copy Markdown
Member Author

Let's demonstrate that this actually passes with a nonzero control, on the CI, but I've already verified that it should.

@WrathfulSpatula
WrathfulSpatula merged commit 1c746a7 into upstream_qrack_integration Jan 29, 2019
@WrathfulSpatula
WrathfulSpatula deleted the unictrl_debug branch January 29, 2019 20:09
Comment thread .travis.yml
- if [ "${PYTHON:0:1}" = "3" ]; then pip$PY install dormouse; fi
- cd ../.. && git clone https://github.com/vm6502q/qrack.git
- cd qrack && mkdir _build && cd _build && cmake .. && sudo make install && cd ../.. && sudo rm -r qrack && cd ProjectQ-Framework/ProjectQ
- cd qrack && mkdir _build && cd _build && cmake .. && sudo make install && cd ../.. && sudo rm -r qrack && cd vm6502q/ProjectQ

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Any way this can be extrapolated into an environment variable or discovered from travis?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good question! I am trying to figure that out. It's an immediate priority, and I don't have many more left, for this.

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