Mathias Soeken
9ef1786a53
Optimization and formatting in amplitude amplification ( #522 )
...
* Optimization and formatting.
* Use array API.
* Update Standard/src/AmplitudeAmplification/AmplitudeAmplification.qs
Co-authored-by: Cassandra Granade <chgranad@microsoft.com>
Co-authored-by: Cassandra Granade <chgranad@microsoft.com>
2022-02-14 21:49:10 -08:00
Mariia Mykhailova
8e8ee17e90
Add namespace summaries and descriptions. ( #519 )
2022-02-05 11:16:04 -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
Mariia Mykhailova
c61ac3571c
Fix formula in Fold documentation ( #495 )
...
Added `...` indicating multiple function applications to match `...` indicating multiple arguments.
2021-12-01 11:08:54 -08:00
Mariia Mykhailova
7f26adf023
Clarify remark and add sample for Subarray ( #493 )
2021-11-09 11:24:55 -08:00
Mathias Soeken
878614a3a7
Change syntax with respect to grammar. ( #487 )
2021-09-29 18:45:33 +02:00
Mariia Mykhailova
8352240cf5
Fix broken links to API docs ( #484 )
...
@"" style of links doesn't work if the reference is in lowercase.
Includes fixing broken formulas in PurifiedMixedState.
2021-09-21 20:27:25 -07:00
Mathias Soeken
8bf2859b2f
Consistency in ApplyIf. ( #482 )
...
Fixes #377 .
2021-09-21 12:35:00 +02:00
Mariia Mykhailova
1450396357
Add namespace info to several namespaces ( #475 )
...
Also makes _ReflectionOracleFromDeterministicStateOracle internal, following the example of #470 .
2021-08-04 22:02:17 +00:00
Borris-the-real-OG
b8fd6fef4a
Fix API docs for MeasureInteger ( #469 )
...
Removed reference to removed operation MeasureIntegerBE
2021-08-04 17:26:41 +00:00
Mathias Soeken
e6807e7427
Fixes #346 . ( #473 )
...
* Fixes #346 .
* Apply suggestions from code review
Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>
* Apply suggestions from code review
Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>
2021-07-19 18:05:26 +02:00
Mathias Soeken
988a9ee37f
Fixes #326 . ( #474 )
2021-07-19 10:41:21 +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
Mariia Mykhailova
77dd9fe97f
Fix API docs for MultiplyAndAddByModularInteger ( #466 )
2021-06-16 22:48:07 -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
Mariia Mykhailova
43f42d47a5
Improve API documentation for ApplyUnitary ( #446 )
...
* Add usage sample
* Render the formulas in description as formulas or Unicode
2021-04-21 11:44:05 -07:00
Stefan J. Wernli
4309f78d00
Work around for compiler QIR generaiton issue ( #443 )
2021-04-12 23:10:04 +00:00
Mariia Mykhailova
6e11411f8a
Use xref for links to conceptual docs ( #437 )
2021-03-29 11:17:04 -07:00
Chris Granade
58a8b1eb35
Fix xrefs and other code warnings. ( #435 )
...
* Fix warnings (esp. broken xref).
* Update Standard/src/AmplitudeAmplification/CommonOracles.qs
2021-03-25 13:25:57 -07: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
Angela Burton
98bd606e15
Fix broken documentation links ( #434 )
...
* fix links
* fix more links
* fix file
* fix file
2021-03-24 17:36:42 -07:00
Filip W
4536628992
fixed invalid documentation reference ( #422 )
2021-03-03 02:18:43 +00:00
Mariia Mykhailova
29192992da
Fix PrepareArbitraryStateD API documentation ( #420 )
...
The API documentation is taken from deprecated StatePreparationPositiveCoefficients (adjusted for the new operation signature).
This fixes #384 .
2021-03-02 18:52:03 +01: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
Mathias Soeken
40de0df216
Address optimization in ApplyObliviousAmplitudeAmplification ( #415 )
...
* Fixes #414 .
* Update some deprecated names.
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
2021-02-11 19:55:32 +01: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
gillenhaalb
5931336af2
Fix MultiplyAndAddByModularInteger ( #396 )
...
Fixed typo and added clarifications of registers
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2021-02-04 16:09:10 -08: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
Chris Granade
c7bfa6cad4
```Q# → ```qsharp ( #402 )
2021-01-27 12:02:41 -08:00
Stefan J. Wernli
27c447aed9
Adding explicit reference to Qsharp.Core package ( #401 )
...
With the ongoing refactor of the qsharp-runtime repo to support target packages, the Microsoft.Quantum.Simulators package no longer automatically brings in the Microsoft.Quantum.QSharp.Core package, so projects need to explicitly add that reference if they are have suppressed loading of the core package via `IncludeQsharpCorePackages` set to false. See microsoft/qsharp-runtime#476 , which this change will help unblock.
2021-01-21 17:18:30 -08:00
Mathias Soeken
47330f5abe
Temporarily expose private body-intrinsic function as public private-name API ( #400 )
...
* Use public modifier.
* Prefix name with underscore.
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
2021-01-19 19:02:17 +01:00
Mathias Soeken
77231157a0
Ignore negative keepCoeff. ( #399 )
...
Co-authored-by: Mathias Soeken <masoeken@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2021-01-15 18:51:58 +01:00
Langdon Holly
2e74cb3992
Docs: result from ModulusI or ModulusL is non-negative ( #389 )
...
Co-authored-by: Mathias Soeken <mathias.soeken@outlook.com>
2021-01-15 12:30:04 +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
Langdon Holly
f3999ab71a
Fix "positive"s that should be "non-negative"s in comments ( #388 )
2021-01-05 08:00:31 +01:00
Chris Granade
544c48b2cc
Minor improvements to C# code quality. ( #378 )
...
* Minor improvements to C# code quality.
* Fix CI build and address feedback.
* Fix CS0106.
* Avoid patterns when type known exactly.
2020-11-25 11:54:07 -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
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
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
Mathias Soeken
c4f69418a5
Various additions and improvements to Microsoft.Quantum.Arrays ( #330 )
2020-09-23 23:23:18 +00: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
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
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
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
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
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
Mathias Soeken
06ede4d5a0
Namespace info.
2020-06-17 14:15:52 +02:00
Mathias Soeken
4f2aa9a3ea
Apply single transposition to state-vector ( #267 )
...
* First draft for transformation-based synthesis based on sample.
* Cleanup code.
* Cleanup code.
* Apply suggestions from code review
Co-authored-by: Chris Granade <chgranad@microsoft.com>
* Address other review comments and operation name.
* Use LittleEndian in signature.
* Documentation.
* Fix header.
* First draft for ApplyTransposition.
* Check input parameters.
* Docs and assertions.
* Apply suggestions from code review
Co-authored-by: Chris Granade <chgranad@microsoft.com>
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2020-06-16 18:47:58 +02:00
Mariia Mykhailova
89976d2e95
Fix typos in API documentation and code comments ( #256 )
2020-06-15 11:14:18 -07:00
Mathias Soeken
2cee8ed1dc
Transformation-based synthesis to apply state-vector permutation ( #264 )
...
* First draft for transformation-based synthesis based on sample.
* Cleanup code.
* Cleanup code.
* Apply suggestions from code review
Co-authored-by: Chris Granade <chgranad@microsoft.com>
* Address other review comments and operation name.
* Use LittleEndian in signature.
* Documentation.
* Fix header.
* Check input parameters.
Co-authored-by: Chris Granade <chgranad@microsoft.com>
2020-06-13 10:11:01 +02:00
Giulia Meuli
199b96f204
Fixing a typo. ( #259 )
...
Co-authored-by: Giulia Meuli <giulia.meuli@epfl.ch>
2020-06-03 19:08:30 +02:00
Christopher Granade
fa00dc1acf
Use beta from qsharp-runtime.
2020-05-12 16:45:29 -07:00
Christopher Granade
de8734b948
Remove Reset.qs, move to qsharp-runtime.
2020-05-12 15:44:13 -07:00
Chris Granade
55df270929
Convert _ functions and operations to use new access modifiers, remove 6-month deprecated callables. ( #240 ) ( #246 )
2020-05-12 15:37:13 -07:00
Chris Granade
2a985e89b4
Provide named items for Fraction and BigFraction. ( #242 )
2020-05-06 15:06:40 -07:00
Chris Granade
1a76287623
Merge branch 'master' into patch-2
2020-03-10 10:27:30 -07:00
bettinaheim
445feb72d5
updating to 3.1 ( #238 )
2020-03-09 20:36:13 -07:00
Chris Granade
ca2f44ecab
Merge branch 'master' into patch-2
2020-03-09 11:48:26 -07:00
Mariia Mykhailova
985c52167e
Add examples/tests of different types
2020-03-03 11:01:40 -08:00
Mariia Mykhailova
e6a78c0a24
Apply suggestions from Chris's code review
...
Co-Authored-By: Chris Granade <chgranad@microsoft.com>
2020-03-03 10:52:58 -08:00
Mariia Mykhailova
a4b1093063
Add function EqualA for testing array equality
2020-03-02 14:08:35 -08:00
dhanaji.more
6d2e54fbb6
Update API documentation for All ( #230 )
2020-02-28 08:58:17 -08:00
Chris Granade
f7f357b65e
Merge branch 'master' into patch-2
2020-02-26 10:59:15 -08:00
Kitty Yeung
73bdd0d662
Moved the added example to above the source code
2020-02-25 08:53:53 -08:00
Chris Granade
8706abea60
Slightly refactor bias updating to make TrainSequentialClassifierAtModel easier to use from C#. ( #235 )
2020-02-23 14:55:15 -08:00
Chris Granade
1feae2db7c
Merge branch 'feature/qml' into cgranade/use-udt-perf
2020-02-21 18:10:16 -08:00
Christopher Granade
61d5e4f4da
Cache state preparation using BoundCA.
2020-02-21 17:59:16 -08:00
Chris Granade
86712bdf7e
Addressing feedback from @bettinaheim. ( #233 )
2020-02-21 10:28:37 -08:00
bettinaheim
398220683f
Merge branch 'master' into feature/qml
2020-02-20 13:20:17 -08:00
Chris Granade
1c44a2a3d7
Merge branch 'master' into patch-2
2020-02-20 11:50:21 -08:00
Akshob Gopalakrishna
1aeb00f3ae
Update Standard/src/Arrays/Any.qs
...
Co-Authored-By: Chris Granade <cgranade@gmail.com>
2020-02-19 21:15:35 -08:00
Akshob Gopalakrishna
b5d8242539
Update Standard/src/Arrays/Any.qs
...
Co-Authored-By: Chris Granade <cgranade@gmail.com>
2020-02-19 21:15:27 -08:00