qat
qat copied to clipboard
Create pass to trim qubits that were never "used"
Qubits that are allocated and operated on, but never measured should be trimmed.
Consider cases where they are used in circuits where other qubits are measured such as CNOT