BravyiKitaevSuperFastMapper

class BravyiKitaevSuperFastMapper[source]

Bases: FermionicMapper

The Bravyi-Kitaev super-fast fermion-to-qubit mapping.

This implementation follows closely Reference [1].

References

[1] Kanav Setia and James D. Whitfield, “Bravyi-Kitaev Superfast simulation of electronic structure on a quantum computer”, J. Chem. Phys. 148, 164104 (2018). https://doi.org/10.1063/1.5019371

Methods

map(second_q_ops, *, register_length=None)

Maps a second quantized operator or a list, dict of second quantized operators based on the current mapper.

Parameters:
  • second_q_ops (FermionicOp | List[FermionicOp | None] | Dict[str, FermionicOp]) – A second quantized operator, or list thereof.

  • register_length (int | None) – when provided, this will be used to overwrite the register_length attribute of the SparseLabelOp being mapped. This is possible because the register_length is considered a lower bound in a SparseLabelOp.

Returns:

A qubit operator in the form of a SparsePauliOp, or list (resp. dict) thereof if a list (resp. dict) of second quantized operators was supplied.

Return type:

SparsePauliOp | List[SparsePauliOp | None] | Dict[str, SparsePauliOp]