Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@bamarsha
Copy link
Contributor

No description provided.

kuzminrobin and others added 30 commits February 8, 2021 20:34
* Added sqrt implementation and tests.
* Restructured the files.
* Restructured sqrt.
* CR changes
* Fixed the Linux build break.
* Added Log() and ArcTan2().
* Added pauli_to_string
* CR changes.
* CR changes.
This gets rid of several unused  files that had mistakenly been merged from the feature branch, as well as cleaning up the implementations to match the new Q# style and removing unusing `using` statements from C#.
We are still checking-in the generated file so the CI pipeline isn't affected. Moving to completely automatic QIR generation will be the next step.
* Use new Visibility compiler API

* Update C# gen and fix package versions

* Update naming
* Use xplat qir generation in build pipeline

* Build pipeline should use pwsh

* Update for CR feedback
* Added __quantum__qis__message__body ( function Message (msg : String) : Unit )
* Added DrawRadomInt()
Cleanup qdk.dll build plus moved a few QIR headers into public and fixed includes to use <c*> headers rather than <*.h>
Initial implementation of the QIR-based tracer. Done basic layering, output and support for [global] barrier.
* Added Sin().
* Added Cos().
* Added Tan().
* Added Sinh(), Cosh(), Tanh().
* Added tests.
* Added IEEERemainder().
* Added test.
* Added ArcSin(), ArcCos(), ArcTan(), and tests.
This updates the structure of the classical control ApplyIf* and ApplyControlled* callables in terms of each other to reduce 8 intrinsics to 2 intrinsics. Also updates the qir-gen.csproj to use the local QSharp.Core project instead of the one from the QDK for easier testing.
* Cleanup, adding Parity().
* Added Parity().
* CR changes.
* CR changes.
Minor clean-up for ClassicalControl.qs and associated C# implementation

Related to work in Classical Control rewrite support should be refactored #534
This updates the QirRuntime folder's readme and scripts to explicitly call out using LLVM 11 on Linux. It also adds a devcontainer for easier local Linux development with prerequisites for Q# development and QIR development already installed.
* Setup for QIR-based RandomBit Q# program.

* Added generated QIR file.

* Changed structure for standalone tests.

* Added simulator and Q# operation output redirection through command line options.

* Added standalone example for different input types.

* Changed type of InputTypes Q# operation.

* Update src/QirRuntime/test/Standalone/InputTypes/input-types.qs

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

* Clean-up a bit and add TODOs.

* Moved to a folder outside test.

* Simplified make file and removed unused headers in driver.

* Rename entry-point operation.

* Rename sample to StandaloneInputReference.

* Add CLI11 library to component manifest.

* Update .clang-tidy for standalone samples.

* Add readme.

* Update readmes that mention CLI11.

* Revert extra-line to .clang-tidy.

* Move standalone includes to specific CMakeLists.txt.

* Use QIR runtime API to redirect simulation output.

* Renamed options.

* Add option for Pauli type.

* Simplify options code.

* Add support for QirRange and QirString to be parsed from the command line.

* Add support for Q# Result type.

* Do not catch all exceptions in the main function.

* Resolved bug pointed by Robin.

* Create QirArray.

* Reordered includes.

* Remove headers not needed and add headers that are explicitly needed.

* Added simple test for sample reference binary.

* Fixed quotation marks in cmake file.

* Extend entry-point operation to exercise a larger set of supported inputs.

* Add support for arrays of different types in driver.

* Added support for Pauli array.

* All array types supported.

* Added clarification comments.

* Updated tests.

* Removed auto-generated file.

* Fix build break due to missing file.

* Set environment for standalone sample test.

* Fix ctest for standalone sample.

* Addressed Robin's feedback.

* Reverse file stream closing.

* Remove use of Range in entry-point operation.

Co-authored-by: Chris Granade <chgranad@microsoft.com>
* Added PauliArrayAsInt() and tests.
We shouldn't need llvm-ar.exe anymore, so we can remove that cached external component.

Fixes #554
* Copy generated import lib for QIR on Windows

* Make sure libs get installed.
* Copy generated import lib for QIR on Windows

* Make sure libs get installed.
* Update simulation code tests to use latest LSP API.
* Update entry point generator tests as well.
* Update to latest compiler beta.
* Update ci.yml
* Update SDK version across repository to 0.15.2103130749-beta
* Fixing remaining file for SDK version

Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>
# Conflicts:
#	src/Simulation/CSharpGeneration/Microsoft.Quantum.CSharpGeneration.fsproj
#	src/Simulation/QCTraceSimulator.Tests/Tests.Microsoft.Quantum.Simulation.QCTraceSimulatorRuntime.csproj
#	src/Simulation/QSharpCore/Microsoft.Quantum.QSharp.Core.csproj
#	src/Simulation/QSharpFoundation/Microsoft.Quantum.QSharp.Foundation.csproj
#	src/Simulation/Simulators.Tests/TestProjects/HoneywellExe/HoneywellExe.csproj
#	src/Simulation/Simulators.Tests/TestProjects/IntrinsicTests/IntrinsicTests.csproj
#	src/Simulation/Simulators.Tests/TestProjects/IonQExe/IonQExe.csproj
#	src/Simulation/Simulators.Tests/TestProjects/Library with Spaces/Library with Spaces.csproj
#	src/Simulation/Simulators.Tests/TestProjects/Library1/Library1.csproj
#	src/Simulation/Simulators.Tests/TestProjects/Library2/Library2.csproj
#	src/Simulation/Simulators.Tests/TestProjects/QCIExe/QCIExe.csproj
#	src/Simulation/Simulators.Tests/TestProjects/QSharpExe/QSharpExe.csproj
#	src/Simulation/Simulators.Tests/TestProjects/TargetedExe/TargetedExe.csproj
#	src/Simulation/Simulators.Tests/TestProjects/UnitTests/UnitTests.csproj
#	src/Simulation/Simulators.Tests/Tests.Microsoft.Quantum.Simulators.csproj
#	src/Simulation/Simulators.Type1.Tests/Tests.Microsoft.Quantum.Simulators.Type1.csproj
#	src/Simulation/Simulators.Type2.Tests/Tests.Microsoft.Quantum.Simulators.Type2.csproj
#	src/Simulation/Simulators.Type3.Tests/Tests.Microsoft.Quantum.Simulators.Type3.csproj
#	src/Simulation/Simulators/Microsoft.Quantum.Simulators.csproj
#	src/Simulation/Type1Core/Microsoft.Quantum.Type1.Core.csproj
#	src/Simulation/Type2Core/Microsoft.Quantum.Type2.Core.csproj
#	src/Simulation/Type3Core/Microsoft.Quantum.Type3.Core.csproj
@bamarsha bamarsha merged commit 20c19d5 into feature/qep2 Mar 15, 2021
@bamarsha bamarsha deleted the samarsha/qep2-main branch March 15, 2021 23:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants