qutip / qutip-jax

JAX backend for QuTiP
BSD 3-Clause "New" or "Revised" License
15 stars 7 forks source link

Add specialisations that return scalars #8

Closed Ericgig closed 1 year ago

Ericgig commented 1 year ago

Add functions that return properties or measurement of the data layer:

properties: isherm, isdiag, iszero. measurements: expect, expect_super, inner, inner_op. norm: one, trace, max, l2, frobenius.

jitting expect give a nice 100x speedup for small (100x100) matrices.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3251506886


Totals Coverage Status
Change from base Build 3204692475: 0.2%
Covered Lines: 306
Relevant Lines: 319

💛 - Coveralls