Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ket generation from a list with Qobj #71

Merged
merged 1 commit into from
Feb 3, 2014

Conversation

stared
Copy link
Contributor

@stared stared commented Jan 30, 2014

I used to be that Qobj([1,2]) and Qobj([[1,2]]) gives the same result, a type=bra state.

Now the former produces type=ket state.

And now it is consistent with generation Qobj(np.array([1,2])) and Qobj(np.array([[1,2]])), respectively.

nonhermitian added a commit that referenced this pull request Feb 3, 2014
Fixed ket generation from a list with Qobj
@nonhermitian nonhermitian merged commit 77e3d7e into qutip:master Feb 3, 2014
@stared stared deleted the ket_generation branch February 3, 2014 10:01
splch pushed a commit to splch/qutip that referenced this pull request Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants