def METHOD_NAME(self):
    """Test the quadratic form circuit with parameters."""
    theta = ParameterVector("th", 7)
    p_quadratic = [[theta[0], theta[1]], [theta[2], theta[3]]]
    p_linear = [theta[4], theta[5]]
    p_offset = theta[6]
    quadratic = np.array([[2, 1], [-1, -2]])
    linear = np.array([2, 0])
    offset = 0
    m = 2
    circuit = QuadraticForm(m, p_quadratic, p_linear, p_offset)
    param_dict = dict(zip(theta, [*quadratic[0]] + [*quadratic[1]] + [*linear] + [offset]))
    circuit.assign_parameters(param_dict, inplace=True)
    self.assertQuadraticFormIsCorrect(m, quadratic, linear, offset, circuit)