
Today, we're excited to announce the release of our Quantum Circuit Optimisation Framework (QCOF), an open-source tool designed to help researchers and developers get the most out of near-term quantum devices. In this post, I'll explain the motivation behind QCOF, describe its key features, and share some benchmark results that demonstrate its effectiveness.
The Challenge of Near-Term Quantum Computing
Current quantum computers—often called Noisy Intermediate-Scale Quantum (NISQ) devices—have significant limitations. Gate errors, limited connectivity, and short coherence times mean that the circuits we design on paper often perform poorly on real hardware.
Circuit optimisation is essential for practical quantum computing. By reducing circuit depth, minimising the number of two-qubit gates, and adapting circuits to hardware topology, we can dramatically improve the success rate of quantum algorithms.
Key Features of QCOF
Topology-Aware Compilation
QCOF understands the connectivity constraints of different quantum processors. Rather than applying generic optimisations, it tailors its approach to specific hardware:
Multi-Stage Optimisation Pipeline
QCOF applies optimisations in a carefully ordered pipeline:
Parameterised Circuit Support
Many quantum algorithms, particularly variational algorithms, use parameterised circuits. QCOF handles these efficiently:
Benchmark Results
We evaluated QCOF on a standard benchmark suite of quantum circuits. Key results:
On real hardware (IBM Quantum), these optimisations translated to significant improvements in output fidelity, with some circuits showing 2-3x improvement in success probability.
Getting Started
QCOF is available now on GitHub under the Apache 2.0 licence. To get started:
pip install qcof
Basic usage:
from qcof import optimise_circuit
from qcof.backends import IBMQuantum
# Load your circuit
circuit = load_circuit("my_circuit.qasm")
# Optimise for specific hardware
backend = IBMQuantum("ibm_lagos")
optimised = optimise_circuit(circuit, backend)
# View optimisation statistics
print(optimised.stats)
We welcome contributions from the quantum computing community. Whether it's bug reports, feature requests, or code contributions, we'd love to hear from you.
Eleanor Chen, Chief Technology Officer
Eleanor Chen
Chief Technology Officer

