qutip/qutip — pull request #5 by markusbaden (2012-11-13 15:28:50+00:00)
Title: mesolve and mcsolve accept single operator

With this PR mesolve and mcsolve accept single operators as input for the collapse operator or the operator for which the expectation value is calculated. Internally, a list containing only that operator is constructed and passed on.

I added test cases, by just copying a test that was already there and changing the input to a single operator for the collapse and expectation value respectively. For mcsolve the tests take quite some time, so a simpler test might be better. Any idea?