qutip / qutip-cupy

CuPy linear-algebra backend for QuTiP
BSD 3-Clause "New" or "Revised" License
19 stars 10 forks source link

creates cupydense in the data layer to be available as a Qobj #41

Open MrRobot2211 opened 3 years ago

MrRobot2211 commented 3 years ago

This lines were missing in order to be able to call operations from a Qobj and test all the functionality directly oin Qobjs.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1182844552

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/qutip_cupy/init.py 3 5 60.0%
<!-- Total: 3 5 60.0% -->
Totals Coverage Status
Change from base Build 1127753560: -0.4%
Covered Lines: 276
Relevant Lines: 315

💛 - Coveralls
MrRobot2211 commented 3 years ago

@hodgestar I checked the diff and this one is ready.

MrRobot2211 commented 3 years ago

Looks like there were some breaking changes on dev.major

hodgestar commented 3 years ago

Looks like there were some breaking changes on dev.major

Yep. Importantly data layer objects no longer support arithmetic operations via *, +, -, etc. For now I would pin the dependency of dev.major to the last working commit and then fix this in a later PR.