Граф коммитов

110 Коммитов

Автор SHA1 Сообщение Дата
Mine Starks a943e7087a
Update versions to 0.28.302812 (#683) 2023-09-20 12:08:34 -07:00
Robin Kuzmin de631b7bff
->0.28.291394 (#680) 2023-08-01 22:14:35 -07:00
Robin Kuzmin b711a8cf57
0.28.277227 (#676) 2023-06-06 23:10:49 +00:00
Mine Starks 2214d89925
Update QDK version to 0.28.263081 (#666) 2023-03-30 10:21:44 -07:00
DmitryVasilevsky bc61b84c6c
Removing local resources estimator (#663)
* Removed more Resources Estimator tests

* Empty commit to rebuild

* Empty commit to rebuild

---------

Co-authored-by: Dmitry Vasilevsky <dmitryv@microsoft.com>
2023-03-15 10:15:47 -07:00
Scott Carda f7af9c2a95
updated to 0.27.258160 (#660) 2023-03-06 11:58:03 -08:00
Sarah Marshall 64409a1a16
Update to QDK version 0.27.253010 2023-01-31 09:34:25 -08:00
Robin Kuzmin 136afb2006
Switch to 0.27.244707. (#647) 2022-12-12 17:36:52 -08:00
Robin Kuzmin f3d64b6dfa
2022.10 Hotfix: Updated to 0.27.238334 (#643) 2022-10-28 21:17:58 -07:00
Robin Kuzmin 3a6b2ea3ef
Switch to QDK version 0.27.236950. (#642) 2022-10-26 01:02:31 -07:00
Ricardo Espinoza 60bc2f9376
Updating QDK version to 0.26.233415. (#634) 2022-10-10 13:42:48 -07:00
DmitryVasilevsky f29e03e74a
Updating QDK version to 0.25.228311 - August 2022 Release (#626)
Co-authored-by: Dmitry Vasilevsky <dmitryv@microsoft.com>
2022-09-09 18:09:31 -07:00
Ricardo Espinoza 3f661797f0
Updating QDK version to 0.25.222597. (#609) 2022-07-27 16:03:14 -07:00
Mathias Soeken 2117bf2850
Improves MultiplexOperations implementation (#599)
* Resource estimation tests.

* Improved implementation.

* Ergonomic changes.
2022-07-05 09:07:45 -07:00
Robin Kuzmin 0730cda6ee
Updated to the latest QDK. (#591) 2022-05-25 08:28:39 -07:00
Mathias Soeken 53fb7677b4
Fix #546. (#553) 2022-04-07 23:10:52 -07:00
Mathias Soeken c24686877a
Implements #442 (#552)
* Implements #442.

* Address reviewer feedback.
2022-04-06 23:34:41 -07:00
Ricardo Espinoza 9c209c2a52
Updating projects and other components to build 0.24.201332 (#548)
* Build 0.24.201332.
* Fixing QDK version in Notice.txt
2022-04-01 11:19:09 +00:00
Mathias Soeken 7d0f9f74e2
Some code simplification in amplitude amplification test. (#545) 2022-03-30 09:46:43 -07:00
Mathias Soeken fbbc600132
Fixes #367 (#541)
* Fixes #367.

* Apply suggestions from code review

Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>

* Addressing Mariia's comments.

Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>
2022-03-21 23:46:35 -07:00
Ricardo Espinoza ce280afaac
Adopt .NET6 + VS2022 in Quantum Development Kit (#542)
With this change, we're migrating the main release train of the QDK to the most recent Long Time Support version of the .NET framework. For details about this change, refer to the original issue microsoft/qsharp-compiler#1224.

As part of this change, we're:

- Re-targeting all .NetCoreApp3.1 binaries to .NET6.0
- Updating Docker images, samples and templates.
- Libraries using .NetStandard2.1 are not affected by this change.
- The minimum supported .NET version in the QDK will also be updated from 3.1 to 6.0
- The Visual Studio extension will now target Visual Studio 2022.
2022-03-17 15:25:05 -07:00
Mathias Soeken 76b7276505
Fixes #444 (#537)
* Fixes #444.

* Add other test.

* Update Standard/tests/QcvvTests.qs

Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>

Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>
2022-03-14 11:28:27 -07:00
Mathias Soeken 845decf507
Fix #511 for fixed point amplitude amplification (#525)
* Optimization and formatting.

* Use array API.

* Fix errors and add comments with refs to paper.

* Add corner case in conversion of rotation phases.

* Add test case.
2022-03-09 01:31:47 -08:00
Robin Kuzmin 45f7fa969e
Fixed the SDK version. (#536) 2022-03-09 02:04:40 +00:00
Mariia Mykhailova ba071beb5b
Fix formulas in PurifiedMixedState(WithData) (#534)
* Fix formulas in PurifiedMixedState(WithData)

This fixes #485.

* Update NuGet version.

Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
2022-03-03 01:39:24 -08:00
Mathias Soeken fed0fb5224
Fixes #527 (#528)
* Fixes #527.

* Update Standard/src/Convert/Convert.qs

Co-authored-by: Cassandra Granade <chgranad@microsoft.com>

Co-authored-by: Cassandra Granade <chgranad@microsoft.com>
2022-02-18 00:58:54 -08:00
Robin Kuzmin 8f485aa92f
Adapting for the QuantumSimulator change (#521) (#524)
* Adapting for the QuantumSimulator change (#521)
2022-02-16 20:02:38 -08:00
Mariia Mykhailova 6f41efc6fc
Updates to new array creation syntax (#517) 2022-02-03 23:26:06 -08:00
Mathias Soeken 9355ef23f4
Update to most recent version. (#516) 2022-02-03 04:53:17 -08:00
Mathias Soeken e9453841d8
Fixed typo. (#514) 2022-01-27 09:36:17 -08:00
Mathias Soeken 70285a23f8
Handle special case mod = 1 in ExpModI. (#513) 2022-01-18 07:24:12 -08:00
Guen Prawiroatmodjo 7141665b0f
Set RobustPhaseEstimation test tolerance to 0.02 (#510) 2022-01-12 11:46:09 -08:00
Cassandra Granade 98a8c82bae
Various small fixes to special functions (#508)
* Fixes #506, #505, and #503.

* Fix #500.

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>
2022-01-07 08:21:17 -08:00
Mathias Soeken 8bf2859b2f
Consistency in ApplyIf. (#482)
Fixes #377.
2021-09-21 12:35:00 +02:00
Mariia Mykhailova 102c2cf5f3
Several API docs improvements (#472)
* Typo fixes
* Add several remarks and cross-references
2021-07-16 15:09:46 -07:00
Chris Granade 5cb1f4323e
Update syntax to 0.17 and improve code quality. (#463)
* Remove long-deprecated stacks.

* Update Q# syntax and fix API documentation.

* Fix some warnings in C# code as well.

* Apply suggestions from code review

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>

* Fix version number.

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>
2021-05-28 19:16:58 -07:00
Chris Granade bdb147282e
Additional special functions in Microsoft.Quantum.Math. (#460)
* Add factorial functions for Int and BigInt. (#440)

* Add factorial functions for Int and BigInt.

* Update Standard/src/Math/Functions.qs

Co-authored-by: Chris Granade <cgranade@gmail.com>

* Update Standard/src/Math/Functions.qs

Co-authored-by: Chris Granade <cgranade@gmail.com>

* Update Standard/src/Math/Functions.qs

Thanks! I didn't now that.

Co-authored-by: Chris Granade <cgranade@gmail.com>

* Update Standard/src/Math/Functions.qs

Thanks! That's good to know.

Co-authored-by: Chris Granade <cgranade@gmail.com>

* Update Standard/src/Math/Functions.qs

Co-authored-by: Chris Granade <cgranade@gmail.com>

* Change factorialL to Double with new algorithem.

* update gitnore

don't allow test build configs

* Add zero condition.

* Add and Modify factorial functions

Added FactorialL function, improved error handling for FactorialD, minor spelling and formatting improvements for documentation.

* Add BigIntAsString

* Update .gitignore

* Update .gitnore to defualt

Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>

* Perf improvement for FactorialL, started unit tests.

* Added remaining special functions.

* Added remaining tests.

* Fix tests in special functions.

* Add HalfIntegerBinom.

* Use smaller test case.

* Use smaller test case.

* Apply suggestions from code review

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>

* Addressing feedback from @msoeken.

Co-authored-by: Justin Peter <justinhasanaccount@gmail.com>
Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>
2021-05-17 23:00:09 +00:00
Chris Granade 987a2670e8
Update to 0.16 and improve code quality. (#452)
* Update to 0.16 and improve code quality.

* Suggestion from code review.

* Apply suggestions from code review

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>

* Update Standard/src/AmplitudeAmplification/AmplitudeAmplification.qs

* Update Standard/src/AmplitudeAmplification/AmplitudeAmplification.qs

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>
2021-05-03 12:57:41 -07:00
Pallavi M P af7128c808
Make the DumpOperation operation Controllable and Adjointable (#349)
* Make the DumpOperation operation Controllable and Adjointable

* Update Standard/src/Diagnostics/Dump.qs formatting for readability

Co-authored-by: Chris Granade <cgranade@gmail.com>

* Update Standard/tests/Diagnostics/DumpTests.qs formatting for readability

Co-authored-by: Chris Granade <cgranade@gmail.com>

* Update Standard/src/Diagnostics/Internal.qs formatting for readability

Co-authored-by: Chris Granade <cgranade@gmail.com>

Co-authored-by: Pallavi Prashanth <pamarana@microsoft.com>
Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2021-04-22 20:11:25 +00:00
Mathias Soeken 7d8bbe487c
Loosen restriction on AllowAtMostNCallsCA operation (#431)
* Change signature.

* Add unit tests for new functionality

Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2021-03-25 16:40:27 +00:00
Chris Granade d759353409
Implement #406. (#417) 2021-02-18 09:22:11 +01:00
Chris Granade 8e8bf59b36
Implement #409 (#416)
* Update project files.

* Add derivation of commutator tables.

* Start implementing #409.

* Added placeholders for remaining API docs, functions.

* More unit tests.

* More API docs.

* Apply suggestions from code review

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>

* Address feedback and finish Action1C.

* Addressing feedback.

Co-authored-by: Mathias Soeken <mathias.soeken@microsoft.com>
2021-02-17 21:10:42 +00:00
Roope Salmi 6fa5e9af6b
Improve LocalUnivariateMinimum (#392)
LocalUnivariateMinimum now makes half as many calls to fn as before. See
associated issue. It now also reports the amount of calls made to the function,
which is checked in tests.

Resolves #286.

Co-authored-by: Chris Granade <chgranad@microsoft.com>
2021-02-11 04:45:39 +00:00
Mathias Soeken 472f8125c5
Iterative BitSizeL implementation (#404)
* Iterative BitSizeL implementation.

* Apply suggestions from code review

Co-authored-by: Chris Granade <chgranad@microsoft.com>

Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2021-02-03 08:26:56 +01:00
Dmytro Fedoriaka 958bca6c60
Add ApplyUnitary operation (#391)
* Initial commit

* Implement decomposition for 2x2 matrix

* Call C# code from Q#

* Apply suggestions from code review

* Finalize Q# part

* Implemented 2-level decomposition algorithm in C#

* Implemented 2-level decomposition algorithm in C#

* Made it work on 2x2 matrices

* Cleanup

* Fix line lengths.

* line break

* Apply suggestions from code review

Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Mathias Soeken <mathias.soeken@gmail.com>

* Apply suggestions from code review

Co-authored-by: Mathias Soeken <mathias.soeken@gmail.com>

* Apply suggestions from code review

Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Mathias Soeken <mathias.soeken@gmail.com>

* Address code review.

* Small fixes in QS code

* Handled corner cases and added a test

* Remove a comma

* Rename test

* Grammar.

* Format

* Apply recommendations from code review

* Small fix

Co-authored-by: Chris Granade <cgranade@gmail.com>
Co-authored-by: Mathias Soeken <mathias.soeken@gmail.com>
2021-01-14 07:54:19 +01:00
Chris Granade 860c2fe7fd
Slight improvements to error handling in TestPurifiedMixedState. (#397) 2021-01-13 11:42:03 -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
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