The University of Texas at Austin
Succinct function representations for simulation and verification
Abstract
dc:description.abstractEfficient representation of data encoded as Boolean functions---used to model matrices, relations, etc.---is fundamental to several areas of computer science. Binary Decision Diagrams (BDDs) provide a compact representation of such functions and have become a cornerstone of symbolic methods in verification, program analysis, and, more recently, simulation of quantum circuits on classical hardware. However, many BDD-based applications suffer from a pronounced intermediate-size swell: although the initial and final BDDs may remain compact, intermediate representations generated during a computation can grow substantially larger and, in the worst case, increase exponentially in size. Consequently, this size-explosion phenomenon often limits the applicability of BDD-based techniques to problems involving only a few hundred Boolean variables. To address this limitation, we introduce hierarchy into decision-diagram representations, enabling greater sharing of substructures than is possible with traditional BDDs. The central theme of this dissertation is that embedding hierarchical structure within decision diagrams allows recurring patterns in Boolean and pseudo-Boolean functions to be captured systematically, resulting in more scalable and efficient representations. Toward this goal, we propose Context-Free-Language Ordered Binary Decision Diagrams (CFLOBDDs), which can represent Boolean functions exponentially more succinctly than BDDs, and double-exponentially more succinctly than decision trees, in the best case. They have the potential to permit applications to (i) execute much faster, and (ii) handle much larger problem instances than has been possible heretofore. We applied CFLOBDDs in quantum-circuit simulation, and found that for several standard problems the improvement in scalability, compared to BDDs, is quite dramatic. With a 15-minute timeout, the number of qubits that CFLOBDDs can handle are 65,536 for GHZ, 524,288 for BV; 4,194,304 for DJ; and 4,096 for Grover’s Algorithm, besting BDDs by factors of 128x, 1,024x, 8,192x, and 128x, respectively. We investigated to what extent linear structure---as well as hierarchical structure---contributes to the ability of CFLOBDDs to support compact representations of Boolean functions. We found that both linear and hierarchical structures are essential for achieving compact function representations. However, CFLOBDDs enforce a balanced partitioning of variables, which can make the representation overly rigid. To address this limitation, we introduced Generalized CFLOBDDs (GCFLOBDDs), which support arbitrary input grammars and thereby offer greater structural flexibility. We compared GCFLOBDDs with CFLOBDDs and BDDs on combinational circuits and synthetic benchmarks. The results show that GCFLOBDDs instantiated with suitable custom grammars can perform better than BDDs on many benchmarks (in terms of representation size), and consistently outperform CFLOBDDs: achieving up to 99.9% reduction in representation size, and execution-time improvements of up to 4.59x. We further extended CFLOBDDs by introducing edge weights, yielding Weighted Context-Free-Language Ordered BDDs (WCFLOBDDs), a weighted decision diagram analogous to Weighted BDDs, but with hierarchical structure. WCFLOBDDs can be exponentially more succinct than WBDDs and CFLOBDDs, in the best case. Compared to CFLOBDDs, WCFLOBDDs are particularly useful when the output domain contains many distinct values. Applied to quantum-circuit simulation, WCFLOBDDs outperform WBDDs on several benchmarks, handling up to 64x more qubits (and up to 128x more than CFLOBDDs) within a 15-minute timeout. These results suggest that WCFLOBDDs combine the strengths of weighted and hierarchical representations, offering improved scalability for this domain. Finally, we created Quasimodo, an easily extensible, open-source Python library for symbolic simulation of quantum circuits. It allows simulations of quantum circuits, checking properties of the outputs of quantum circuits, and debugging quantum circuits. It also allows the user to choose from among several symbolic data-structures---CFLOBDDs, BDDs, WBDDs, and WCFLOBDDs---and can be easily extended to support other symbolic data-structures.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Sistla, Meghana Aparna
- Advisor dc:contributor.advisor
-
- Chaudhuri, Swarat
- Committee members dc:contributor.committeemember
-
- Reps, Thomas W.
- Hunt, Jr., Warren A.
- McMillan, Kenneth L.
- ORCID person:identifier.orcid
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- English
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/136696