Qiskit / qiskit-addon-mthree

Matrix-free Measurement Mitigation
https://qiskit.github.io/qiskit-addon-mthree/
Apache License 2.0
37 stars 27 forks source link

Set default distance to min(num_bits, 3) #243

Closed nonhermitian closed 1 month ago

nonhermitian commented 1 month ago

With low error rates, the max Hamming distance can be restricted to 3 at most. This makes that change.

Setting the max distance distance=num_bits can be set easily via distance=-1.