Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to the current API of qiskit-nature #91

Merged
merged 21 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions qiskit_cold_atom/fermions/fermion_gate_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def operator_to_mat(

# in reverse, loop over all individual fermionic creators/annihilators in the opstring:
for symbol, k in reversed(opstrings):

if symbol == "-":
# If this mode is not occupied, the action of '-' on this state is zero
if new_occupations[k] == 0:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
upgrade:
- |
Upgrade the syntax to be compatible with the version 0.7 of the `qiskit-nature`.
fretchen marked this conversation as resolved.
Show resolved Hide resolved
This affects the definitions of FermionicOp as the generator of a FermionicGate and SpinOp for a SpinGate.
FermionicOp now are now built from sparse labels with creators ("+") and annihilators ("-") and SpinOp allows for sparse labels with "X", "Y" and "Z".
LaurinFischer marked this conversation as resolved.
Show resolved Hide resolved
Please see the documentation of qiskit-nature for more details.

Loading