Now we support expval of a sparse Hamiltonian (with Kokkos), but not for the adjoint differentiation method.
On the other hand, expval of a Hamiltonian involving Hermitian is not supported in the forward path (as default.qubit does not support it), but we support it in the adjoint differentiation method.
Now we support
expval
of a sparse Hamiltonian (with Kokkos), but not for the adjoint differentiation method.On the other hand,
expval
of a Hamiltonian involvingHermitian
is not supported in the forward path (asdefault.qubit
does not support it), but we support it in the adjoint differentiation method.