Cirq icon indicating copy to clipboard operation
Cirq copied to clipboard

Implement dynamical decoupling transformer

Open babacry opened this issue 1 year ago • 4 comments

Enable dynamical decoupling operations insertion

Acceptance criteria - Users are able to use the transformer to insert dynamical decoupling sequences based on their preferences

babacry avatar May 01 '24 20:05 babacry

#6515 In review to support adding dynamical sequence with 4 given schemes, and also allow user to customize their dynamical decoupling sequence.

babacry avatar May 01 '24 20:05 babacry

Suggestions from snichet@

  1. Feature 1 Might be nice to have an option only to insert DD gates on moments that only have single qubits gates. On the hardware, the calibrations for the gates do not include calibrating single qubits and two qubits gates concurrently.
  2. Feature 2 It seems like this is only inserting X gates on consecutive idle moments. I think the next step would be to divide the circuit into moments that are Clifford, then insert X gates on all idle single qubit moments (and perhaps also idle 2 qubit moments, but the caveat is my comment above). Then use the fact that Clifford circuits can be quickly and efficiently simulated to put the correct Clifford gate at the end of the group of moments, to inverse all the previous inserted gates. For CZ gates, this should just be a X, Y or Z gate, i believe.

The features will be considered after #6515

babacry avatar May 01 '24 20:05 babacry

#6675 implemented features above.

babacry avatar Jul 24 '24 06:07 babacry

#6718

  1. Insert for each Clifford piece.
  2. Insert for single-qubit consecutive moments.

babacry avatar Sep 05 '24 19:09 babacry