This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
Merge remote-tracking branch 'origin/master' into swernli/decomp-merge-master #347
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Use a default target when submitting to Azure Quantum * Update doc comments * Move settings.Target null check to switch case Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
* Implemented friendly uri option in azure quantum. * Fixed tests. * Fixed tests after nerge conflict. Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Added execution test projects for various simulators. Added tests to check measurements on qubits work. Added tests for conditions on measurement results.
Changed the isGeneric method of the C# generation code to count the length of the type parameter list for a callable.
…Get packages. (#311) This change includes the following: - NuGet version is updated to 5.6 and the .Net Core SDK to 3.1.300. - The deprecated NuGet property IconUrl is replaced by an embedded icon in the packages themselves. - The asset used as an icon for the packages is a newly created graphic.
* Handle operations as arguments in GetNonQubitArgumentsAsString * Handle null values for IApplyData types
* EncourageReuse option in QubitManager. Currently Qubit Manager tries to reuse released qubits as soon as possible and prefers it to allocating fresh unused ones. This is good for some scenarios, however, in other scenarios it may be preferrable to first allocate fresh unused qubits, and only then try to reuse released ones (oldest released first). Both behaviors are now possible via a backwards-compatible optional parameter in QubitManager constructor. * Review feedback * .
* Fix asserts in QubitManager * Remove asserts from QubitManager
* Protect simulator accessors via shared lock This fixes an intermittent crash by putting shared locks around the access of the `psis` vector, where create and destroy use an exclusive lock of the same mutex Fixes #335 * Fix factory_test.hpp * Make sure returned ptr is the same one
* Fixing circuit in test_gates to be deterministic `test_gates` in capi_test.cpp had a low but non-zero chance of measuring One instead of Zero, resulting in a test crash due to assertion failure. This rearranges the instructions to ensure the test correctly unprepares the state so that measurement is as deterministic as possible. Fixes #262 * use a more interesting circuit
* Replaced the nullable member access with regular member access for C# generated Slice.
Fixes Code generation failure when mapping Q# namespaces to C# namespaces #46
bettinaheim
approved these changes
Aug 18, 2020
* Initial Q# API for new Random namespace * Consolidate RNG logic in SimulatorBase. * Consolidate RNG logic in Toffoli simulator as well. * Fix build errors. * Fix typo in previous commit. * Adapt namespaces in test project. * One more namespace fix. * Started some API documentation comments. * Add more API docs and tests. * Fix open statements. * Fix SampleNBits. * Update src/Simulation/Common/SimulatorBase.cs Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com> * Update src/Simulation/Common/SimulatorBase.cs Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com> * Update src/Simulation/QsharpCore/Random/Convienence.qs Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com> * Update src/Simulation/QsharpCore/Random/Types.qs Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com> * API docs, review feedback, more tests. * fixed typo * Added missing open. * Add another missing open. * Discrete → continuous * Split out intrinsic tests to avoid duplicated types. * Fix off by one error in unit tests. * Added a little bit more testing. * A bit more testing. * Avoid depending on Delay. * Break down tests a bit more. * Fix categorical tests. * Update src/Simulation/Simulators.Tests/TestProjects/IntrinsicTests/IntrinsicTests.csproj Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com> * Update src/Simulation/Simulators.Tests/TestProjects/IntrinsicTests/Random/Tests.qs Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com> * Update src/Simulation/Simulators.Tests/TestProjects/IntrinsicTests/Random/Tests.qs Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com> Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
16c3126 to
80a9c6d
Compare
…#350) Through a recent component governance audit we're extending the list of third party libraries used by components in this repository.
Co-authored-by: Bettina Heim <beheim@microsoft.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR just merges master into the feature branch to bring it up to date for further development.