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

make element-type of zero_ket as complex #201

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Conversation

ytdHuang
Copy link
Member

As title, because usually people will make a zero ket first and start to stack some values at different position of the vector.
It would be better to generate it with the element-type ComplexF64, so that users can directly assign complex values to it.

Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.20%. Comparing base (1dc43b9) to head (c917a16).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #201   +/-   ##
=======================================
  Coverage   93.20%   93.20%           
=======================================
  Files          28       28           
  Lines        2150     2150           
=======================================
  Hits         2004     2004           
  Misses        146      146           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ytdHuang ytdHuang merged commit 5499a17 into qutip:main Aug 13, 2024
14 checks passed
@ytdHuang ytdHuang deleted the fix/zero-ket branch August 13, 2024 14: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.

2 participants