Schmitt, BrunoDe Micheli, Giovanni2022-07-182022-07-182022-07-182022-01-0110.23919/DATE54114.2022.9774510https://infoscience.epfl.ch/handle/20.500.14299/189238WOS:000819484300002This work presents tweedledum-an extensible open-source library aiming at narrowing the gap between high-level algorithms and physical devices by enhancing the expressive power of existing frameworks. For example, it allows designers to insert classical logic (defined at a high abstraction level, e.g., a Python function) directly into quantum circuits. We describe its design principles, concrete implementation, and, in particular, the library's core: An intuitive and flexible intermediate representation (IR) that supports different abstraction levels across the same circuit structure.Automation & Control SystemsComputer Science, Hardware & ArchitectureComputer Science, Software EngineeringEngineering, IndustrialEngineering, Electrical & ElectronicAutomation & Control SystemsComputer ScienceEngineeringquantumdesign automationcompilationtweedledum: A Compiler Companion for Quantum Computingtext::conference output::conference proceedings::conference paper