qiskit.providers.aer.utils.NoiseTransformer.compute_q¶
-
NoiseTransformer.
compute_q
(As, C)[source]¶ This method creates the vector q for the f(x) = 1/2(x*P*x)+q*x representation of the objective function :param As: list of symbolic matrices repersenting the quadratic program :type As: list :param C: matrix representing the the constant channel matrix :type C: matrix
- Returns
The vector q for the description of the quadaric program
- Return type
list