microsoft/qdk

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
7c4c1b4c424591b52bf0c1009540c321c7756e69

Branches

Tags

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

Clone

HTTPS

Download ZIP

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}>} */
9export 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