Skip to content

Commit

Permalink
Fixed test cases after rebasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerrleblond committed Sep 24, 2024
1 parent 6590fa6 commit 6bb5a82
Show file tree
Hide file tree
Showing 54 changed files with 410,376 additions and 2,856,833 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,25 @@ Options:
-f, --output-format Requires -o, STDOUT output format: progress, noprogress, machine, stats
-t, --timeout Set a timeout in seconds after which stop producing slices
-r, --router Set a router: graph_search (default), graph_search_cached
-P, --pipeline pipeline mode: stream (default), dag, wave
-g, --graph-search Set a graph search provider: djikstra (default), astar, boost (not always available) [ignored by -P wave pipeline, which uses astar]
-P, --pipeline pipeline mode: stream (default), wave, edpc, dag (deprecated)
-g, --graph-search Set a graph search provider: djikstra (default), astar, boost (not always available)
--graceful If there is an error when slicing, print the error and terminate
--printlli Output LLI instead of JSONs. options: before (default), sliced (prints lli on the same slice separated by semicolons)
--printdag Prints a dependancy dag of the circuit. Modes: input (default), processedlli
--printdag Prints a dependency dag of the circuit. Modes: input (default), processedlli
--noslices Do the slicing but don't write the slices out
--cnotcorrections Add Xs and Zs to correct the the negative outcomes: never (default), always
--layoutgenerator, -L Automatically generates a layout for the given number of qubits. Incompatible with -l. Options:
- compact (default): Uses Litinski's Game of Surace Code compact layout (https://arxiv.org/abs/1808.02892)
- compact_no_clogging: same as compact, but fewer cells for ancillas and magic state queues
- edpc: Uses a layout specified in the EDPC paper by Beverland et. al. (https://arxiv.org/abs/2110.11493)
- edpc: Uses a family of layouts based upon the one specified in the EDPC paper by Beverland et. al. (https://arxiv.org/abs/2110.11493)
--numlanes Only compatible with -L edpc. Configures number of free lanes for routing.
--condensed Only compatible with -L edpc. Packs logical qubits more compactly.
--explicitfactories Only compatible with -L edpc. Explicitly specifies factories (otherwise, uses tiles reserved for magic state re-spawn).
--nostagger Turns off staggered distillation block timing
--disttime Set the distillation time (default 10)
--local Compile gates using a local lattice surgery instruction set
-h, --help Shows this page
--local Compile gates into a pair-wise local lattice surgery instruction set
--notwists Compile S gates using the catalytic teleportation circuit from Fowler, 2012 instead of using the twist-based Y state initialization and teleportation from Gidney, 2024
-h, --help Shows this page
```
### OpenQASMmin: a OpenQASM dialect (Experimental)

Expand Down Expand Up @@ -116,7 +120,7 @@ However due to the Haskell platform's own portability challenges and some low le
To generate results according to the compilation scheme written about in [our recent paper](https://arxiv.org/abs/2311.10686), use the following options:

``` shell
lsqecc_slicer -q -i {qasm_filename} -L edpc --disttime 1 --nostagger --local -P wave --printlli sliced -o {lli_filename} -f stats > {stats_filename}
lsqecc_slicer -q -i {qasm_filename} -L edpc --disttime 1 --nostagger --notwists --local -P wave --printlli sliced -o {lli_filename} -f stats > {stats_filename}
```

Results in that paper were generated using [PR #106](https://github.com/latticesurgery-com/liblsqecc/pull/106), and should be reproducible using the current release.
Expand Down Expand Up @@ -149,5 +153,4 @@ The upgraded compiler and its usage in resource estimation should be cited as fo
year={2023},
publisher={ACM New York, NY}
}
```
12 changes: 6 additions & 6 deletions regression_tests/cases/bellbased/3.spec

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6bb5a82

Please sign in to comment.