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

22 Коммитов

Автор SHA1 Сообщение Дата
Bill Ticehurst 8846e55625
Added Chocolatey and brew as prereqs (#1098)
* Added Chocolatey and brew as prereqs

* Grammar
2022-10-13 09:24:14 -07:00
Stefan J. Wernli 5a4fb4f34b
Replace C++ QIR Runtime with Rust QIR stdlib (#1087)
* Add parallel Rust QIR Runtime

* Remove old dependencies

* Use --all-targets clippy, corresponding fixes

* Add conditionals instrinc support, result_to_string

* Add QIR simulator support

* Share C++ tests across Rust impl

* Add to build scripts

* Fix build ordering

* Fix CI cleanup

* More build fixes

* Fix build bug

* Minor error message fix

* Move result related api into sim

* refactor qir_runtime, split out qir_sim

* Use BigUint for sparse sim indexing

* Type updates, sparse nearly_zero fix

* Consolidation and optimization of sparse sim

* Rust qubit/result to string fixes

* Fullstate sim as QIR backend, staticlib runtime

* rename runtime to stdlib

* rename sim to backend

* remove conditionals support

* Fix public module ref

* Update cmdline tool to use simulator QIR backend

* Use whole-archive linking on non-Windows

* Use thread_local for simulator init

* Use all_load on MacOS

* Skip QIR libs,include for runtime tool

* Use force_load on MacOs

* Try alternate MacOS linking strategy

* Use full path in MacOs linking

* Try explicit lib name

* Clean up and comments

* Remove QIR C++ runtime, rename folders

* Use environment variables in native sim build

* Put back Tools tests

* Remove tracer test from solution

* Remove unused qir_backend

* Include full state sim lib in nuget package

* Update array unit tests

* Update bigint unit tests

* Update range unit tests

* Update strings unit tests

* __quantum__rt__fail will print string before panic

* Fix broken readme links

* Fix formatting in arrays.rs

* Clarifying comments, minor fixes from initial review

* Fix formatting

* Add `__quantum__rt__message_record_output`

* Clean up file encoding for .cargo/config.toml

* Updating script patterns

* Updates from PR feedback

* Fix double free typo in tests

* More updates from PR feedback

* Remove leftover debug line
2022-09-16 11:43:00 -07:00
Robin Kuzmin 2eb0f3fd14
Upgraded clang from 13 to 14[.0.6]. (#1065)
* Upgraded clang from 13 to 14[.0.6].
* LLVM-14 bug work-around.
2022-08-26 22:47:07 -07:00
microsoft-github-policy-service[bot] 71c0edf7a0
Adding Microsoft SECURITY.MD (#1017) 2022-07-26 21:04:49 +00:00
Robin Kuzmin 77edcf31dc
Updated the ReadMe for VS2022 spectre-mitigated libs and versions of other build tools (#1025)
* Changed the instructions to install the spectre mitigated libs for VS2022.
* Prereqs version change.
Co-authored-by: César Zaragoza Cortés <cesarzc@microsoft.com>
2022-05-26 10:48:21 -07:00
Robin Kuzmin 61e3fdeebb
Added `libomp` instructions. (#901) 2022-01-20 16:39:51 -08:00
César Zaragoza Cortés 9c2b086584
Change to QIR folder in preparation for QIR controller project (#594)
* Move files.
* Rename files.
* Remove projects from Simulation solution.
* Update scripts.
* Add projects to simulation.
* Added debugging couts for build pipeline failure.
* Fix relative path for simulator dll discovery
* Apply path fix to samples too
* Revert "Added debugging couts for build pipeline failure."
This reverts commit e51b38e27d.
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
2021-04-01 09:49:57 -07:00
Robin Kuzmin 47237cef45
Updated QirRuntime/README.md, build/test instructions (#591)
* Updated the build/test instructions in README.md
* Updated the root-level README.md
2021-03-27 00:24:26 +00:00
Angela Burton e59c857bfa
Fix broken documentation links (#584)
* fix links

* revert unwanted changes
2021-03-25 02:12:35 +00:00
Irina Yatsenko 13353f31b8 Reland: Actually enable QIR Runtime CI (and fix a build break on Linux) (#456)
Reland "Actually enable QIR Runtime CI (and fix a build break on Linux)"
Additional fix: enclose environment variables in cmake commands into quotes
2020-12-01 16:05:19 -08:00
Irina Yatsenko 2aab335399
Revert "Actually enable QIR Runtime CI (and fix a build break on Linux) (#445)" (#454)
The change severely regressed e2e perf runs on Linux/Mac. Probably due to Debug/Release mess up.

This reverts commit 4701a9e80b.
2020-11-30 16:47:55 -08:00
Irina Yatsenko 4701a9e80b
Actually enable QIR Runtime CI (and fix a build break on Linux) (#445) 2020-11-25 13:23:17 -08:00
bettinaheim 6c44f6df18
renaming master -> main (#373) 2020-09-12 06:56:20 -07:00
Sarah Marshall c285352607
Fix incorrect reference to running two commands (#269) 2020-06-19 17:55:12 -07:00
Irina Yatsenko afa3b94f31
Irinayat/readme bootstrap (#260)
* Added required steps to successfully run bootstrap.cmd on Windows

Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
2020-06-17 14:24:01 -07:00
Sarah Marshall 7e20b01658
Add support for submitting standalone executables to Azure Quantum (#211)
* Create new project for entry point driver

* Fix entry point option values

* Add missing dashes to simulator options

* Update root namespace

* Add driver to nuget package

* Manually add EntryPointDriver's dependencies to package

* Add doc comments to Validation

* Rewrite FindNuspecReferences.ps1

* Type parameterize IEntryPoint

* Add reference to EntryPointDriver from tests

* Remove entry point driver resources

* Rename EntryPointDriver assembly

* Remove unneeded generated code

* Add documentation to IEntryPoint

* Update Driver documentation

* Enable C# nullable feature

* Avoid multiple enumeration

* Remove unnecessary identifier quotations

* Remove "Get" prefix

* Update variable name/comment

* Make Validation and value parsers private/internal

* Support IQArray types directly

* Remove single-class namespace

* Use type parameter in CreateOption

* Combine some excessively separated functions

* Use WithSuggestions instead of AddSuggestions

* Add entry point argument tuple to interface

* Fix nested tuples in arguments

* Add entry point info to IEntryPoint

* Add submit command

* Fix typo

Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>

* Use only one line for shadowing warning

* Removed type parameters from IQuantumMachine interface. (#185)

* Removed type parameters from IQuantumMachine interface.

* Addressed Sarah's feedback.

* Update src/Simulation/Core/IQuantumMachineOutput.cs

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Use the new IQuantumMachine interface

* Add TODO for histogram output

* Add command-line options for Azure submission

* Small code style fixes

* Use real provider for Azure submission

* Remove TODO from the wrong place

* Use SimulatorMachine based on target name

* Add option for number of shots

* Validate that shots is positive

* Use DefaultIfShadowed for Azure settings

* Simplify adding/defaulting options

* Make SimulatorOption non-static

* Add AddOptionsIfAvailable method

* Fix option aliases missing dashes

* Disable command if required options are shadowed

* Add copyright headers

* Add histogram option

* Make histogram pretty

* Fix shadowing

* Update histogram divider dash

* Preserve required state of options

* Simulator option is not required

* Use SubmitAsync instead of ExecuteAsync

* Add access token option

* Rename ToWorkspace to CreateWorkspace

* Remove "Azure" from option descriptions

* Print job ID instead of URI for now

* Add --base-uri option

* Rename --access to --aad-token

* Rename --id-only to --output

* Add OptionInfo class

* Update --shots validator message

* Update --base-uri description

* Add TODO for "submit" tests

* Replace NotImplementedExceptions with NotSupportedExceptions

* More specific TODO for number of shots

* Don't include default value for required options

* Hide "submit" command

* Update help test

* Add manifest with qsharp-runtime assemblies requiring signing (#200) (#202)

* Add manifest with assemblies requiring signing

* Add manifest.ps1 to build steps

* Run manifest after build completes

* Fix manifest.ps1 script error

* Fix to manifest.ps1

* Revert unnecessary commit 466dc8c82b

* Update TODO comments

* Add test for submit help text

* Add more tests for submit command

* Add Microsoft.Azure.Quantum.Client sources and QuantumMachineFactory (#203)

* Add Microsoft.Azure.Quantum.Client sources

* Add project reference to Microsoft.Quantum.Runtime.Core

* Add reference to Microsoft.Azure.Quantum.Client

* Re-add missing summary start tag

* Add Honeywell to QuantumMachineFactory

* Allow reflection to find type in loaded assembly (#205)

* Update reflection to look for signed assembly first

* Use IWorkspace instead of Workspace

* Catch exceptions from GetType call

* Use package references to runtime components in EntryPointDriver

* Revert package references to project references

* Add Microsoft.Azure.Quantum.Client as NuGet dependency

* Add stubs for new methods in NothingMachine

* Add --dry-run option

* Set shots in submission context

* Add blank line before validation message

* Created AzzureQuantumException. (#216)

This change adds AzureQuantumException which is the base exception to throw or create new exceptions related to the Azure quantum service or storage.

* Merge latest master to have access to QuantumProcessorTranslationException (#217)

* Created QuantumProcessorException (#212)

* Created QuantumProcessorException.

* Provided a default message but added the option to supply a custom one.

* Renamed to QuantumProcessorTranslationException.

* Improved the default message.

* Updating placeholder names to provider names (#215)

Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>

* Show warning message for OutputFormat.FriendlyUri

* Fix tests

* Rename test project

* Add test for unknown target

* Add test project to test.ps1

* Handle Azure quantum known exceptions (#218)

* Add the three standard constructors for the newly created exceptions.

* Created QuantumMachineClientException and incorporated it (and other exceptions) into the standalone logic.

* Removed exception that is not needed.

* Improved error message.

* Update src/Simulation/EntryPointDriver/Azure.cs

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Update src/Simulation/EntryPointDriver/Azure.cs

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Update src/Simulation/EntryPointDriver/Azure.cs

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Update src/Simulation/EntryPointDriver/Azure.cs

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Update copyright headers in Azure Quantum client

* Remove TODO for audience URI

Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Co-authored-by: César Zaragoza Cortés <cesar.zaragoza@outlook.com>
Co-authored-by: Ryan Shaffer <ryan.shaffer@microsoft.com>
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
2020-05-27 18:49:31 -07:00
Sarah Marshall d7ccb7d353
Remove link to project templates and fix typo in README (#153)
* Remove link to project templates from the README

Project templates were moved to the compiler repository, so the link to the project templates folder doesn't work anymore.

* Fix typo in README
2020-02-26 20:22:48 -08:00
bettinaheim 2151e10c3d
Switching to using the new Sdk (#113) 2020-01-03 22:56:11 -08:00
Andres Paz a59bc3cbe0 Bug fixes (#105)
* Updating README with latest versions.

* Fixing memory leak in quantum simulator.
2019-11-27 00:08:36 -08:00
Chris Granade baecde7a20 Increment version number and add prerelease feed to README. (#39)
* Increment version number and add prerelease feed to README.

* Addressing feedback.

* Applying same changes we did to the info about alpha-feed on iqsharp
2019-09-13 13:20:25 -07:00
Andres Paz 0d8f99c8cc
Initial commit. (#15) 2019-07-10 23:43:59 -07:00
Microsoft Open Source e4ca7747f4 Initial commit 2019-06-06 10:20:51 -07:00