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.
* 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.
* 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>
* 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>
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>
* 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>