Lean icon indicating copy to clipboard operation
Lean copied to clipboard

QC optimizer doesn't support a custom parameter matrix

Open D1mi3 opened this issue 1 year ago • 0 comments

Expected Behavior

The QC optimizer should be able to receive a custom 2D matrix of parameters and values such as:

{param_1: [1, 2, 5],
param_2: [10, 15, 35]}

Actual Behavior

The QC optimizer only supports a range of values for each parameter with a static step value, which means that consecutive values in each parameter vector must be equally distant one from another. This poses a problem since a lot of times the sensitive parameter values are found at irregular intervals, and trying every intermediate value in their range increases the optimization cost by a large margin. For example:

# 9 combinations
{param_1: [1, 2, 5],
param_2: [10, 15, 35]}

# vs 30 combinations
{param_1: [1, 2, 3, 4, 5], # step =1
param_2: [10, 15, 20, 25, 30, 35]} # step = 5

Potential Solution

Implementing logic for handling a 2D parameter-value matrix.

Checklist

  • [x] I have completely filled out this template
  • [x] I have confirmed that this issue exists on the current master branch
  • [x] I have confirmed that this is not a duplicate issue by searching issues

D1mi3 avatar Sep 27 '24 17:09 D1mi3