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

Allow distinguishing identityoperator(b) case #15

Merged
merged 2 commits into from
Jun 23, 2023

Conversation

amilsted
Copy link
Collaborator

In QuantumOpticsBase, it's nice to be able to distinguish square from non-square identity matrices at compile time.

This change requires implementers of identityoperator to provide identityoperator(::Type{T}, b::Basis), so we need to make sure this happens everywhere if we make this change.

@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Merging #15 (274b7d2) into main (7e24969) will decrease coverage by 1.74%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   17.51%   15.77%   -1.74%     
==========================================
  Files          12       12              
  Lines         394      374      -20     
==========================================
- Hits           69       59      -10     
+ Misses        325      315      -10     
Impacted Files Coverage Δ
src/identityoperator.jl 0.00% <0.00%> (ø)

... and 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Krastanov Krastanov merged commit 736960d into qojulia:main Jun 23, 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.

2 participants