-
Notifications
You must be signed in to change notification settings - Fork 160
Memory-efficient Measurement Error Mitigation #547
Comments
After reading the code, we also found that using |
I'd like to clarify something, which seems to be clear to the author, but maybe not to readers of this issue. The tensored filter can perhaps be made to be memory-efficient, but run time must be exponential. This is not a software thing, but conceptual. The tensored version allows to efficiently calculate That said, one could imagine an option to transmit Even with this imaginary transmission, at the user's side, we eventually end up with a result that may consist of an exponential number of non-zero counts. We can thing of something along the following lines: the original execution of the device used a fixed number of shots, denote it by |
Thanks for making it very clear! Your point is absolutely correct: we have to preserve the number of shots (which can be performed at most polynomial in the number of qubits) and utilize that preservation to make the error-mitigation scalable. The fractional counts of the result of the mitigation should be rounded so as to preserve the number of counts. |
Apparently the paper below already had the answer.. |
We found that measurement-error mitigation that should be memory-efficient, like the TensoredFilter, is implemented with creating a vector whose length is exponential in the number of qubits. This causes the measurement-error mitigation cannot be used when the number of qubits is beyond 25 or more. And the quantum devices we have now already have 65 qubits and more.
What is the expected behavior?
Implement measurement-error mitigation method in memory-efficient manner. For example, the code here should be replaced when dealing with mid and large number of qubits:
https://github.com/Qiskit/qiskit-ignis/blob/master/qiskit/ignis/mitigation/measurement/filters.py#L315
An improvement in the memory efficiency of CTMP method may also needed to deal with more qubits, as the method only requires evaluating sum.
https://github.com/Qiskit/qiskit-ignis/blob/master/qiskit/ignis/mitigation/expval/ctmp_mitigator.py#L126
The text was updated successfully, but these errors were encountered: