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

55 Коммитов

Автор SHA1 Сообщение Дата
Mine Starks 2214d89925
Update QDK version to 0.28.263081 (#666) 2023-03-30 10:21:44 -07:00
Scott Carda f7af9c2a95
updated to 0.27.258160 (#660) 2023-03-06 11:58:03 -08:00
Robin Kuzmin 0c394a3f4b
Upgraded "Microsoft.NET.Test.Sdk" and "xunit.runner.visualstudio". (#657) 2023-02-23 17:27:20 -08:00
Robin Kuzmin 196faf9475
Fixing the undesirable dependencies issue for qdk. (#656)
* Migrated to net6.0.
2023-02-06 19:22:08 -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
Robin Kuzmin 0730cda6ee
Updated to the latest QDK. (#591) 2022-05-25 08:28:39 -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
Mariia Mykhailova dd2c4caae7
Update CI build settings to use .NET6 (#543) 2022-03-21 15:07:04 -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
IsraelMiles 24a7baccdc
update project name to not include date (#507) 2022-01-05 20:06:08 -07:00
Chris Granade 7a4383f705
Disable generating API documentation from unit test projects. (#433) 2021-03-24 18:55:14 +00: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 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
Andres Paz 827554ed66
End-to-end build (#325) 2020-09-16 23:03:05 -07: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
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
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
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
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 fc24b3ef5f
Chemistry data conversion tool (#280) 2020-06-24 00:09:17 +00:00
Chris Granade dd2505a10b
Fix typo in build script. (#250) 2020-05-12 20:03:23 -07:00
Chris Granade 793e4662b5
Add assembly manifest to libraries. (#249) 2020-05-12 16:27:35 -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
Christopher Granade d2de0e08e4 Merge branch 'master' into master→qml 2020-02-11 15:33:42 -08:00
Chris Granade dc9f97621d
Fixed QsharpDocsOutputPath property in build.ps1. (#222) 2020-02-05 15:11:03 -08:00
Chris Granade 1e626e737b
Update all projects to 0.10.2001.2831. (#223) 2020-02-05 13:55:59 -08:00
Christopher Granade c66bd7d218 Fix build properties to use latest QDK version. 2020-02-03 09:29:45 -08:00
Christopher Granade 0ba232721b Merge branch 'master' into cgranade/master→qml 2020-01-17 17:42:31 -08:00
Chris Granade 3e1e4619e6
Simplify gradient estimation and classifier structure generation (#200)
* Clarify the restriction on the number of bits for IntAsBoolArray (#171)

* Clarify the restriction on the number of bits for IntAsBoolArray

This should fix #166 by providing a more specific error message.

* Update Standard/src/Convert/Convert.qs

Co-Authored-By: Chris Granade <chgranad@microsoft.com>

* Allow to have bits = 0

Looks like our tests assume that number = 0 with bits = 0 is a valid scenario; updating the change to account for that

* Package updates (#188)

* Quantum AND gates (a.k.a. CCNOT with constant target) (#186)

* Two AND gate implementations.

* Added test case.

* Formatting.

* Code formatting.

* Update Standard/src/Canon/And.qs

Co-Authored-By: Chris Granade <chgranad@microsoft.com>

* Assertion for 0-target.

* Added DOI to references.

* Named application for CCNOTop.

* Rename operations.

* Add Test attribute.

* Add links to arXiv.

* Rename operations.

* Better assertion for 0-target.

* Fix bug in LowDepthAnd.

* Docs.

* Doc string convention.

* Controlled variant for `ApplyAnd`.

* Controlled AndLowDepth.

* Adjoint Controlled LowDepthAnd.

* References.

* Simplify code.

* Apply suggestions from code review

Co-Authored-By: Chris Granade <chgranad@microsoft.com>

* Integrate comment.

* Removed comment ref to IncrementByIntegerPhaseLE (#189)

There appears to be no function IncrementByIntegerPhaseLE, and I guess it is covered by ApplyLEOperationOnPhaseLE.

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

* New Hadamard and SWAP test operations. (#196)

* First work on Hadamard and SWAP test operations.

* (c) header and typo fix.

* Fixed typo with placement of phase shift.

* Put public operations above private.

* Added tests for new operations.

* Added API documentation comments.

* Newline at end of file.

* Refactor AA namespace to use Q# style guide (#197)

* Began simplifying AA interface.

* Expose traditional AA as new public operation.

* Removed rest of "AmpAmp" prefix.

* Resolve deprecation warning.

* Begin moving classifier structure creation to Q#.

* Moving example datasets into new namespace.

* Fix datasets used in layered structure demo.

* Fixed bug with cyclic entangling layer.

* Use new Hadamard test operation to simplify grad est.

* Simplify input encoder logic.

* Removed layer construction methods moved out to Q#.

* Revised name of approximate input encoder.

* Removed unused interop library.

* Update pack script for new layout.

* Addressing feedback.

Co-authored-by: Mariia Mykhailova <michaylova@gmail.com>
Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Co-authored-by: Mathias Soeken <mathias.soeken@gmail.com>
Co-authored-by: numpde <21158052+numpde@users.noreply.github.com>
2020-01-13 11:39:44 -08:00
Chris Granade 67cd36914e
Update QML feature to master. (#198)
* Clarify the restriction on the number of bits for IntAsBoolArray (#171)

* Clarify the restriction on the number of bits for IntAsBoolArray

This should fix #166 by providing a more specific error message.

* Update Standard/src/Convert/Convert.qs

Co-Authored-By: Chris Granade <chgranad@microsoft.com>

* Allow to have bits = 0

Looks like our tests assume that number = 0 with bits = 0 is a valid scenario; updating the change to account for that

* Package updates (#188)

* Quantum AND gates (a.k.a. CCNOT with constant target) (#186)

* Two AND gate implementations.

* Added test case.

* Formatting.

* Code formatting.

* Update Standard/src/Canon/And.qs

Co-Authored-By: Chris Granade <chgranad@microsoft.com>

* Assertion for 0-target.

* Added DOI to references.

* Named application for CCNOTop.

* Rename operations.

* Add Test attribute.

* Add links to arXiv.

* Rename operations.

* Better assertion for 0-target.

* Fix bug in LowDepthAnd.

* Docs.

* Doc string convention.

* Controlled variant for `ApplyAnd`.

* Controlled AndLowDepth.

* Adjoint Controlled LowDepthAnd.

* References.

* Simplify code.

* Apply suggestions from code review

Co-Authored-By: Chris Granade <chgranad@microsoft.com>

* Integrate comment.

* Removed comment ref to IncrementByIntegerPhaseLE (#189)

There appears to be no function IncrementByIntegerPhaseLE, and I guess it is covered by ApplyLEOperationOnPhaseLE.

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

* New Hadamard and SWAP test operations. (#196)

* First work on Hadamard and SWAP test operations.

* (c) header and typo fix.

* Fixed typo with placement of phase shift.

* Put public operations above private.

* Added tests for new operations.

* Added API documentation comments.

* Newline at end of file.

* Refactor AA namespace to use Q# style guide (#197)

* Began simplifying AA interface.

* Expose traditional AA as new public operation.

* Removed rest of "AmpAmp" prefix.

* Resolve deprecation warning.

* Switching to using the new Sdk (#194)

* Minor doc fixes (#190)

* Minor doc fixes

* Minor doc cleanup

There are probably still some unstated assumptions on the algorithms.

* Add "# Description" for MultiplyByModularInteger

...because there is inline math.

Co-Authored-By: Chris Granade <cgranade@gmail.com>

* "unitary operation" instead of "unitary operator"

Co-Authored-By: Chris Granade <cgranade@gmail.com>

* Add "# Description", remove refs in "# Summary"

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

* Fix build by updating QML projects to use SDK.

Co-authored-by: Mariia Mykhailova <michaylova@gmail.com>
Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Co-authored-by: Mathias Soeken <mathias.soeken@gmail.com>
Co-authored-by: numpde <21158052+numpde@users.noreply.github.com>
2020-01-08 13:56:24 -08:00
bettinaheim 1e645cc7ed
Switching to using the new Sdk (#194) 2020-01-03 22:28:16 -08:00
Chris Granade 3e0517d6e2
Merge branch 'master' into feature/qml 2019-11-22 10:28:14 -08:00
Chris Granade 837c896844 Added initial pre-commit settings. (#92) 2019-11-21 16:24:31 -08:00
Chris Granade 7f626735f6 Merged PR 2339: Initial development on QML library.
This PR represents joint with with @Alex Bocharov, and begins open development on a quantum machine learning library.
2019-11-15 00:49:48 +00:00
bettinaheim 7fafdb7db8 Updating to .NET Core 3.0 (#163)
* starting to update to .net core 3.0 (standard.sln builds)

* left the iQ# core unupdated, but everything builds again

* ... and I forgot to adapt the build steps

* 0.9 iQ# version

* Bump version to 0.10. (#165)

* Update Jupyter.Core to 3.0 compatible version.
2019-10-16 12:58:27 -07:00
Andres Paz deddc06378
Preparing for 0.8 release (#137)
* QuantumSimulator API names cleanup. (#127)

* Migrating to script-based build. (#132)

* Enhancing logging in build scripts. (#135)

* Making sure EstimateFrequencyA respects the random seed for its BinomailDistribution.

* Updating qdk to latest version
2019-07-19 12:10:51 -07:00
Chris Granade 42849db47c
Add new skip tests variable. (#124)
* Add new skip tests variable.

* Debugging.

* Remove default from YAML to avoid overriding at queue-time.

* Removed debugging and allow skipping magic tests as well.

* Fixed syntax error.

* Fixed one slight deprecation.
2019-06-21 10:45:42 -07:00
Andres Paz de2dccd7e8
Merging release 0.7.1905.3109 into master (#123)
* Begin refactoring standard libraries (#39)

* Began splitting up namespaces.

* Began refactoring tests.

* Updated chemistry src and tests for new namespaces.

* Remove unused opens.

* Began renaming operations and functions.

* Separated out and updated ApplyReversed*.

* Updated BE ↔ LE type conversions.

* Added new transformed operation fns.

* Whitespace fix

* Eliminated some redundant code in applyreversed

* Fixed deprecation comments.

* Began working on refactoring With.

* Refactored With further.

* More renaming for consistency with LE/BE suffix convention.

* Added Zip3, Zip4

* Added shorthand for MAJ and updated some type conv.

* Fixed a typo in Zip4.

* Separated out and updated arithmetic measurements.

* Other minor maintenance changes.

* Started separating out modular arithmetic.

* Began refactoring ripple-carry comparators.

* Refactored integer increment operations.

* Fixed some See Also blocks.

* Some minor progress.

* Moved new arithmetic functionality into right folders.

* Renamed integer arithmetic namespaces.

* Split out qecc namespace.

* Added documentation file for Microsoft.Quantum.ErrorCorrection.

* Progress on renaming type conversion functions.

* More progress on updating type conversion names.

* Split out AA namespace.

* Split out oracles namespace as well.

* Renamed UDTs to remove "AmpAmp" prefix.

This prefix is now implied by the Microsoft.Quantum.AmplitudeAmplification namespace.

* Renamed some Qecc operations/fns

* Moved more conversions into Convert.qs.

* Updated some deprecated syntax.

* Split out M.Q.Convert.

* Added missing open stmt.

* Started separating out classical math.

* Began separating out QCVV.

* Fixing namespaces in tests.

* Update to use new docgen.

* Began making arrays namespace.

* Updated to use new arrays and diagnostics namespaces.

* Updated names for claims

* Started extracting measurements from Paulis.qs.

* Updated namespaces in tests as well.

* Updating chemistry for most recent changes.

* Added ForEach, used to simplify measurements.

* Updating deprecated Q# syntax.

* Minor fix for XML error.

* Fixed infinite recursion in deprecation stubs.

* Started trying to reduce # of warnings.

* Fixed some minor build errors.

* Resolved a couple TODOs.

* Removed BigEndian support.

* Resolved warnings due to && and ||.

* Update Standard/src/Arithmetic/Shorthand.qs

Co-Authored-By: cgranade <cgranade@gmail.com>

* Addressing feedback.

* Claim → Fact

* Moved MeasureInteger back to Microsoft.Quantum.Arithmetic.

* Resolved more deprecated syntax.

* Removed one more LE suffix.

* Addressing feedback.

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Chemistry library v0.7 (#58)

* Add UCC to Broombridge + tests

* Add Broombridge version converter

* test

* WIP

* Add typed Broombridge interface

* Add LiH unit test

* Clean up LoadData from Broombridge

* More UCC parsing

* More tests

* Begin implementing UCC on Q# side

* WIP

* Add Q# UCC PQ, PQQR, PQRS

* Integrating with statePreparation routine

* UCCSD integration complete. Now for unit tests.

* bug

* Add up-down index convention option

* Add Broombridge `Current` version class

* Fix test error

* Config file WIP

* .

* .

* Add simulation configuration file

* Complete documentation

* More tests

* LadderOperator

* Refactor

* Complete FermionTerm Refactor

* More cleanup

* Add UCC system test

* Complete merge from master

* typos

* .

* Fix build error

* Add HermitianFermionTermType

* Add Hamiltonian generic class

* Add Term/Hamiltonian Conversion class

* Remove Int64

* Add orbital integral to fermion Hamiltonian

* Update Chemistry/src/DataModel/ConfigurationFile.cs

Co-Authored-By: guanghaolow <guanghaolow@gmail.com>

* Update Chemistry/src/DataModel/ConfigurationFile.cs

Co-Authored-By: guanghaolow <guanghaolow@gmail.com>

* Break up Broombridge class

* Begin state prep modularization

* More tests

* Some reorganization of extensions class

* Clean up FermionTerm constructors

* Cleanup

* Restore Broombridge

* .

* Addresses most of chris' comments

* Cgranade/complete 0.6 move (#57)

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Complete move of standard library refactoring to release branch

This reverts commit 058048983c.

* Fix null allocation of empty LadderSequence constructor

* Restore LiQuiD

* Clean up SpinOrbital code

* Reintroduce JordanWignerEncoding

* Add generic TermValue interface for Hamiltonians with more complex term indexing

* Separate namespaces

* More namespace update

* Restore JordanWigner test

* Update Chemistry/src/DataModel/FermionHamiltonianStatePrep.cs

Co-Authored-By: guanghaolow <guanghaolow@gmail.com>

* More cleanup

* Addresses some of Chris comments, rest in followup PR

* Complete merge

* .

* Fix infinite loop due to implicit operator casting

* Almost restore all tests

* .

* Passes all tests.

* Update to 0.5.1903.2902

* Some helper functions

* Addresses most of Chris' comments

* Complete merge from v0.5

* Adding Jupyter

* Add fermion Hamiltonian python interop

* Add more magic

* Serialization of Hamiltonians. (#62)

* Adding Jupyter Magic for chemistry v2 (#63)

* Clean up json encoding for chemistry magic (#67)

* Small but important UCCSD bug fix (#68)

* Small but important UCCSD bug fix
Reviewed by Andres.

* Fixes the iq# crash that was preventing us to call iq# for `add_terms` and `encode` (#70)

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Adding tests

* Change Assembly.Version to Python.Version. (#64)

* Prevent loading Q# modules when Python client is busy.

* Fixing iq# crash; adding logging to packages

* End to end sample working

* Triggering new build.

* Adding reference to simulators otherwise build complains of missing reference

* Updating to newtonsoft 12.0.1 to be aligned with latest IQ#

* Prevent loading Q# modules when Python client is busy. (#71)

* Prevent loading Q# modules when Python client is busy.
* Linux build failed with some unrelated problem. Committing.

* Updating versions of json and yaml to match Q# (#76)

Updating to latest QDK too.

* Fix UCCSD PQRS sign bug (#97)

* Fix UCCSD PQRS sign bug

* Addresses Chris' comments

* Update release/v0.7 to v0.6 syntax (#100)

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Adding tests

* Change Assembly.Version to Python.Version. (#64)

* Prevent loading Q# modules when Python client is busy. (#71)

* Prevent loading Q# modules when Python client is busy.
* Linux build failed with some unrelated problem. Committing.

* modifying contructor calls for QArray in preparation for a simulation framework change (#78)

* Release v0.6 to master. (#98)

* Begin refactoring standard libraries (#39)

* Began splitting up namespaces.

* Began refactoring tests.

* Updated chemistry src and tests for new namespaces.

* Remove unused opens.

* Began renaming operations and functions.

* Separated out and updated ApplyReversed*.

* Updated BE ↔ LE type conversions.

* Added new transformed operation fns.

* Whitespace fix

* Eliminated some redundant code in applyreversed

* Fixed deprecation comments.

* Began working on refactoring With.

* Refactored With further.

* More renaming for consistency with LE/BE suffix convention.

* Added Zip3, Zip4

* Added shorthand for MAJ and updated some type conv.

* Fixed a typo in Zip4.

* Separated out and updated arithmetic measurements.

* Other minor maintenance changes.

* Started separating out modular arithmetic.

* Began refactoring ripple-carry comparators.

* Refactored integer increment operations.

* Fixed some See Also blocks.

* Some minor progress.

* Moved new arithmetic functionality into right folders.

* Renamed integer arithmetic namespaces.

* Split out qecc namespace.

* Added documentation file for Microsoft.Quantum.ErrorCorrection.

* Progress on renaming type conversion functions.

* More progress on updating type conversion names.

* Split out AA namespace.

* Split out oracles namespace as well.

* Renamed UDTs to remove "AmpAmp" prefix.

This prefix is now implied by the Microsoft.Quantum.AmplitudeAmplification namespace.

* Renamed some Qecc operations/fns

* Moved more conversions into Convert.qs.

* Updated some deprecated syntax.

* Split out M.Q.Convert.

* Added missing open stmt.

* Started separating out classical math.

* Began separating out QCVV.

* Fixing namespaces in tests.

* Update to use new docgen.

* Began making arrays namespace.

* Updated to use new arrays and diagnostics namespaces.

* Updated names for claims

* Started extracting measurements from Paulis.qs.

* Updated namespaces in tests as well.

* Updating chemistry for most recent changes.

* Added ForEach, used to simplify measurements.

* Updating deprecated Q# syntax.

* Minor fix for XML error.

* Fixed infinite recursion in deprecation stubs.

* Started trying to reduce # of warnings.

* Fixed some minor build errors.

* Resolved a couple TODOs.

* Removed BigEndian support.

* Resolved warnings due to && and ||.

* Update Standard/src/Arithmetic/Shorthand.qs

Co-Authored-By: cgranade <cgranade@gmail.com>

* Addressing feedback.

* Claim → Fact

* Moved MeasureInteger back to Microsoft.Quantum.Arithmetic.

* Resolved more deprecated syntax.

* Removed one more LE suffix.

* Addressing feedback.

* Cgranade/complete 0.6 move (#57)

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Complete move of standard library refactoring to release branch

This reverts commit 058048983c.

* Explicitly qualify all names in M.Q.Ext.Math. (#74)

* Explicitly qualify all names in M.Q.Ext.Math.

* Fixed two missing qualified names.

* Removed more occurances of M.Q.Ext.Math.

* Removed Microsoft.Quantum.Extensions.Math from tests as well.

* Reverted slight change to QuantumROM.

* New array functions (#75)

* Added new IndexRange function to eliminate `-1` in for loops.

* Added some missing open statements.

* New Enumerated function.

* Port library and test code to new 0.6 names to reduce warning count. (#72)

* Updating to use new syntax, namespace names, etc.

* More primitive → intrinsic.

* Updated test project to use beta version.

* Updated chemistry proiects to beta.

* Finding a few more calls to deprecated fns.

* Cleaned up some assert and qcvv tests.

* Removed uses of deprecated IntArrayFromRange

* Resolved some more deprecated functions and ops.

* Minor maintenance in QubitizationTests.

* Bumped versions to latest beta.

* Some trivial change to retrigger build.

* Resolved package downgrade.

* Move Microsoft.Quantum.Math.Complex UDT and resolve Microsoft.Quantum.Diagnostics deprecation stubs. (#77)

* More primitive → intrinsic.

* Finding a few more calls to deprecated fns.

* Resolved some more deprecated functions and ops.

* Minor maintenance in QubitizationTests.

* Bumped versions to latest beta.

* Resolved package downgrade.

* Use Complex UDT at its new name.

* Adapted tests.

* A few more test adaptations.

* Updated name of AssertQubitState to 0.6 name.

* Fixes to chemistry.

* Getting updates from master (#80)

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Adding tests

* Change Assembly.Version to Python.Version. (#64)

* Prevent loading Q# modules when Python client is busy. (#71)

* Prevent loading Q# modules when Python client is busy.
* Linux build failed with some unrelated problem. Committing.

* modifying contructor calls for QArray in preparation for a simulation framework change (#78)

* Revert "Revert "Begin refactoring standard libraries (#39)" (#56)"

This reverts commit 058048983c.

* Update to 0.6.1904.1302-beta. (#81)

* Update to 0.6.1904.1302-beta.

* Removed deprecation warnings for Microsoft.Quantum.Math.

* Resolved a few more deprecations.

* Resolved a few more deprecation warnings.

* A few more deprecation resolutions.

* Removed some duplicate namespace opens.

* Slight code cleanup.

* Addressed feedback from @bettinaheim.

* Standard.sln builds again, Standard.sln builds (#84)

* Gulow/v0.6 chemistry deprecation (#82)

* Update to 0.6.1904.1302-beta.

* Removed deprecation warnings for Microsoft.Quantum.Math.

* Resolved a few more deprecations.

* Resolved a few more deprecation warnings.

* A few more deprecation resolutions.

* Removed some duplicate namespace opens.

* Slight code cleanup.

* Update test

* .

* Remove deprecated operations from chemistry and dependencies.

* Fix comments

* Update to use 0.65 syntax from latest beta. (#87)

* Ported stateprep.qs to 0.65 syntax.

* Fixed deprecation in test.

* Updated to latest beta.

* Fix mutable array issue in chemistry data model. (#88)

* Explicitly call new QArray. (#89)

* do not rely on collections.immutable (#93)

* Continue migrating libraries to Q# 0.6 (#91)

* Continue migrating to 0.65 syntax and applying style guidance.

* A bit more progress normalizing private names.

* Resolved more deprecated syntax, updated a name.

* Resolved some more syntax warnings.

* Ported more syntax and updated more names.

* Resolved all remaining compile-time warnings in Standard.

* Addressed all Q#-level compile-time warnings in chem.

* Migrated a bit more syntax and updated to newest beta.

* Moved to using intrinsic warnings.

* Fixed endianness of exact QFT.

* Fixed Microsoft.Quantum.Warnings.

* Addressing @bettinaheim's feedback.

* Removed some warnings in unit tests.

* Adding DocsOutDir for single doc output location across projects. (#94)

* Adding DocsOutDir for single doc output location across projects.

* Begin adding more classical math functions for BigInt. (#96)

* Begin adding more classical math functions for BigInt.

* Addressing @beheim's feedback.

* Minor fixes.

* Bump to latest beta.

* Fixed two minor bugs.

* Fixed the type of signs.

* Bump version to released packages.

* Merge from v0.6

* Merge from latest release/v0.7

* Update Jupyter component to v0.6

* Using IndexRange per suggestion.

* Update depecrated use of InverseMod. (#99)

* Removing pending warnings from tests (#101)

* Adding a seed to LiH simulation tests to make sure the test results are deterministic

* Cleaning up build magic file.

* Adding python wrapper for chemistry library. (#83)

* Add user agent and mock client to Python. (#108)

* Add user agent and mock client to Python.

* Addressing feedback.

* Fix warnings in chemistry 0.7 features. (#107)

* Port binomial sampling logic from NumPy to C# emulation. (#106)

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Adding tests

* Change Assembly.Version to Python.Version. (#64)

* Prevent loading Q# modules when Python client is busy. (#71)

* Prevent loading Q# modules when Python client is busy.
* Linux build failed with some unrelated problem. Committing.

* modifying contructor calls for QArray in preparation for a simulation framework change (#78)

* Release v0.6 to master. (#98)

* Begin refactoring standard libraries (#39)

* Began splitting up namespaces.

* Began refactoring tests.

* Updated chemistry src and tests for new namespaces.

* Remove unused opens.

* Began renaming operations and functions.

* Separated out and updated ApplyReversed*.

* Updated BE ↔ LE type conversions.

* Added new transformed operation fns.

* Whitespace fix

* Eliminated some redundant code in applyreversed

* Fixed deprecation comments.

* Began working on refactoring With.

* Refactored With further.

* More renaming for consistency with LE/BE suffix convention.

* Added Zip3, Zip4

* Added shorthand for MAJ and updated some type conv.

* Fixed a typo in Zip4.

* Separated out and updated arithmetic measurements.

* Other minor maintenance changes.

* Started separating out modular arithmetic.

* Began refactoring ripple-carry comparators.

* Refactored integer increment operations.

* Fixed some See Also blocks.

* Some minor progress.

* Moved new arithmetic functionality into right folders.

* Renamed integer arithmetic namespaces.

* Split out qecc namespace.

* Added documentation file for Microsoft.Quantum.ErrorCorrection.

* Progress on renaming type conversion functions.

* More progress on updating type conversion names.

* Split out AA namespace.

* Split out oracles namespace as well.

* Renamed UDTs to remove "AmpAmp" prefix.

This prefix is now implied by the Microsoft.Quantum.AmplitudeAmplification namespace.

* Renamed some Qecc operations/fns

* Moved more conversions into Convert.qs.

* Updated some deprecated syntax.

* Split out M.Q.Convert.

* Added missing open stmt.

* Started separating out classical math.

* Began separating out QCVV.

* Fixing namespaces in tests.

* Update to use new docgen.

* Began making arrays namespace.

* Updated to use new arrays and diagnostics namespaces.

* Updated names for claims

* Started extracting measurements from Paulis.qs.

* Updated namespaces in tests as well.

* Updating chemistry for most recent changes.

* Added ForEach, used to simplify measurements.

* Updating deprecated Q# syntax.

* Minor fix for XML error.

* Fixed infinite recursion in deprecation stubs.

* Started trying to reduce # of warnings.

* Fixed some minor build errors.

* Resolved a couple TODOs.

* Removed BigEndian support.

* Resolved warnings due to && and ||.

* Update Standard/src/Arithmetic/Shorthand.qs

Co-Authored-By: cgranade <cgranade@gmail.com>

* Addressing feedback.

* Claim → Fact

* Moved MeasureInteger back to Microsoft.Quantum.Arithmetic.

* Resolved more deprecated syntax.

* Removed one more LE suffix.

* Addressing feedback.

* Cgranade/complete 0.6 move (#57)

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Complete move of standard library refactoring to release branch

This reverts commit 058048983c.

* Explicitly qualify all names in M.Q.Ext.Math. (#74)

* Explicitly qualify all names in M.Q.Ext.Math.

* Fixed two missing qualified names.

* Removed more occurances of M.Q.Ext.Math.

* Removed Microsoft.Quantum.Extensions.Math from tests as well.

* Reverted slight change to QuantumROM.

* New array functions (#75)

* Added new IndexRange function to eliminate `-1` in for loops.

* Added some missing open statements.

* New Enumerated function.

* Port library and test code to new 0.6 names to reduce warning count. (#72)

* Updating to use new syntax, namespace names, etc.

* More primitive → intrinsic.

* Updated test project to use beta version.

* Updated chemistry proiects to beta.

* Finding a few more calls to deprecated fns.

* Cleaned up some assert and qcvv tests.

* Removed uses of deprecated IntArrayFromRange

* Resolved some more deprecated functions and ops.

* Minor maintenance in QubitizationTests.

* Bumped versions to latest beta.

* Some trivial change to retrigger build.

* Resolved package downgrade.

* Move Microsoft.Quantum.Math.Complex UDT and resolve Microsoft.Quantum.Diagnostics deprecation stubs. (#77)

* More primitive → intrinsic.

* Finding a few more calls to deprecated fns.

* Resolved some more deprecated functions and ops.

* Minor maintenance in QubitizationTests.

* Bumped versions to latest beta.

* Resolved package downgrade.

* Use Complex UDT at its new name.

* Adapted tests.

* A few more test adaptations.

* Updated name of AssertQubitState to 0.6 name.

* Fixes to chemistry.

* Getting updates from master (#80)

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Adding tests

* Change Assembly.Version to Python.Version. (#64)

* Prevent loading Q# modules when Python client is busy. (#71)

* Prevent loading Q# modules when Python client is busy.
* Linux build failed with some unrelated problem. Committing.

* modifying contructor calls for QArray in preparation for a simulation framework change (#78)

* Revert "Revert "Begin refactoring standard libraries (#39)" (#56)"

This reverts commit 058048983c.

* Update to 0.6.1904.1302-beta. (#81)

* Update to 0.6.1904.1302-beta.

* Removed deprecation warnings for Microsoft.Quantum.Math.

* Resolved a few more deprecations.

* Resolved a few more deprecation warnings.

* A few more deprecation resolutions.

* Removed some duplicate namespace opens.

* Slight code cleanup.

* Addressed feedback from @bettinaheim.

* Standard.sln builds again, Standard.sln builds (#84)

* Gulow/v0.6 chemistry deprecation (#82)

* Update to 0.6.1904.1302-beta.

* Removed deprecation warnings for Microsoft.Quantum.Math.

* Resolved a few more deprecations.

* Resolved a few more deprecation warnings.

* A few more deprecation resolutions.

* Removed some duplicate namespace opens.

* Slight code cleanup.

* Update test

* .

* Remove deprecated operations from chemistry and dependencies.

* Fix comments

* Update to use 0.65 syntax from latest beta. (#87)

* Ported stateprep.qs to 0.65 syntax.

* Fixed deprecation in test.

* Updated to latest beta.

* Fix mutable array issue in chemistry data model. (#88)

* Explicitly call new QArray. (#89)

* do not rely on collections.immutable (#93)

* Continue migrating libraries to Q# 0.6 (#91)

* Continue migrating to 0.65 syntax and applying style guidance.

* A bit more progress normalizing private names.

* Resolved more deprecated syntax, updated a name.

* Resolved some more syntax warnings.

* Ported more syntax and updated more names.

* Resolved all remaining compile-time warnings in Standard.

* Addressed all Q#-level compile-time warnings in chem.

* Migrated a bit more syntax and updated to newest beta.

* Moved to using intrinsic warnings.

* Fixed endianness of exact QFT.

* Fixed Microsoft.Quantum.Warnings.

* Addressing @bettinaheim's feedback.

* Removed some warnings in unit tests.

* Adding DocsOutDir for single doc output location across projects. (#94)

* Adding DocsOutDir for single doc output location across projects.

* Begin adding more classical math functions for BigInt. (#96)

* Begin adding more classical math functions for BigInt.

* Addressing @beheim's feedback.

* Minor fixes.

* Bump to latest beta.

* Fixed two minor bugs.

* Fixed the type of signs.

* Bump version to released packages.

* Update depecrated use of InverseMod. (#99)

* Removing pending warnings from tests (#101)

*  changed assembly name for tests project.

* First version of  binomial sampling portect from NumPy.

* Support for signed build. (#105)

* Support for signed build.

* Removign extra quote.

* Emulate frequency estimation (#109)

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Adding tests

* Change Assembly.Version to Python.Version. (#64)

* Prevent loading Q# modules when Python client is busy. (#71)

* Prevent loading Q# modules when Python client is busy.
* Linux build failed with some unrelated problem. Committing.

* modifying contructor calls for QArray in preparation for a simulation framework change (#78)

* Release v0.6 to master. (#98)

* Begin refactoring standard libraries (#39)

* Began splitting up namespaces.

* Began refactoring tests.

* Updated chemistry src and tests for new namespaces.

* Remove unused opens.

* Began renaming operations and functions.

* Separated out and updated ApplyReversed*.

* Updated BE ↔ LE type conversions.

* Added new transformed operation fns.

* Whitespace fix

* Eliminated some redundant code in applyreversed

* Fixed deprecation comments.

* Began working on refactoring With.

* Refactored With further.

* More renaming for consistency with LE/BE suffix convention.

* Added Zip3, Zip4

* Added shorthand for MAJ and updated some type conv.

* Fixed a typo in Zip4.

* Separated out and updated arithmetic measurements.

* Other minor maintenance changes.

* Started separating out modular arithmetic.

* Began refactoring ripple-carry comparators.

* Refactored integer increment operations.

* Fixed some See Also blocks.

* Some minor progress.

* Moved new arithmetic functionality into right folders.

* Renamed integer arithmetic namespaces.

* Split out qecc namespace.

* Added documentation file for Microsoft.Quantum.ErrorCorrection.

* Progress on renaming type conversion functions.

* More progress on updating type conversion names.

* Split out AA namespace.

* Split out oracles namespace as well.

* Renamed UDTs to remove "AmpAmp" prefix.

This prefix is now implied by the Microsoft.Quantum.AmplitudeAmplification namespace.

* Renamed some Qecc operations/fns

* Moved more conversions into Convert.qs.

* Updated some deprecated syntax.

* Split out M.Q.Convert.

* Added missing open stmt.

* Started separating out classical math.

* Began separating out QCVV.

* Fixing namespaces in tests.

* Update to use new docgen.

* Began making arrays namespace.

* Updated to use new arrays and diagnostics namespaces.

* Updated names for claims

* Started extracting measurements from Paulis.qs.

* Updated namespaces in tests as well.

* Updating chemistry for most recent changes.

* Added ForEach, used to simplify measurements.

* Updating deprecated Q# syntax.

* Minor fix for XML error.

* Fixed infinite recursion in deprecation stubs.

* Started trying to reduce # of warnings.

* Fixed some minor build errors.

* Resolved a couple TODOs.

* Removed BigEndian support.

* Resolved warnings due to && and ||.

* Update Standard/src/Arithmetic/Shorthand.qs

Co-Authored-By: cgranade <cgranade@gmail.com>

* Addressing feedback.

* Claim → Fact

* Moved MeasureInteger back to Microsoft.Quantum.Arithmetic.

* Resolved more deprecated syntax.

* Removed one more LE suffix.

* Addressing feedback.

* Cgranade/complete 0.6 move (#57)

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Complete move of standard library refactoring to release branch

This reverts commit 058048983c.

* Explicitly qualify all names in M.Q.Ext.Math. (#74)

* Explicitly qualify all names in M.Q.Ext.Math.

* Fixed two missing qualified names.

* Removed more occurances of M.Q.Ext.Math.

* Removed Microsoft.Quantum.Extensions.Math from tests as well.

* Reverted slight change to QuantumROM.

* New array functions (#75)

* Added new IndexRange function to eliminate `-1` in for loops.

* Added some missing open statements.

* New Enumerated function.

* Port library and test code to new 0.6 names to reduce warning count. (#72)

* Updating to use new syntax, namespace names, etc.

* More primitive → intrinsic.

* Updated test project to use beta version.

* Updated chemistry proiects to beta.

* Finding a few more calls to deprecated fns.

* Cleaned up some assert and qcvv tests.

* Removed uses of deprecated IntArrayFromRange

* Resolved some more deprecated functions and ops.

* Minor maintenance in QubitizationTests.

* Bumped versions to latest beta.

* Some trivial change to retrigger build.

* Resolved package downgrade.

* Move Microsoft.Quantum.Math.Complex UDT and resolve Microsoft.Quantum.Diagnostics deprecation stubs. (#77)

* More primitive → intrinsic.

* Finding a few more calls to deprecated fns.

* Resolved some more deprecated functions and ops.

* Minor maintenance in QubitizationTests.

* Bumped versions to latest beta.

* Resolved package downgrade.

* Use Complex UDT at its new name.

* Adapted tests.

* A few more test adaptations.

* Updated name of AssertQubitState to 0.6 name.

* Fixes to chemistry.

* Getting updates from master (#80)

* Revert "Begin refactoring standard libraries (#39)" (#56)

As Chris pointed out, reverting these breaking changes until we have a chance to change everything...

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Adding tests

* Change Assembly.Version to Python.Version. (#64)

* Prevent loading Q# modules when Python client is busy. (#71)

* Prevent loading Q# modules when Python client is busy.
* Linux build failed with some unrelated problem. Committing.

* modifying contructor calls for QArray in preparation for a simulation framework change (#78)

* Revert "Revert "Begin refactoring standard libraries (#39)" (#56)"

This reverts commit 058048983c.

* Update to 0.6.1904.1302-beta. (#81)

* Update to 0.6.1904.1302-beta.

* Removed deprecation warnings for Microsoft.Quantum.Math.

* Resolved a few more deprecations.

* Resolved a few more deprecation warnings.

* A few more deprecation resolutions.

* Removed some duplicate namespace opens.

* Slight code cleanup.

* Addressed feedback from @bettinaheim.

* Standard.sln builds again, Standard.sln builds (#84)

* Gulow/v0.6 chemistry deprecation (#82)

* Update to 0.6.1904.1302-beta.

* Removed deprecation warnings for Microsoft.Quantum.Math.

* Resolved a few more deprecations.

* Resolved a few more deprecation warnings.

* A few more deprecation resolutions.

* Removed some duplicate namespace opens.

* Slight code cleanup.

* Update test

* .

* Remove deprecated operations from chemistry and dependencies.

* Fix comments

* Update to use 0.65 syntax from latest beta. (#87)

* Ported stateprep.qs to 0.65 syntax.

* Fixed deprecation in test.

* Updated to latest beta.

* Fix mutable array issue in chemistry data model. (#88)

* Explicitly call new QArray. (#89)

* do not rely on collections.immutable (#93)

* Continue migrating libraries to Q# 0.6 (#91)

* Continue migrating to 0.65 syntax and applying style guidance.

* A bit more progress normalizing private names.

* Resolved more deprecated syntax, updated a name.

* Resolved some more syntax warnings.

* Ported more syntax and updated more names.

* Resolved all remaining compile-time warnings in Standard.

* Addressed all Q#-level compile-time warnings in chem.

* Migrated a bit more syntax and updated to newest beta.

* Moved to using intrinsic warnings.

* Fixed endianness of exact QFT.

* Fixed Microsoft.Quantum.Warnings.

* Addressing @bettinaheim's feedback.

* Removed some warnings in unit tests.

* Adding DocsOutDir for single doc output location across projects. (#94)

* Adding DocsOutDir for single doc output location across projects.

* Begin adding more classical math functions for BigInt. (#96)

* Begin adding more classical math functions for BigInt.

* Addressing @beheim's feedback.

* Minor fixes.

* Bump to latest beta.

* Fixed two minor bugs.

* Fixed the type of signs.

* Bump version to released packages.

* Update depecrated use of InverseMod. (#99)

* Removing pending warnings from tests (#101)

*  changed assembly name for tests project.

* First version of  binomial sampling portect from NumPy.

* Implementing EstimateFrequency emulation.

* Using new binomial sampling.

* Updating QDK packages to 0.7-beta

* Correct EstimateFrequencyA implementation

* Tests for emulated estimate frequency.

* Fixed typo in binomial sampling algo.

* Update Standard/src/Characterization/EstimateFrequency.qs

* Fixing test.

* Added more tests of EstFreqA.

* Most of wavefunction framework; cleanup Broombridge; Generic ladder operators. (#66)

* Generic ladder opes & Broombridge organization

* Fixing tests

* Update LiQuiD deserialization

* Fixing tests WIP

* Magic compiles

* Add H2 tests

* Passes all tests except Json

* Addresses some of Chris' comments

* Cleanup old files

* Delete old files

* Delete old files

* Delete old file

* Updating versions of json and yaml to match Q#

* Generic serializer/deserializer

* Passes all tests

* Fix test

* Update test

* Fix build

* Merge from v0.7

* Addresses Chris' comments

* Merge from v0.7

* Fixing indentation of build file.

* Fix magic

* Fixing typo.

* Fixing tests.

* Moving Chemistry Jupyter integration into Chemistry folder.

* Clean up chemistry. (#114)

* Missing return statement when compiling more than one Q# snippet from Python. (#60)

* Fixing bug

* Merge from master.

* Missing PUBLIC_KEY for test assembly

* Add convenience functions for samples (#115)

* Add UCCSD excitations convenience function

* Update for samples

* Add more tests

* Fix UCCSD bug for PRQS and PRSQ case

* Merge from Release/v0.7

* Adding assembly constants for jupyter magic.

* Conceptual docs convenience functions and compilation tests (#116)

* Tests for docs syntax

* More docs tests

* Convenience functions and tests to support conceptual docs.

* Improve test coverage

* API Docs

* Add links to molecule data

* Add Asserts

* Rename Pauli -> Paulis to avoid conflicts with Core enum. (#117)

* Rename Pauli -> Paulis

* Fixing comments

* Added tests and updated yaml files for UCCSD energy estimation tests (#120)

* Added tests and updated yaml files for UCCSD energy estimation tests

* Missing file, somehow

* PrepareTrialStateWrapper removed from the public API

* Update Chemistry/src/Runtime/JordanWigner/ConvenienceVQE.qs

Co-Authored-By: Andres Paz <anpaz@microsoft.com>

* Update Chemistry/src/Runtime/JordanWigner/ConvenienceVQE.qs

Co-Authored-By: Martin Roetteler <martinro@microsoft.com>

* Q# coding style fixes, improvements to control-flow and documentation

* Removed commented line

* Add more convenience functions for samples (#119)

* More updates for samples

* Merge from release/v0.7

* Typo

* Addresses Chris' comments

* Add cluster operator null check.

* Update Chemistry/src/DataModel/QSharpFormat/QSharpFormatExtensions.cs

Co-Authored-By: Chris Granade <cgranade@gmail.com>

* Update Chemistry/src/Runtime/JordanWigner/JordanWignerBlockEncoding.qs

Co-Authored-By: Chris Granade <cgranade@gmail.com>

* Addresses Chris' comments

* Indents and typo

* Missing tests. (#122)

Some test projects were renamed thus not getting executed as part of the build.

* Updating to 0.7.1905.3109
2019-05-31 14:10:32 -07:00
Thomas Haener 154df74705 Add more numerics functionality (#102)
* Adding high-level integer functionality and polynomial evaluation in fixed-point.

* Restructuring Numerics.

* Adapt to naming convention.

* Add Numerics to pack step.

* Tabs to spaces.

* Primitive -> Intrinsic

* Fix naming of 2's complement inversion.

* Improved controlled poly. evaluation.

* Update Numerics/src/FixedPoint/Types.qs

* Applying first round of suggestions.

* Fixed a typo in one test.

* Last couple changes from review and discussion.
2019-05-29 17:51:40 -07:00