You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the third step of #967 we should implement a TaperedQubitMapper which gathers all the Z2Symmetries-related tapering techniques currently controlled via the QubitConverter in a single QubitMapper wrapper:
classTaperedQubitMapper:
def__init__(self, mapper: QubitMapper, z2symmetries: list[int]):
...
@classmethoddeffrom_problem(cls, mapper: QubitMapper, problem: ElectronicStructureProblem):
# implies the previous z2symmetries == "auto" case# extract problem.hamiltonian and problem.symmetry_sector_locatordefmap(self):
# uses self.mapper.map + applies tapering# provide 2-step tapering i.e. one method for _only_ mapping and one to apply tapering on-top# this is necessary for cases like the HF bitstring and qEOM
Just like with my proposal in #973, this mapper will be stateful.
What should we add?
As the third step of #967 we should implement a
TaperedQubitMapper
which gathers all theZ2Symmetries
-related tapering techniques currently controlled via theQubitConverter
in a singleQubitMapper
wrapper:Just like with my proposal in #973, this mapper will be stateful.
This is blocked by Qiskit/qiskit#9140
The text was updated successfully, but these errors were encountered: