check out the paper for more details!
cs.nyu.edu/~shw8119/25/...
@shwestrick.bsky.social
assistant professor @NYU Courant CS :: programming languages :: parallel computing :: music :: lead dev of the MaPLe compiler (https://github.com/mpllang/mpl) https://cs.nyu.edu/~shw8119/
check out the paper for more details!
cs.nyu.edu/~shw8119/25/...
Additionally, OAC outperforms existing quantum circuit optimizers, often producing a better quality final circuit in orders of magnitude less time.
24.10.2025 16:40 β π 0 π 0 π¬ 1 π 0In our experiments, we confirm that OAC performs strictly better than the naive chunked strategy, sometimes significantly so, removing thousands more gates from large circuit instances. This confirms that "melding" is important for circuit quality.
24.10.2025 16:40 β π 0 π 0 π¬ 1 π 0We call our algorithm OAC, for "optimize and compact".
We prove that this algorithm only calls the oracle productively: the number of additional calls to the oracle (due to melding, etc) is bounded by the number of optimizations found.
Melding can in turn expose even more opportunities for optimizations of individual chunks. So, after melding, we can continue optimizing recursively until convergence on a circuit which is (in some sense) "locally optimal" relative to the size-constrained oracle.
24.10.2025 16:40 β π 0 π 0 π¬ 1 π 0To address this, we develop a "melding" algorithm which identifies and performs additional optimizations across the boundaries.
24.10.2025 16:40 β π 0 π 0 π¬ 1 π 0But this immediately raises a question. Surely, this approach must miss optimizations that are possible across the boundaries between pieces, right?
(As you might expect, the answer is yes.)
thinking of these tools as black box optimizers or "oracles", a natural strategy would be to chunk up the circuit into small pieces and apply the oracle to each piece. This easily guarantees that the exponential searches are bounded and do not explode (in time/space)
24.10.2025 16:40 β π 0 π 0 π¬ 1 π 0the key challenge here is optimizing a large quantum circuit (with, e.g., hundreds of thousands of gates)
many existing tools are essentially superoptimizers, with exponential search spaces, and therefore can only handle "small" circuits in a reasonable amount of time/space
happy to announce that, earlier this Fall, our QCE'25 paper "Local Optimization of Quantum Circuits" received a Best Paper award!
cs.nyu.edu/~shw8119/25/...
These days, you can buy such a machine for ~$3K. Thatβs a lot of compute per buck. Medium-scale parallelism is quite affordable
(βMedium scaleβ meaning large-ish single-node.)
I believe the idea (in ~2015) was: if youβre considering purchasing a car, consider spending your money on this 72-core 1TB multicore machine instead. Theyβre a similar price!
22.10.2025 23:24 β π 0 π 0 π¬ 1 π 0@anil.recoil.org might find this interesting!
22.10.2025 23:23 β π 0 π 0 π¬ 1 π 0for even more context: Laxman has been exploring the limits of what is possible on single-node parallel machines. This talk is about a recent SPAA paper.
Theyβre getting great scalability up to 8TB on a single node
for context, this slide is ~10 years old
22.10.2025 21:50 β π 0 π 0 π¬ 1 π 0the famous Nissan Leaf slide returns!
Laxman Dhulipala emphasizes the benefits of single-node, shared memory parallelism
one day, my apartment will look like this
18.10.2025 01:31 β π 22 π 2 π¬ 1 π 0Extremely cool work on a mechanically verified garbage collector for OCaml using F* by Sheera Samsu, @kcsrk.info and colleagues at the OCaml Workshop #icfpsplash25
17.10.2025 03:31 β π 22 π 7 π¬ 0 π 0Martin Elsman wraps up the day with Compositional Deep Argument Flattening, a method for summarizing flattening transformations to enable optimizations across compilation unit boundaries
16.10.2025 13:36 β π 0 π 0 π¬ 0 π 0Yanni Lefki (together with Arthur CharguΓ©raud) develop βBinding Boolean Expressionsβ, a core calculus for generalized pattern matching, guards, and case statements
16.10.2025 13:33 β π 2 π 1 π¬ 0 π 0Samuel Vivien presents his recent work (together with Didier RΓ©my) on Implicit Modules, an important step towards the long-standing Modular Implicits proposal for OCaml: a way to get the compiler to insert the function you need, automatically
16.10.2025 13:26 β π 9 π 2 π¬ 0 π 0When putting together the program, I noticed that there hadnβt been much CakeML at the ML Family Workshop, at least in the past decade.
Yong Kiamβs talk was excellent! π
I am endlessly impressed with CakeML β such an exciting project
Yong Kiam overviews the design of CakeML and all of the successes of the project over the years!
16.10.2025 13:14 β π 0 π 0 π¬ 1 π 0Viviana Bono tackles representing structured knowledge databases as CDuce types
www.cduce.org
Wenhao Tang motivates βFreezing Bidirectional Typingβ, a new type inference scheme with some cool π§ and spooky π» features
16.10.2025 09:04 β π 0 π 0 π¬ 0 π 054 bit integers by default on the JavaScript backend! What a cool trick
16.10.2025 08:59 β π 0 π 0 π¬ 0 π 0Mizuki Arata presents LunarML β an impressive implementation!! It compiles standard ML down to either Lua or JavaScript. Tons of features. Check it out! github.com/minoki/LunarML
16.10.2025 05:23 β π 4 π 3 π¬ 1 π 0John presents new compiler optimization work inside of SML/NJ β
16.10.2025 03:07 β π 1 π 0 π¬ 0 π 0Dave is up! Calling in all the way from the Oregon coast
16.10.2025 02:38 β π 1 π 0 π¬ 0 π 0you can follow the live feed here:
www.youtube.com/live/8B4VrU_...