-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Embarrassingly parallel TASO (#149)
Use the `CircuitChunks` splitter for running TASO on different parts of the circuit. - Adds a `--split-circ` flag to the taso optimizer bin, to split the circuit before running instead of sharing the full circuit between threads. - Adds a `node_cost` parameter to the splitter to split circuits according to our cost functions. I'm getting some really good results with this, we should test if they are correct :P Optimizing `barenco_tof_10.json` (192 CX gates): - Single thread, 60s timeout: - min cost: 166 CX gates - peak memory usage: 8.48 GB - 2 threads (96-CX chunks), 60s timeout: - min cost: 141 CX gates - peak memory usage: 8.06 GB - 2 threads (96-CX chunks), 30s timeout followed by single thread for 30s: - min cost: 126 CX gates - peak memory usage: 8.01 GB (these are noisy results, as I'm running them on a non-idle laptop) --- Edit: Updated measurements Optimizing barenco_tof_10.json (192 CX gates): - Single thread, 60s timeout: - min cost: 138 CX gates - peak memory usage: 3.20 GB - 2 threads (96-CX chunks), 60s timeout: - min cost: 126 CX gates - peak memory usage: 3.06 GB - 2 threads (96-CX chunks), 30s timeout followed by single thread for 30s: - min cost: 124 CX gates - peak memory usage: 3.05 GB
- Loading branch information
Showing
6 changed files
with
125 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters