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

Conversation

@cgranade
Copy link
Contributor

@cgranade cgranade commented Aug 12, 2020

This PR implements the proposal in microsoft/QuantumLibraries#304 as part of the QSharpCore project for dependency ordering, and makes changes to simulators needed to adapt to the new API. As a part of that work, this PR also consolidates random number generation logic into SimulatorBase, so that random seeds can be set in a more uniform fashion.

This PR is open for early feedback only. Work deferred to future PR:

  • unit testing (and more bug testing in general)
  • API documentation
  • Add Q# APIs for uniform distribution over BigInt, normal distribution over Complex

Copy link
Member

@msoeken msoeken left a comment

Choose a reason for hiding this comment

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

Great to see these improvements to the M.Q.Random namespace, thanks. Left some comments for now

Copy link
Member

@msoeken msoeken left a comment

Choose a reason for hiding this comment

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

Some more comments on the most recent changes. These are very nice tests!

cgranade and others added 5 commits August 18, 2020 09:26
…trinsicTests.csproj

Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
…ndom/Tests.qs

Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
…ndom/Tests.qs

Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
@cgranade cgranade changed the title [WIP] Improvements to Microsoft.Quantum.Random namespace Improvements to Microsoft.Quantum.Random namespace Aug 18, 2020
@cgranade cgranade marked this pull request as ready for review August 18, 2020 16:33
@cgranade
Copy link
Contributor Author

Some more comments on the most recent changes. These are very nice tests!

Thank you for your feedback, and for your kind words!

@cgranade cgranade requested a review from msoeken August 18, 2020 18:03
Copy link
Member

@msoeken msoeken left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

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