microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
samples/samples.mjs
22lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | // @ts-check |
| 5 | |
| 6 | // This file gives the order, title, and default shots for each sample |
| 7 | |
| 8 | /** @type {Array<{title: string; file: string; shots: number}>} */ |
| 9 | export default [ |
| 10 | {title: "Minimal", file: "./language/GettingStarted.qs", shots: 100}, |
| 11 | {title: "Superposition", file: "./algorithms/Superposition.qs", shots: 100}, |
| 12 | {title: "Entanglement", file: "./algorithms/Entanglement.qs", shots: 100}, |
| 13 | {title: "Bell States", file: "./algorithms/BellState.qs", shots: 100}, |
| 14 | {title: "Teleportation", file: "./algorithms/Teleportation.qs", shots: 1}, |
| 15 | {title: "Random Bit", file: "./algorithms/RandomBit.qs", shots: 100}, |
| 16 | {title: "Random Number Generator", file: "./algorithms/QRNG.qs", shots: 1000}, |
| 17 | {title: "Deutsch-Jozsa", file: "./algorithms/DeutschJozsa.qs", shots: 1}, |
| 18 | {title: "Bernstein–Vazirani", file: "./algorithms/BernsteinVazirani.qs", shots: 1}, |
| 19 | {title: "Grover's search", file: "./algorithms/Grover.qs", shots: 100}, |
| 20 | {title: "Hidden shift", file: "./algorithms/HiddenShift.qs", shots: 1}, |
| 21 | {title: "Shor", file: "./algorithms/Shor.qs", shots: 1}, |
| 22 | ]; |