-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.typos.toml
More file actions
66 lines (65 loc) · 2.07 KB
/
Copy path.typos.toml
File metadata and controls
66 lines (65 loc) · 2.07 KB
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
[default.extend-words]
ba = "ba"
datas = "datas"
ket = "ket"
wqs = "wqs"
thr = "thr"
IY = "IY"
IZ = "IZ"
iz = "iz"
anc = "anc"
emiss = "emiss"
fo = "fo"
# HUGR JSON format uses "typ" as a field name for type information
typ = "typ"
# These are operation names in HUGR/Guppy integer operations
ine = "ine" # Integer not equal operation
inot = "inot" # Integer bitwise NOT operation
# Float comparison operation (float less-than-or-equal)
fle = "fle"
Fle = "Fle"
# QuEST v4.1.0 uses "calcExpec" (not "calcExpect") in function names
Expec = "Expec"
# NumPy uses "arange" (array range), not "arrange"
arange = "arange"
# Common variable name prefix for ndarray
nd = "nd"
# delocate is a macOS wheel repair tool (delocate-wheel command)
delocate = "delocate"
# Short for "numerator" in fraction/ratio macros
numer = "numer"
# Quantum gate sequence: S gate, H gate, S gate
SHS = "SHS"
# Gate name breakdown notation uses partial words like C(ontrolled), R(otation)
ontrolled = "ontrolled"
otation = "otation"
repare = "repare"
easure = "easure"
egative = "egative"
agger = "agger"
# Ruff rule code prefix (flake8-copyright)
CPY = "CPY"
# Abbreviation for "undetectable" in fault enumeration debug output
UNDET = "UNDET"
# Legitimate "mis-" prefix used in comments/messages (mis-ordered,
# mis-declared, mis-emitted, mis-shape, mis-count, mis-mapping, ...)
mis = "mis"
# Valid spelling of "unparseable" (used in comments + a test name)
unparseable = "unparseable"
Unparseable = "Unparseable"
# Prep-gate naming: the "Pn -> PN" entry-point rename (PNX/PNY/PNZ)
Pn = "Pn"
PN = "PN"
pn = "pn"
[files]
# Base64-encoded binary test fixtures inevitably contain typo-lookalike
# substrings; their bytes are sha256-pinned and must not be "corrected".
#
# The StabVec correctness reference data is hexadecimal f64 bit patterns, for
# the same reason: "ded", "fed" and similar are valid hex and occur by chance.
# The file is compared with exact bit equality, so a spelling "correction"
# would silently change what the harness pins.
extend-exclude = [
"*.b64",
"crates/pecos-simulators/tests/data/stab_vec_correctness_bits.txt",
]