Forensics of Transpiled Quantum Circuits
Rupshali Roy, Archisman Ghosh, Swaroop Ghosh
TL;DR
This work tackles the problem of backend transparency in cloud-based quantum computing by proposing a forensics approach that derives the hardware coupling map from transpiled circuits. The method hinges on detecting SWAP-based routing and constructing a swap-history signature to infer the effective coupling graph, then combining results across many circuits to reconstruct the backend topology. Experiments on IBM backends with linear, T-shaped, H-shaped, and loop couplings show high accuracy: the coupling map can be extracted with complete accuracy for almost all cases, and up to $97.33\%$ of programs traced to the correct backend; full backend maps can be recovered with modest numbers of circuits, even in mixed-backend pools. This work demonstrates a practical step toward trust and accountability in quantum cloud services and provides a foundation for forensics in future quantum tooling.
Abstract
Many third-party cloud providers set up quantum hardware as a service that includes a wide range of qubit technologies and architectures to maximize performance at minimal cost. However, there is little visibility to where the execution of the circuit is taking place. This situation is similar to the classical cloud. The difference in the quantum scenario is that the success of the user program is highly reliant on the backend used. Besides, the third-party provider may be untrustworthy and execute the quantum circuits on less efficient and more error-prone hardware to maximize profit. Thus, gaining visibility on the backend from various aspects will be valuable. Effective forensics can have many applications including establishing trust in quantum cloud services. We introduce the problem of forensics in the domain of quantum computing. We trace the coupling map of the hardware where the transpilation of the circuit took place from the transpiled program. We perform experiments on various coupling topologies (linear, T-shaped, H-shaped, and loop) on IBM backends. We can derive the coupling map from the transpiled circuits with complete accuracy for almost every transpiled circuit we considered. We could correctly trace 97.33% of the programs to the correct backend.
