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