You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/Qir/Runtime/lib/QSharpCore/README.md
+2-9
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,9 @@ Same-level entities are independent of each other (unless specified otherwise).
18
18
19
19
## Level 1
20
20
21
-
**qsharp__core__qis.hpp** Declares `quantum__qis__*()` gate set implementations.
21
+
**qsharp__core__qis.hpp** Declares `__quantum__qis__*()` gate set implementations.
22
22
Depends on `public\CoreTypes.hpp` (QUBIT, PauliId, RESULT)
23
23
Uses `QirArray *` from `public\QirTypes.hpp`.
24
24
25
-
**intrinsics.cpp** Defines `quantum__qis__*()` gate set implementation.
25
+
**intrinsics.cpp** Defines `__quantum__qis__*()` gate set implementation.
26
26
Each API depends on `GlobalContext()`, `IQuantumGateSet`.
27
-
28
-
## Level 2
29
-
30
-
**qsharp-core-qis.ll** Defines `@__quantum__qis__*()` quantum gate set entry points (to be called by the `.ll` files generated from users' `.qs` files).
31
-
The C++ Standard reserves the identifiers starting with double underscores `__`, that is why the definitions of `@__quantum__qis__*`
32
-
have been put to `.ll` file rather than `.cpp` file.
33
-
Depends on `quantum__qis__*` implementations (in **intrinsics.cpp**).
0 commit comments