I am testing circuits which contain mid-circuit reset operations, using Qiskit and IBM Quantum hardware. For 2 qubit simulations, I have a reset operation on one of the qubits and would like to test having simple dynamical decoupling sequences, such as an XXYY gate sequence acting on the idle qubit. But when I transpile the circuit, this transpiles to the identity. Is there any way to keep these dynamical decoupling sequences un-transpiled without going to pulse level?
Edit: I have gotten around this by inserting barriers around the resets, breaking up the circuit according to barriers (using this How to split a Quantum Circuit on a barrier in Qiskit?), then transpiling the circuits without resets separately.