Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taking into account both T gates and Toffoli gates in the cost estimation #769

Open
PabloAMC opened this issue Feb 6, 2022 · 0 comments

Comments

@PabloAMC
Copy link

PabloAMC commented Feb 6, 2022

Right now only Toffoli gates are taken into account for the estimation of time and physical qubits required to synthesize non-Clifford gates in the circuit.

def cost_estimator(num_logical_qubits,
num_toffoli,
physical_error_rate=1.0E-3,
portion_of_bounding_box=1.):
"""
Produce best cost in terms of physical qubits and real run time based on
number of toffoli, number of logical qubits, and physical error rate.
"""

From a Toffoli gate, 2 T gates might be obtained (https://quantum-journal.org/papers/q-2019-04-30-135/pdf/). However, the cost is not exactly 1->2 as the conversion takes time etc. I think adding T gates would be a great idea, in part because T gates are more natural when it comes to rotations, even if it seems that all state-of-the-art methods heavily rely on Toffolis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant