Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@theRoughCode
Copy link
Contributor

@theRoughCode theRoughCode commented Jul 16, 2020

There is a bug in GetNonQubitArgumentsAsString where arguments of Qubit array types (and QVoid) produced a stack overflow. That happened because IQArray matches IApplyData instead of the Qubit type. This PR fixes this by adding a check to see if the given arguments is of the type IEnumerable<Qubit> (or QVoid).

@theRoughCode theRoughCode requested review from anpaz and cgranade July 16, 2020 16:52
@theRoughCode theRoughCode self-assigned this Jul 16, 2020
@anpaz anpaz merged commit 08ae4a4 into master Jul 16, 2020
@theRoughCode theRoughCode deleted the raphael/qubit-args branch July 24, 2020 00:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants