microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
katas/content/katas.js
66lines · modecode
| 1 | //@ts-check |
| 2 | |
| 3 | /** |
| 4 | * Katas Taxonomy |
| 5 | * |
| 6 | * A Kata is a top-level container of educational items (exercises and examples) which are used to explain a particular |
| 7 | * topic. |
| 8 | * |
| 9 | * This file contains the information needed to build the content for all the Katas, and its main purpose is to convey |
| 10 | * ordering. Each Kata and each item within a Kata is listed in the order it is meant to be presented to students. |
| 11 | * |
| 12 | * Each Kata is organized in a directory where a content.md file is present, and multiple sub-directories. Each |
| 13 | * sub-directory represents an item within the Kata and its specific content depends on the type of item it represents. |
| 14 | */ |
| 15 | |
| 16 | /** |
| 17 | * @type {Array< |
| 18 | * { |
| 19 | * directory: string, |
| 20 | * items: Array<{ |
| 21 | * type: string, |
| 22 | * directory: string |
| 23 | * }> |
| 24 | * }>} |
| 25 | */ |
| 26 | exports.katas = [ |
| 27 | { |
| 28 | directory: "qubit", |
| 29 | items: [ |
| 30 | { |
| 31 | type: "example", |
| 32 | directory: "qubit_data_type", |
| 33 | }, |
| 34 | { |
| 35 | type: "reading", |
| 36 | directory: "relative_global_phase", |
| 37 | }, |
| 38 | { |
| 39 | type: "reading", |
| 40 | directory: "conclusion", |
| 41 | }, |
| 42 | ], |
| 43 | }, |
| 44 | { |
| 45 | directory: "single_qubit_gates", |
| 46 | items: [ |
| 47 | { |
| 48 | type: "exercise", |
| 49 | directory: "y_gate", |
| 50 | }, |
| 51 | { |
| 52 | type: "exercise", |
| 53 | directory: "global_phase_i", |
| 54 | }, |
| 55 | ], |
| 56 | }, |
| 57 | { |
| 58 | directory: "multi_qubit_gates", |
| 59 | items: [ |
| 60 | { |
| 61 | type: "exercise", |
| 62 | directory: "preparing_bell_state", |
| 63 | }, |
| 64 | ], |
| 65 | }, |
| 66 | ]; |
| 67 | |