microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
samples/OpenQASM/samples.mjs
17lines · 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: "Hello World in OpenQASM", file: "./OpenQasmHelloWorld.qasm", shots: 100 }, |
| 11 | { title: "Random Number Generator", file: "./RandomNumber.qasm", shots: 1000 }, |
| 12 | { title: "Bell Pair Creation", file: "./BellPair.qasm", shots: 1000 }, |
| 13 | { title: "Teleportation (Simple)", file: "./Teleportation.qasm", shots: 1000 }, |
| 14 | { title: "Bernstein-Vazirani Algorithm", file: "./BernsteinVazirani.qasm", shots: 10 }, |
| 15 | { title: "Grover Search Algorithm", file: "./Grover.qasm", shots: 10 }, |
| 16 | { title: "Ising Model (Simple 1D)", file: "./Simple1dIsingOrder1.qasm", shots: 1000 }, |
| 17 | ] |
| 18 | |