qiskit icon indicating copy to clipboard operation
qiskit copied to clipboard

Add CCZ and CS gates to the circuit library and CNOTDihedral class

Open ShellyGarion opened this issue 2 years ago • 0 comments

What should we add?

The CCZ gate is locally equivalent (up to 1-qubit gates) to the CCXGate (Toffoli gate).

The CS gate is locally equivalent (up to 1-qubit gates) to the CSXGate.

First, it may be useful to add these two gates to the circuit library.

Then, one can also add them to the CNOTDihedral class, to obtain a better synthesis of CNOT-Dihedral circuits, using: https://github.com/Qiskit/qiskit-terra/blob/main/qiskit/quantum_info/synthesis/cnotdihedral_decompose.py

ShellyGarion avatar Aug 11 '22 09:08 ShellyGarion