microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.1.3

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

samples/samples.mjs

29lines · 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}>} */
9export 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/QRNGNISQ.qs", shots: 1000 },
17 { title: "Random Number Generator (Advanced)", file: "./algorithms/QRNG.qs", shots: 1000 },
18 { title: "Deutsch-Jozsa", file: "./algorithms/DeutschJozsaNISQ.qs", shots: 1 },
19 { title: "Deutsch-Jozsa (Advanced)", file: "./algorithms/DeutschJozsa.qs", shots: 1 },
20 { title: "Bernstein–Vazirani", file: "./algorithms/BernsteinVaziraniNISQ.qs", shots: 1 },
21 { title: "Bernstein–Vazirani (Advanced)", file: "./algorithms/BernsteinVazirani.qs", shots: 1 },
22 { title: "Grover's search", file: "./algorithms/Grover.qs", shots: 100 },
23 { title: "Hidden Shift", file: "./algorithms/HiddenShiftNISQ.qs", shots: 1 },
24 { title: "Hidden Shift (Advanced)", file: "./algorithms/HiddenShift.qs", shots: 1 },
25 { title: "Shor", file: "./algorithms/Shor.qs", shots: 1 },
26 { title: "Dynamics (Resource Estimation)", file: "./estimation/Dynamics.qs", shots: 1, omitFromTests: true },
27 { title: "Precalculated (Resource Estimation)", file: "./estimation/Precalculated.qs", shots: 1, omitFromTests: true },
28 { title: "Shor (Resource Estimation)", file: "./estimation/ShorRE.qs", shots: 1, omitFromTests: true },
29]
30