Python Set Optional Parameter Angular Momentum Operator