PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.17k stars 568 forks source link

Support qubit operator in ``from_openfermion`` #5881

Closed soranjh closed 1 week ago

soranjh commented 1 week ago

Context: The from_openfermion function is updated to supports the conversion of qubit operators in addition to fermionic operators.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

github-actions[bot] commented 1 week ago

Hello. You may have forgotten to update the changelog! Please edit doc/releases/changelog-dev.md with:

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 99.66%. Comparing base (50e009a) to head (7d37173).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5881 +/- ## ========================================== - Coverage 99.67% 99.66% -0.01% ========================================== Files 422 422 Lines 40663 40355 -308 ========================================== - Hits 40530 40221 -309 - Misses 133 134 +1 ```

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