microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
samples/samples.mjs
35lines · 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; omitFromTests?: boolean}>} */ |
| 9 | export default [ |
| 10 | { title: "Minimal", file: "./language/GettingStarted.qs", shots: 100 }, |
| 11 | { title: "Quantum Hello World", file: "./getting_started/QuantumHelloWorld.qs", shots: 100 }, |
| 12 | { title: "Measurement", file: "./getting_started/Measurement.qs", shots: 100 }, |
| 13 | { title: "Superposition", file: "./getting_started/Superposition.qs", shots: 100 }, |
| 14 | { title: "Entanglement", file: "./getting_started/Entanglement.qs", shots: 100 }, |
| 15 | { title: "Bell Pair", file: "./getting_started/BellPair.qs", shots: 100 }, |
| 16 | { title: "Bell States", file: "./getting_started/BellStates.qs", shots: 100 }, |
| 17 | { title: "Cat States", file: "./getting_started/CatStates.qs", shots: 100 }, |
| 18 | { title: "Random Bits", file: "./getting_started/RandomBits.qs", shots: 1000 }, |
| 19 | { title: "Teleportation (Simple)", file: "./getting_started/SimpleTeleportation.qs", shots: 100 }, |
| 20 | { title: "JointMeasurement", file: "./getting_started/JointMeasurement.qs", shots: 100 }, |
| 21 | { title: "Teleportation", file: "./algorithms/Teleportation.qs", shots: 1 }, |
| 22 | { title: "Random Number Generator (Advanced)", file: "./algorithms/QRNG.qs", shots: 1000 }, |
| 23 | { title: "Deutsch-Jozsa", file: "./algorithms/DeutschJozsaNISQ.qs", shots: 1 }, |
| 24 | { title: "Deutsch-Jozsa (Advanced)", file: "./algorithms/DeutschJozsa.qs", shots: 1 }, |
| 25 | { title: "Bernstein-Vazirani", file: "./algorithms/BernsteinVaziraniNISQ.qs", shots: 1 }, |
| 26 | { title: "Bernstein-Vazirani (Advanced)", file: "./algorithms/BernsteinVazirani.qs", shots: 1 }, |
| 27 | { title: "Grover's Search", file: "./algorithms/Grover.qs", shots: 100 }, |
| 28 | { title: "Hidden Shift", file: "./algorithms/HiddenShiftNISQ.qs", shots: 1 }, |
| 29 | { title: "Hidden Shift (Advanced)", file: "./algorithms/HiddenShift.qs", shots: 1 }, |
| 30 | { title: "Shor", file: "./algorithms/Shor.qs", shots: 1 }, |
| 31 | { title: "Three Qubit Repetition Code", file: "./algorithms/ThreeQubitRepetitionCode.qs", shots: 1 }, |
| 32 | { title: "Dynamics (Resource Estimation)", file: "./estimation/Dynamics.qs", shots: 1, omitFromTests: true }, |
| 33 | { title: "Precalculated (Resource Estimation)", file: "./estimation/Precalculated.qs", shots: 1, omitFromTests: true }, |
| 34 | { title: "Shor (Resource Estimation)", file: "./estimation/ShorRE.qs", shots: 1, omitFromTests: true }, |
| 35 | ] |
| 36 | |