Andres Paz
1cc8a86b94
Setting KV task to v1 ( #379 )
2020-11-20 10:50:02 -08:00
Chris Granade
f7ee333763
Feature/state preparation ( #376 )
...
* Cleanup in M.Q.Preparation (#315 )
* Cleanup QuantumROM.
* Cleanup uniform superposition.
* Cleanup quantum ROM.
* Clean-up arbitrary state preparation.
* Cleanup remaining files.
* Fix bug in QuantumROM.
* Fix error.
* Revert name due to #239 .
* Apply suggestions from code review
Co-authored-by: Chris Granade <chgranad@microsoft.com>
* Addressing reviewer comments.
* Docs.
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
* Fix namespace.
* Extend PurifiedMixedState for additional data preparation (#322 )
* Squashed commit of the following:
commit 984156791d
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Mon Aug 31 10:41:17 2020 +0200
Fix bug in QuantumROM.
commit 9726ff2597
Merge: 58d428ed
0b02a6a5
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Mon Aug 31 09:49:43 2020 +0200
Merge branch 'master' into msoeken/state-preparation-cleanup
commit 58d428ed64
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Thu Aug 27 11:59:12 2020 +0200
Cleanup remaining files.
commit b35222ab85
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Thu Aug 27 11:54:33 2020 +0200
Clean-up arbitrary state preparation.
commit e8076f770f
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Wed Aug 26 09:31:17 2020 +0200
Cleanup quantum ROM.
commit 860c0ab12a
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Wed Aug 26 09:21:21 2020 +0200
Cleanup uniform superposition.
commit b94ec8c2dc
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Tue Aug 25 15:56:26 2020 +0200
Cleanup QuantumROM.
* Remove duplicate code and reduce T-count.
* Cleanup.
* Squashed commit of the following:
commit cb77faa385
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Mon Aug 31 16:46:12 2020 +0200
Fix error.
commit 984156791d
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Mon Aug 31 10:41:17 2020 +0200
Fix bug in QuantumROM.
commit 9726ff2597
Merge: 58d428ed
0b02a6a5
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Mon Aug 31 09:49:43 2020 +0200
Merge branch 'master' into msoeken/state-preparation-cleanup
commit 58d428ed64
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Thu Aug 27 11:59:12 2020 +0200
Cleanup remaining files.
commit b35222ab85
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Thu Aug 27 11:54:33 2020 +0200
Clean-up arbitrary state preparation.
commit e8076f770f
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Wed Aug 26 09:31:17 2020 +0200
Cleanup quantum ROM.
commit 860c0ab12a
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Wed Aug 26 09:21:21 2020 +0200
Cleanup uniform superposition.
commit b94ec8c2dc
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Tue Aug 25 15:56:26 2020 +0200
Cleanup QuantumROM.
* Squashed commit of the following:
commit cde7c0cdad
Author: Mathias Soeken <masoeken@microsoft.com>
Date: Mon Aug 31 16:34:40 2020 +0200
Unzipped function.
* Preparing function and tests for QuantumROM with signed coefficients.
* Further unification.
* Ineffecient way of creating sign bit.
* Embed sign computation in multiplex.
* Picking changes from #212 .
* Changes from #212 .
* Generalize.
* Generalize data register.
* Unifying signatures.
* Use UDT for PurifiedState.
* Docs and cleanup.
* Incoprate API changes.
* Fix bug on Mac.
* Make public because of #239 .
* Add deprecated functions.
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
* Implement last changes from #344 (#375 )
* Implemented changes from #344 review.
* Ported signed quantum ROM test to use WithData.
* Made AssertSignedProbInt internal until #337 .
* Apply suggestions from code review
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
* Apply suggestions from code review
Co-authored-by: Guen P <guenp@microsoft.com>
* Apply suggestions from code review
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
Co-authored-by: Guen P <guenp@microsoft.com>
2020-11-18 13:13:01 -08:00
Irina Yatsenko
ae29d5ff90
Add _PrepareAmplitudesFromZeroState that allows state injection on Quantum Simulator ( #370 )
2020-11-17 17:21:00 -08:00
Chris Granade
78f4b0ed05
Review notes for combined Oct/Nov meeting. ( #368 )
...
* Review notes for combined Oct/Nov meeting.
* Update Design/meetings/2020/api-design-2020-11-05.md
Co-authored-by: Guen P <guenp@microsoft.com>
* Update Design/meetings/2020/api-design-2020-11-05.md
Co-authored-by: Guen P <guenp@microsoft.com>
Co-authored-by: Guen P <guenp@microsoft.com>
2020-11-13 08:32:01 -08:00
bettinaheim
eec61bc3ce
Adapting to API update in qsharp-runtime/#370 ( #363 )
2020-11-04 21:28:59 -08:00
Ryan Shaffer
e7fb6ef053
Build 0.13.2010.2604. ( #364 )
...
Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>
Co-authored-by: Andres Paz <anpaz@microsoft.com>
2020-11-04 14:15:37 -08:00
Andres Paz
1218ec1f9d
signing for magic ( #362 )
2020-10-30 07:54:46 +00:00
Irina Hristova
50dd29b7c8
Update unit tests to use @Test attribute ( #350 )
...
* Update tests using the @Test attribute.
* Update tests using the @Test() attribute.
* Flip actual and expected.
* Update Standard/tests/Math/OperatorFunctionTests.qs
Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
2020-10-29 23:15:50 -07:00
Andres Paz
0a84a07d72
Missed dll for signing ( #361 )
2020-10-28 20:52:33 -07:00
Andres Paz
2fc255bf0e
Update manifest for signed builds ( #357 )
2020-10-27 00:51:03 -07:00
Chris Granade
ac2e60b3d8
Merge work on new documentation generation tool into main. ( #354 )
...
* Add metadata needed for improved documentation generation (#342 )
* Fix documentation warnings (#353 )
2020-10-21 08:49:33 -07:00
Irina Hristova
543b2402a5
Fix #278 CX truth table ( #345 )
...
* Update CommonGates.qs
* Update Standard/src/Canon/CommonGates.qs
* Update Standard/src/Canon/CommonGates.qs
Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Mathias Soeken <mathias.soeken@gmail.com>
Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
2020-10-20 09:43:23 +02:00
Mathias Soeken
481e363528
Fix #347 . ( #348 )
...
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2020-10-17 19:10:51 +02:00
Ryan Shaffer
ab760b7ea2
Add links to PyPI package descriptions ( #352 )
2020-10-16 05:53:27 -07:00
Ryan Shaffer
9888bbb072
Add PrivateAssets="All" to IQ# package reference ( #351 )
2020-10-15 13:01:29 -07:00
Mathias Soeken
c4f69418a5
Various additions and improvements to Microsoft.Quantum.Arrays ( #330 )
2020-09-23 23:23:18 +00:00
Chris Granade
fdd6b964c1
Add API design notes from 10 September 2020. ( #328 )
2020-09-19 18:11:59 -07:00
Andres Paz
827554ed66
End-to-end build ( #325 )
2020-09-16 23:03:05 -07:00
Mathias Soeken
b802b254b7
Improved assertion for PrepareUniformSuperposition ( #324 )
...
* Improved assertion.
* Clarifying remark on adjointable call.
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
2020-09-08 20:32:18 +02:00
Mathias Soeken
687692d75a
Fix several warnings ( #323 )
...
* Fix warnings.
* Fix #317 .
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
2020-09-08 17:15:20 +02:00
Sarah Marshall
0b02a6a57b
Update C# callable implementations to use new naming conventions ( #316 )
...
* Build 0.12.2008.24007.
* Update callable overrides
* Build 0.12.2008.2515.
Co-authored-by: Sarah Marshall <samarsha@microsoft.com>
2020-08-28 14:59:28 -07:00
Chris Granade
505fc27383
Improvements to M.Q.Diagnostics namespace ( #302 ) ( #314 )
2020-08-21 16:25:57 +00:00
Raphael Koh
e8ecbc0bf7
Add custom GetRuntimeMetadata for CX, CY, and CZ ( #310 )
...
* Add custom GetRuntimeMetadata for CX, CY, and CZ
* Clean up code
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2020-08-18 20:50:25 -04:00
Chris Granade
26ae8b963f
Improvements to Microsoft.Quantum.Random namespace ( #311 )
...
* Move Fact and Contradiction to runtime.
* Avoid using Random without System.
* Deprecate existing random operations and avoid using stubs.
* One more Random → System.Random.
* Fixing a few build issues.
* Update to beta with qsharp-runtime improvements.
2020-08-18 14:30:49 -07:00
Andres Paz
144c3fb103
Tweak tests to decrease their duration ( #308 )
2020-08-10 19:27:31 +00:00
Chris Granade
0a8522d490
Added design meeting notes from 2020-07-24. ( #305 )
...
* Added design meeting notes from 2020-07-24.
* Add missing note.
* Apply suggestions from code review
Co-authored-by: Guen P <guenp@microsoft.com>
* Added attendee handles.
Co-authored-by: Guen P <guenp@microsoft.com>
2020-08-06 13:59:20 -07:00
Mathias Soeken
36e8246d85
Update feature request possibilities in README ( #307 )
2020-08-06 08:45:33 -07:00
Mathias Soeken
1c8620c10c
Fixes bug in CDKM adder ( #303 )
...
* Enable and cleanup integer tests.
* Fix bug in CDKM adder.
2020-08-04 20:15:33 +02:00
Kartik Singhal
4da27d2460
Correct URL for standard library ( #301 )
2020-07-30 17:47:22 +02:00
Mathias Soeken
c0e3d34d41
Small fixes. ( #299 )
2020-07-27 16:25:53 +00:00
Raphael Koh
12afc64bd2
Implement GetRuntimeMetadata method for `ApplyToEach` and variants and `ForEach` ( #296 )
...
* Override ApplyToEach GetRuntimeMetadata
* Build 0.12.2007.2301.
* Implement GetRuntimeMetadata for ForEach
* Get base RuntimeMetadata
* Add null check
* Empty commit to retrigger CI
Co-authored-by: Project Collection Build Service (ms-quantum) <>
2020-07-24 19:25:41 -04:00
Andres Paz
0db888d7f8
Port chemistry Python library to QuantumLibraries ( #293 )
2020-07-23 00:00:31 -07:00
Ryan Shaffer
1600e05fec
Disable .snupkg generation for Metapackage ( #298 )
...
* Disable snupkg for Metapackage
* Empty commit to re-trigger CI build
* Empty commit to re-trigger CI build
2020-07-20 15:09:43 -07:00
Ricardo Espinoza
5f8579c07e
Replacing icon for packages that were missed in the recent asset update. ( #297 )
...
As a continuation of #295 , replacing the icon for three packages that were missed in the original asset update.
2020-07-18 11:06:44 -07:00
Ricardo Espinoza
43b770badf
Replacing deprecated IconUrl with Icon and updating the assets for NuGet packages. ( #295 )
...
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.
2020-07-15 10:29:53 -07:00
Mathias Soeken
101b7dfaba
Simulate ApplyAnd and ApplyLowDepthAnd classically ( #292 )
2020-07-06 16:55:40 +00:00
Chris Granade
50d1844b8f
Move NoOp, IndexRange to qsharp-runtime. ( #290 )
2020-06-25 23:03:15 +00:00
Mathias Soeken
52e4c10a90
Apply permutation to state-vector with decomposition based synthesis ( #277 )
...
* Merge ControlledXOnTruthTable from other branch.
* First implementation of decomposition based synthesis.
* Merge other branch.
* Code clean-up.
* Docs and refactoring.
* Refactoring.
* Insert white space.
* Docs.
* Add diagnostic pre-conditions.
* Unify tests.
* Custom variable order.
* Fix a big with BigInt conversion.
* Q# style.
* Test with custom variable order.
* Apply suggestions from code review
Co-authored-by: Chris Granade <chgranad@microsoft.com>
* Fix examples in docs.
* Addressing comments from Chris.
* Clarification on variable order.
* Explanation for DecomposedOn.
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2020-06-25 17:57:08 +02:00
Andres Paz
84732161ce
Creating Chemistry Metapackage ( #285 )
...
* pack
* chemistry metapackage.
* -exit
* feedback
Co-authored-by: Christopher Granade <cgranade@cgranade.com>
2020-06-24 12:19:24 -07:00
Chris Granade
e9e5fe6a95
Addressing feedback on conversion tool. ( #288 )
2020-06-24 07:18:31 +00:00
Chris Granade
fc24b3ef5f
Chemistry data conversion tool ( #280 )
2020-06-24 00:09:17 +00:00
Chris Granade
13b49100ae
Add Repeat and DrawMany operations. ( #276 )
2020-06-19 18:14:16 +00:00
Chris Granade
eb6c073e7f
Add new automerge action. ( #281 )
...
* Add new automerge action.
This PR adds a new GitHub Action that automatically merges in pull requests that pass checks and reviews, using the "automerge" label.
* Set automerge kind to squash.
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
2020-06-19 10:22:27 -07:00
Mathias Soeken
eeb59eb437
Apply X controlled on truth table ( #271 )
...
* Initial version, adjusted from samples.
* Random tests.
* Op is self-adjoint, use R1Frac.
* Clean target variant.
* Controlled variants.
* Fix test, and small comments from review.
* Chris' comments #2 .
* Docs.
* Fix bug.
* Apply review comments.
* Update Standard/src/Synthesis/ControlledOnTruthTable.qs
Co-authored-by: Chris Granade <chgranad@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2020-06-19 08:56:35 +02:00
Chris Granade
7d3f96ae7f
Fix #262 . ( #273 )
2020-06-18 17:06:48 -07:00
Bradben
d997370a3a
minor copyedits from external contributor ( #257 )
...
Co-authored-by: Chris Granade <chgranad@microsoft.com>
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
2020-06-18 16:28:12 +02:00
Chris Granade
e20855578f
Merge pull request #275 from microsoft/msoeken/synthesis-namespace
...
Namespace info for synthesis namespace
2020-06-17 10:14:05 -07:00
Chris Granade
ffb1b5d679
Merge branch 'master' into msoeken/synthesis-namespace
2020-06-17 08:46:55 -07:00
Chris Granade
bb75af3caa
Merge pull request #274 from microsoft/cgranade/fix-261
...
Fix #261 .
2020-06-17 08:36:12 -07:00
Mathias Soeken
06ede4d5a0
Namespace info.
2020-06-17 14:15:52 +02:00