| CPC G06N 10/70 (2022.01) [G06F 8/20 (2013.01); G06F 11/004 (2013.01); G06N 10/00 (2019.01); G06N 10/20 (2022.01); G06N 10/40 (2022.01); H03K 19/003 (2013.01); H03M 13/033 (2013.01); H03M 13/2909 (2013.01); H03M 13/611 (2013.01); G06F 2111/10 (2020.01); G06F 2201/82 (2013.01)] | 8 Claims |

|
1. A method for transforming a CCZ state into three T states, the method comprising:
obtaining a first target qubit, a second target qubit and a third target qubit in a CCZ state;
performing a X−1/2 gate on the third target qubit;
performing an X gate on the first target qubit and the second target qubit using the third target qubit as a control;
performing a Z gate on the first target qubit and the second target qubit using the third qubit as a X axis control;
performing a Z−1/4 gate on the third target qubit; and
performing a Z gate on the first target qubit and the second target qubit using the third qubit as a X axis control to obtain the three T states.
|