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
While working with the VQR model, we discovered that the predicted values only fall within the range of [-1, 1]. Surprisingly, this information is only documented in the base class NeuralNetworkRegressor.
May I suggest an update to the documentation to ensure this detail is mentioned in the class documentation? It is possible that many developers and researchers might overlook this information, since most of them probably don't check out the base class documentation.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I understand that this isn't directly documented in NeuralNetworkRegressor but that would actually be the wrong place to do it, as this is a more general thing. The output of any circuit using the Estimator primtive is the expectation value of a set of chosen Pauli operators [I, X, Y, Z]. As the eigenvalues of all the Pauli operators are 1 and +1, this forms the range in which any combination of them can reach. For example, if your observable was for a 4 qubit circuit:
Or any other set of Paulis assuming that only 1 is taken per qubit, you will be bounded by [-1, 1]. Within the EstimatorQNN()documentation you can find the default observable is to take the Pauli Z on each qubit.
You could get an output outside of this range for example having multiple observables like:
This would essentially add the expectation value of XXXX and ZZZZ which could be outside of [-1, 1] theoretically. Or you could just increase the multiplier, which is the number after the string:
Anyways, we could still look into adding it explicitly in the documentation, I'll bring this up internally. I appreciate this was a year ago and I apologise that no-one managed to get back to you.
Hello,
While working with the VQR model, we discovered that the predicted values only fall within the range of [-1, 1]. Surprisingly, this information is only documented in the base class NeuralNetworkRegressor.
May I suggest an update to the documentation to ensure this detail is mentioned in the class documentation? It is possible that many developers and researchers might overlook this information, since most of them probably don't check out the base class documentation.
Thanks in advance!
The text was updated successfully, but these errors were encountered: