“…So depending upon the applications or other hardware constraints, one can design algorithms that optimize or reduce the count/depth of one particular type of quantum gate or other resources. For example, there are algorithms that does T-count and T-depth-optimal synthesis [26,27,28] given a unitary or does re-synthesis of a given circuit with reduced T-count, T-depth [29,30,31] or CNOT-count [32,33,34]. The non-Clifford T gate has known constructions in most of the error correction schemes and the cost of fault-tolerantly implementing it exceeds the cost of the Clifford group gates by as much as a factor of hundred or more [35,36,37].…”