Skip to content

[Missing API] Added BigIntAsBoolArray #1047

Merged
swernli merged 4 commits into
microsoft:mainfrom
filipw:feature/BoolArrayAsBigInt_b
Jan 22, 2024
Merged

[Missing API] Added BigIntAsBoolArray #1047
swernli merged 4 commits into
microsoft:mainfrom
filipw:feature/BoolArrayAsBigInt_b

Conversation

@filipw
Copy link
Copy Markdown
Contributor

@filipw filipw commented Jan 19, 2024

There currently exist the following std lib functions in the Microsoft.Quantum.Convert namespace:

  • BoolArrayAsInt
  • IntAsBoolArray
  • BigIntAsBoolArray

However, BoolArrayAsBigInt is missing (and it used to exist in the old QDK too).
I think it makes sense, for completeness sake, to have it here as well, so this PR introduces it.

I also added a test for BigIntAsBoolArray as it did not have an associated test.

@sezna
Copy link
Copy Markdown
Contributor

sezna commented Jan 21, 2024

Once this branch is updated from main, it should pass now that #1050 is in.

@filipw
Copy link
Copy Markdown
Contributor Author

filipw commented Jan 22, 2024

@sezna it didn't work, I think it's because the promise escapes the try-catch block - #1056

Comment thread .github/workflows/ci.yml
@swernli swernli added this pull request to the merge queue Jan 22, 2024
Merged via the queue into microsoft:main with commit abb087e Jan 22, 2024
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.

3 participants