PennyLaneAI / pennylane-cirq

The PennyLane-Cirq plugin integrates Google's Cirq software library with with PennyLane's quantum machine learning capabilities.
https://docs.pennylane.ai/projects/cirq
Apache License 2.0
50 stars 18 forks source link

Replace qml.QubitDevice with qml.devices.QubitDevice #195

Closed Alex-Preciado closed 2 weeks ago

Alex-Preciado commented 2 weeks ago

pennylane.QubitDevice has been deprecated as of PennyLane v0.39. This PR ensures that QubitDevice is now imported from pennylane.devices instead.

This PR is a followup to https://github.com/PennyLaneAI/pennylane-cirq/pull/194 where some of these changes seem to have been overlooked.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.42%. Comparing base (725ef8f) to head (212c8ee). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #195 +/- ## ======================================= Coverage 99.42% 99.42% ======================================= Files 8 8 Lines 350 350 ======================================= Hits 348 348 Misses 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

astralcai commented 2 weeks ago

This PR is a followup to https://github.com/PennyLaneAI/pennylane-cirq/pull/194 where some of these changes seem to have been overlooked.

Oooooooops 😅