-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpecac.cabal
More file actions
256 lines (220 loc) · 8.48 KB
/
pecac.cabal
File metadata and controls
256 lines (220 loc) · 8.48 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
cabal-version: 2.2
name: pecac
version: 0.1.0.0
synopsis: Parameterized equivalence checking for (quantum) ansatz circuits.
-- description:
license: MIT
license-file: LICENSE
author: Scott Wesley
maintainer: scott.wesley@dal.ca
-- copyright:
category: Quantum
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
-----------------------------------------------------------------------------------------
-- Main library.
library
exposed-modules: Pecac.Affine
Pecac.Cyclotomic
Pecac.Either
Pecac.List
Pecac.Maybe
Pecac.Rational
Pecac.Analyzer.Cutoffs
Pecac.Analyzer.Gate
Pecac.Analyzer.Integrality
Pecac.Analyzer.Problem
Pecac.Analyzer.Revolution
Pecac.Parser.Gate
Pecac.Parser.Parser
Pecac.Parser.Problem
Pecac.Parser.Revolution
Pecac.Parser.Syntax
Pecac.Printer.Expr
Pecac.Printer.Gate
Pecac.Printer.GateSummary
Pecac.Printer.General
Pecac.Printer.Problem
Pecac.Printer.Stmt
Pecac.Verifier.CycloCircuit
Pecac.Verifier.CycloGate
Pecac.Verifier.Matrix
Pecac.Verifier.MatrixGate
Pecac.Verifier.PEC
other-modules: Pecac.Parser.Lexer
build-tool-depends: happy:happy,
alex:alex
build-depends: base,
array,
containers,
cyclotomic,
filepath,
groups,
matrix,
tf-random,
-- Forces a resolution to a dependency conflict.
vector>=0.12.2.0,
primitive>=0.7.1.0,
hs-source-dirs: src/Pecac
default-language: Haskell2010
ghc-options: -fllvm
-----------------------------------------------------------------------------------------
-- Executables.
library pecac-exe
exposed-modules: PecacExe.CmdLnFlags
PecacExe.CmdLnParser
PecacExe.ErrorLogging
PecacExe.IOUtils
build-depends: base,
cmdargs,
directory,
pecac
hs-source-dirs: src/PecacExe
default-language: Haskell2010
ghc-options: -fllvm
common basic-exe-props
hs-source-dirs: exe
default-language: Haskell2010
build-depends: base,
pecac,
pecac-exe
ghc-options: -fllvm
executable pecac_exact
import: basic-exe-props
main-is: Pec/Main.hs
other-modules: Pec.CmdLn
executable pecac_prob
import: basic-exe-props
main-is: PPec/Main.hs
other-modules: PPec.CmdLn
build-depends: tf-random
executable pecac_parse
import: basic-exe-props
main-is: Parser/Main.hs
other-modules: Parser.CmdLn
build-depends: pretty-simple
executable pecac_circviewer
import: basic-exe-props
main-is: CircViewer/Main.hs
other-modules: CircViewer.CmdLn
executable pecac_cutoffviewer
import: basic-exe-props
main-is: CutoffViewer/Main.hs
other-modules: CutoffViewer.CmdLn
executable pecac_cycloinst
import: basic-exe-props
main-is: CycloInst/Main.hs
other-modules: CycloInst.CmdLn
executable pecac_reparam
import: basic-exe-props
main-is: Reparam/Main.hs
other-modules: Reparam.CmdLn
executable pecac_lphase
import: basic-exe-props
main-is: LPhase/Main.hs
other-modules: LPhase.CmdLn
-----------------------------------------------------------------------------------------
-- Unit Testing.
common basic-unit-test-props
hs-source-dirs: test
default-language: Haskell2010
build-depends: base,
test-framework,
test-framework-hunit,
HUnit,
pecac
test-suite affine-tests
import: basic-unit-test-props
main-is: Affine-Tests.hs
build-depends: groups
type: exitcode-stdio-1.0
test-suite cyclotomic-tests
import: basic-unit-test-props
main-is: Cyclotomic-Tests.hs
build-depends: cyclotomic,
-- Forces a resolution to a dependency conflict.
vector>=0.12.2.0,
primitive>=0.7.1.0
type: exitcode-stdio-1.0
test-suite analyzer-cutoffs-tests
import: basic-unit-test-props
main-is: Analyzer-Cutoffs-Tests.hs
type: exitcode-stdio-1.0
test-suite analyzer-integrality-tests
import: basic-unit-test-props
main-is: Analyzer-Integrality-Tests.hs
type: exitcode-stdio-1.0
test-suite analyzer-problem-tests
import: basic-unit-test-props
main-is: Analyzer-Problem-Tests.hs
type: exitcode-stdio-1.0
test-suite analyzer-revolution-tests
import: basic-unit-test-props
main-is: Analyzer-Revolution-Tests.hs
type: exitcode-stdio-1.0
test-suite parser-parser-tests
import: basic-unit-test-props
main-is: Parser-Parser-Tests.hs
type: exitcode-stdio-1.0
test-suite parser-problem-tests
import: basic-unit-test-props
main-is: Parser-Problem-Tests.hs
type: exitcode-stdio-1.0
test-suite parser-revolution-tests
import: basic-unit-test-props
main-is: Parser-Revolution-Tests.hs
type: exitcode-stdio-1.0
test-suite parser-gate-tests
import: basic-unit-test-props
main-is: Parser-Gate-Tests.hs
type: exitcode-stdio-1.0
test-suite printer-expr-tests
import: basic-unit-test-props
main-is: Printer-Expr-Tests.hs
type: exitcode-stdio-1.0
test-suite printer-gate-tests
import: basic-unit-test-props
main-is: Printer-Gate-Tests.hs
type: exitcode-stdio-1.0
test-suite printer-gatesummary-tests
import: basic-unit-test-props
main-is: Printer-GateSummary-Tests.hs
type: exitcode-stdio-1.0
test-suite printer-problem-tests
import: basic-unit-test-props
main-is: Printer-Problem-Tests.hs
type: exitcode-stdio-1.0
test-suite printer-stmt-tests
import: basic-unit-test-props
main-is: Printer-Stmt-Tests.hs
type: exitcode-stdio-1.0
test-suite verifier-cyclocircuit-tests
import: basic-unit-test-props
main-is: Verifier-CycloCircuit-Tests.hs
build-depends: cyclotomic,
-- Forces a resolution to a dependency conflict.
vector>=0.12.2.0,
primitive>=0.7.1.0
type: exitcode-stdio-1.0
test-suite verifier-cyclogate-tests
import: basic-unit-test-props
main-is: Verifier-CycloGate-Tests.hs
build-depends: cyclotomic,
-- Forces a resolution to a dependency conflict.
vector>=0.12.2.0,
primitive>=0.7.1.0
type: exitcode-stdio-1.0
test-suite verifier-matrix-tests
import: basic-unit-test-props
main-is: Verifier-Matrix-Tests.hs
build-depends: matrix
type: exitcode-stdio-1.0
test-suite verifier-matrixgate-tests
import: basic-unit-test-props
main-is: Verifier-MatrixGate-Tests.hs
type: exitcode-stdio-1.0
test-suite verifier-pec-tests
import: basic-unit-test-props
main-is: Verifier-PEC-Tests.hs
build-depends: tf-random
type: exitcode-stdio-1.0