Feature Description
Add support for unrolling the control qubit register when n>1. Example:
Original
OPENQASM 3.0;
include "stdgates.inc";
qubit[2] a;
qubit b;
ctrl (2) @ x a, b[0];
Unrolled
OPENQASM 3.0;
include "stdgates.inc";
qubit[2] a;
qubit[1] b;
ccx a[0], a[1], b[0];
Implementation (Optional)
Modify the visitor _visit_generic_gate_operation and related methods
Feature Description
Add support for unrolling the control qubit register when n>1. Example:
Original
Unrolled
Implementation (Optional)
Modify the visitor
_visit_generic_gate_operationand related methods