You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Please describe what you would like the feature to accomplish.
The ResourcesEstimator does not take potential dependencies between width and depth into account, which may result in resource estimates that seem inconsistent. This issue is to discuss alternatives on how to make the output more clear.
The following example illustrates the problem:
Q# code:
namespaceNamespace {
openMicrosoft.Quantum.Canon;
operationOperation() : Unit {
using (qs=Qubit[6]) {
ApplyLowDepthAnd(qs[0], qs[1], qs[2]);
ApplyLowDepthAnd(qs[3], qs[4], qs[5]);
}
}
}
Metric Sum
CNOT 16
QubitClifford 6
R 0
Measure 0
T 8
Depth 1
Width 7
BorrowedWidth 0
Here, width and depth are conflicting, because we cannot distribute 8 T gates over 7 qubits in depth 1.
Describe the solution you'd like
At least change the output to ToTSV() and add clarifications to the documentation. The preferred solution would be to output consistent width and depth estimates.
vadym-kl, thomashaener, cryptosidh, martinquantum and tigerjackfvirdia