From 975c48f95ec9546ce65ffdfa8ae01a25da94cf2a Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Tue, 18 Jan 2022 17:13:55 -0800 Subject: [PATCH 1/3] Fix links to QIR specification --- src/Qir/Runtime/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Qir/Runtime/README.md b/src/Qir/Runtime/README.md index c12eacdd5eb..ca78e33afa0 100644 --- a/src/Qir/Runtime/README.md +++ b/src/Qir/Runtime/README.md @@ -2,7 +2,7 @@ This folder contains the Quantum Intermediate Representation (QIR) Runtime project. The QIR is a subset of the [LLVM](https://llvm.org/) Intermediate Representation. The QIR runtime includes an implementation of the - [QIR specification](https://github.com/microsoft/qsharp-language/tree/main/Specifications/QIR) and the bridge to + [QIR specification](https://github.com/qir-alliance/qir-spec) and the bridge to run QIR against the native full state simulator. - `public` folder contains the public headers @@ -98,7 +98,7 @@ For tests that depend on the native simulator and qdk shared libraries, you migh ## QIR Bridge and Runtime This project contains an implementation of the QIR runtime per the - [QIR specifications](https://github.com/microsoft/qsharp-language/tree/main/Specifications/QIR) and the translation + [QIR specifications](https://github.com/qir-alliance/qir-spec) and the translation layer between the QIR and the IR, generated by Clang from the native code. Translation layer is called the "QIR Bridge". ![QIR Bridge architecture diagram](qir.png?raw=true "QIR Bridge architecture diagram") From fe83220d720780b0497068ffe90772b3ab6ba349 Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Tue, 18 Jan 2022 17:14:58 -0800 Subject: [PATCH 2/3] Update README.md --- src/Qir/Runtime/lib/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qir/Runtime/lib/README.md b/src/Qir/Runtime/lib/README.md index dc13b07d59f..c29f64860de 100644 --- a/src/Qir/Runtime/lib/README.md +++ b/src/Qir/Runtime/lib/README.md @@ -16,7 +16,7 @@ Is a project defined [here](../../../Simulation/QSharpFoundation). Is a project defined [here](../../../Simulation/QSharpCore). ## QIR -Anything that is required by the [QIR specs](https://github.com/microsoft/qsharp-language/tree/main/Specifications/QIR), +Anything that is required by the [QIR specs](https://github.com/qir-alliance/qir-spec), which in particular includes the ["methods that delegate to the simulators"](QIR/bridge-rt.ll#46), should live in the QIR folder. They require support from the backend, but are not language-specific. Both the Q# Core and the Q# Foundation are Q#-specific in that these are the target instructions that the Q# libraries are built on. From 6aec7e81baea77ec5c1c6c6ae19741c0e37ce995 Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Tue, 18 Jan 2022 17:16:08 -0800 Subject: [PATCH 3/3] Update README.md --- src/Qir/Runtime/lib/Tracer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qir/Runtime/lib/Tracer/README.md b/src/Qir/Runtime/lib/Tracer/README.md index 43993131345..ed0ec4e74dd 100644 --- a/src/Qir/Runtime/lib/Tracer/README.md +++ b/src/Qir/Runtime/lib/Tracer/README.md @@ -6,7 +6,7 @@ The purpose of the Resource Tracer is to provide efficient and flexible way to e for more background on resource estimation for quantum programs. To run against the tracer, the quantum program should comply with the - [QIR specifications](https://github.com/microsoft/qsharp-language/tree/main/Specifications/QIR) as well as: + [QIR specifications](https://github.com/qir-alliance/qir-spec) as well as: 1. convert _each_ used intrinsic operation into one of the Quantum Instruction Set (_qis_) operations supported by the tracer (see the last section of this readme);