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

Fix #256. - #257

Merged
Cassandra Granade (cgranade) merged 15 commits into
masterfrom
cgranade/fix-256
Jun 25, 2020
Merged

Fix #256.#257
Cassandra Granade (cgranade) merged 15 commits into
masterfrom
cgranade/fix-256

Conversation

@cgranade

Copy link
Copy Markdown
Contributor

This PR fixes #256 by simplifying random sampling logic and by fixing the case in which the sampled element should have been the last one in the categorical distribution.

@cgranade
Cassandra Granade (cgranade) deleted the cgranade/fix-256 branch June 25, 2020 21:34
Yury Sudzilouski (yusudz) added a commit that referenced this pull request Jul 9, 2020
* Extends #257 (fixing #256) to QuantumProcessorDispatcher sim as well

* Pulled SampleDistribution method out to shared utils

Co-authored-by: Yury Sudzilouski <v-yusudz@microsoft.com>
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.

Random - Should this be zero-indexed?

3 participants