Mappers (qiskit_nature.second_q.mappers)¶
The classes here are used to convert fermionic, bosonic, vibrational and spin operators to qubit operators.
The interface for implementing methods which map from a |
|
Mapper from |
FermionicOp Mappers¶
The Bravyi-Kitaev fermion-to-qubit mapping. |
|
The Bravyi-Kitaev super-fast fermion-to-qubit mapping. |
|
The Jordan-Wigner fermion-to-qubit mapping. |
|
The Parity fermion-to-qubit mapping. |
|
Ternary Tree fermion-to-qubit mapping. |
Note: TernaryTreeMapper maps
MajoranaOp to
SparsePauliOp. In order to use it on a
FermionicOp, convert to a
MajoranaOp first using
MajoranaOp.from_fermionic_op().
Interleaved Qubit-Ordering: If you want to generate qubit operators where the alpha-spin and beta-spin components are mapped to the qubit register in an interleaved (rather than the default blocked) order, you can use the following wrapper:
A |
BosonicOp Mappers¶
The Linear boson-to-qubit mapping. |
|
The Logarithmic boson-to-qubit Mapper. |
VibrationalOp Mappers¶
The Direct mapper. |
SpinOp Mappers¶
The Linear spin-to-qubit mapping. |
|
A mapper for Logarithmic spin-to-qubit mapping. |
Tapered Qubit Mapper¶
If you want to make use of the symmetries of your problem and add a step of tapering after the mapping to qubit operators, you can use the following wrapper for symmetry reduction:
The wrapper around qubit mappers implementing the logic to reduce the size of a problem (operator) based on mathematical |
MixedOp Mappers¶
Mapper of a Mixed Operator to a Qubit Operator. |