Add the state_vector
, measurement
class and simulate
method for the LightningGPU with the new device API
#892
74.53% of diff hit (target 74.66%)
View this Pull Request on Codecov
74.53% of diff hit (target 74.66%)
Annotations
Check warning on line 24 in pennylane_lightning/lightning_gpu/_measurements.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_measurements.py#L24
Added line #L24 was not covered by tests
Check warning on line 109 in pennylane_lightning/lightning_gpu/_measurements.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_measurements.py#L106-L109
Added lines #L106 - L109 were not covered by tests
Check warning on line 150 in pennylane_lightning/lightning_gpu/_measurements.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_measurements.py#L150
Added line #L150 was not covered by tests
Check warning on line 22 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L22
Added line #L22 was not covered by tests
Check warning on line 64 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L63-L64
Added lines #L63 - L64 were not covered by tests
Check warning on line 67 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L66-L67
Added lines #L66 - L67 were not covered by tests
Check warning on line 70 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L69-L70
Added lines #L69 - L70 were not covered by tests
Check warning on line 75 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L75
Added line #L75 was not covered by tests
Check warning on line 80 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L78-L80
Added lines #L78 - L80 were not covered by tests
Check warning on line 85 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L83-L85
Added lines #L83 - L85 were not covered by tests
Check warning on line 92 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L92
Added line #L92 was not covered by tests
Check warning on line 98 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L98
Added line #L98 was not covered by tests
Check warning on line 102 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L101-L102
Added lines #L101 - L102 were not covered by tests
Check warning on line 105 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L104-L105
Added lines #L104 - L105 were not covered by tests
Check warning on line 111 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L110-L111
Added lines #L110 - L111 were not covered by tests
Check warning on line 119 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L116-L119
Added lines #L116 - L119 were not covered by tests
Check warning on line 121 in pennylane_lightning/lightning_gpu/_mpi_handler.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_mpi_handler.py#L121
Added line #L121 was not covered by tests
Check warning on line 24 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L24
Added line #L24 was not covered by tests
Check warning on line 93 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L93
Added line #L93 was not covered by tests
Check warning on line 112 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L112
Added line #L112 was not covered by tests
Check warning on line 181 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L181
Added line #L181 was not covered by tests
Check warning on line 184 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L184
Added line #L184 was not covered by tests
Check warning on line 225 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L224-L225
Added lines #L224 - L225 were not covered by tests
Check warning on line 229 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L228-L229
Added lines #L228 - L229 were not covered by tests
Check warning on line 258 in pennylane_lightning/lightning_gpu/_state_vector.py
codecov / codecov/patch
pennylane_lightning/lightning_gpu/_state_vector.py#L258
Added line #L258 was not covered by tests