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

Add qeye_like and qzero_like #2153

Merged
merged 5 commits into from Apr 14, 2023
Merged

Conversation

Ericgig
Copy link
Member

@Ericgig Ericgig commented Apr 14, 2023

Description
qeye_like, qzero_like and the data layer version, identity_like and zeros_like came up as useful in multiple conversation.
I added them with tests, but I did not go through the code to use them.

@coveralls
Copy link

coveralls commented Apr 14, 2023

Coverage Status

Coverage: 75.613% (-0.002%) from 75.615% when pulling 47fb07c on Ericgig:feature.data_like into eb06fc4 on qutip:master.

qutip/core/operators.py Outdated Show resolved Hide resolved
qutip/core/operators.py Outdated Show resolved Hide resolved
@Ericgig Ericgig merged commit f31688d into qutip:master Apr 14, 2023
12 checks passed
@Ericgig Ericgig deleted the feature.data_like branch April 14, 2023 15:12
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

3 participants