Add variables and/or linear biases to a binary quadratic model.

Parameters:linear (dict/iterable) – A collection of variables in their associated linear biases. If a dict, should be of the form {v: bias, …} where v is a variable and bias is its associated linear bias. Otherwise should be an iterable of (v, bias) pairs.