Refactor _process_input into helper functions and move all attribute assignment into __init__.
Refactor _process_input into helper functions and move all attribute assignment into __init__.

cgranade/qutip,cgranade/qutip,qutip/qutip,qutip/qutip