Juan M. Bello-Rivas

Results 26 issues of Juan M. Bello-Rivas

It would be desirable to write a set of shell and Lisp scripts that exercise tests on DQVM using mpiexec on various processes from the command line. The idea would...

enhancement
good first issue

Each time `apply-matrix-operator` is called in order to apply a given gate, `magicl-matrix-to-quantum-operator` copies the relevant matrix into a newly-allocated array and then calls `matrix-multiply` to evaluate the matrix vector...

enhancement

After issuing `make` using 02a74512a1a0493990c3e727e25f07aecd04b2d2, SBCL 1.5.6 crashes (see below). This issue does not occur with SBCL 1.5.5 though. ``` Zapping info... CORRUPTION WARNING in SBCL pid 25396(tid 0xb7f05c0): Memory...

bug

Implement qubitization for Hamiltonian evolution and/or change the current simulation scheme so that the grouping of terms is done according to stiffness (as done in multiple time-stepping methods for classical...

enhancement :sparkles:

When running the code snippets in grove/docs/vqe.rst the line ``` result = vqe_inst.vqe_run(small_ansatz, hamiltonian, initial_angle, samples=10000, qvm=noisy_qvm)``` Raises the following exception: ```TypeError: vqe_run() got an unexpected keyword argument 'qvm'``` Similarly,...

paramaterized -> parameterized. parametrized -> parameterized (this spelling was chosen for consistency with the rest of the code).

Something like `(from-list '(1.0 2.0 3.0))` should suffice to instantiate a vector with 3 components. Compare with the current state of affairs: `(from-list '(1.0 2.0 3.0) '(3))`. Nested lists with...

enhancement

It looks like it might be possible to speed up the `from-list` function: ```lisp MAGICL> (let* ((n 50000) (xs (loop :for i :below n :collect (coerce i 'double-float)))) (sb-ext:gc :full...

bug

The outcome of ```lisp (magicl.blas-cffi::%ddot 1 (make-array 1 :element-type 'double-float :initial-element 1.0d0) 1 (make-array 1 :element-type 'double-float :initial-element -1.0d0) 1) ``` is `-1.0d0`, as expected. However, the outcome of ```lisp...

bug

A `mult` method on these specialized matrices would speed up matrix arithmetic.

enhancement