Skip to content

Added (Majorana) fermions to basic operator types.#3360

Open
brad-lackey wants to merge 1 commit into
mainfrom
brlackey/magnets-fermion-classes
Open

Added (Majorana) fermions to basic operator types.#3360
brad-lackey wants to merge 1 commit into
mainfrom
brlackey/magnets-fermion-classes

Conversation

@brad-lackey

Copy link
Copy Markdown
Contributor

Added classes Fermion, FermionString, Majorana, MajoranaString analogous to Pauli and PauliString.

  • Uses internal coding similar to Paulis: fermion creation operator is code 10, fermion annihilation operator is code 11...
  • Update PauliString class with normalization: sort indices and eliminate combine Pauli operators on the same wire.
  • Normalize PauliStrings before exporting to Cirq.
  • Added normalization to MajoranaStrings.
  • Created helper functions "vertex_operator" and "edge_operator" common in fermionic models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant