This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
180 changed files
with
3,172 additions
and
12,659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.