forked from microsoft/Quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cspell.json
119 lines (107 loc) · 3.15 KB
/
cspell.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// This configuration file sets options for spell-checking pull requests
// onto this repository. Please see
// https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell#cspelljson
// for more documentation about this config file.
{
// Use a file-matching pattern to identify Q# source files when running
// in CI (that is, when VS Code doesn't provide the language ID for
// Q#).
"overrides": [
{
"languageId": "qsharp",
"filename": "**/*.qs"
}
],
// Define keywords on a per-language basis.
"languageSettings": [
{
"languageId": ["qsharp"],
// cspell:disable
"ignoreWords": [
"newtype",
"elif"
]
// cspell:enable
}
],
"ignoreWords": [
// Q# terminology
"iqsharp",
// # .NET terminology
"xunit",
// # Jupyter terminology
"ipynb",
"jupytext",
"endregion",
"kernelspec",
"nteract",
// # Python terminology
"conda",
"matplotlib",
"xlabel", // Used in matplotlib calls.
"ylabel",
// # Terms that come up in build / CI configuration
"logissue", // Used in ##[vso.logissue] commands.
"pwsh",
"markdownlint",
// # Words, terms, and names specific to quantum computing
"CHSH",
"CNOT",
"Chuang",
"eigenstate",
"kata",
"qsharp",
"qubit",
"qubits",
"qubit's",
"qubitization",
"qubitized",
"wavefunction",
"Hadamard",
"TCNOT",
"ctrls",
// # Mathematics terminology
"binom", // Common shorthand for "binomial."
"coeff", // Common shorthand for "coefficient."
"coeffs",
"eigen",
"eigensystem",
"sqrtm", // Common shorthand for "matrix square root," popularized by
// MATLAB and SciPy.
"renormalizing",
"unnormalized",
// # Physics terminology
"Ising",
"elementwise",
// # Chemistry terminology
"fermionic",
"nitrogenase",
"Hartree",
"Fock",
"nwchem",
// # Other terminology
// NB: before adding terms here, please add a comment explaining
// where each term is used.
"Remez", // As in Remez's algorithm (https://en.wikipedia.org/wiki/Remez_algorithm).
"Remez's",
"Chebyshev", // As in Chebyshev polynomials.
"Shor", // As in Shor's algorithm
"Shor's", // As in Shor's algorithm
"Welford's", // Algorithm for learning mean and variances of streaming
// data.
// # Package and provider names
"ionq",
"apival",
"cirq",
"qiskit"
"quantinuum"
],
// By definition, everything in flagWords is considered to be spelled
// wrong. Thus we disable spell checking for the list of misspelled words...
// cspell:disable
"flagWords": [
// The Trotter–Suzuki decomposition isn't a verb.
"Trotterization"
]
// cspell:enable
}