-
-
Notifications
You must be signed in to change notification settings - Fork 31
Labels
c++Anything related to C++ codeAnything related to C++ codeenhancementAnything related to improvements of the existing libraryAnything related to improvements of the existing libraryrefactorAnything related to code refactoringAnything related to code refactoring
Description
System and Environment Information
Ubuntu- 22.04 in docker image
C++ version
Bug Description
We are using a Device supporting CZ as nativ gate while in Mapper.cpp assert(g->getType() == qc::X ) we propse therefore to extend it for cases of CZ and CY else the method crashes and aboards
Steps to Reproduce
We transpile an arbitrary circuit into an architectures native gate set and try to map it on the couplingmap using Qmap.
Since our gate set contains Cz we need to decompose all Cx operations into HCzH ... . In this case Qmap crashes as it does not handle the case of an operation having controll qubits without being the type of quake.X0P
Metadata
Metadata
Assignees
Labels
c++Anything related to C++ codeAnything related to C++ codeenhancementAnything related to improvements of the existing libraryAnything related to improvements of the existing libraryrefactorAnything related to code refactoringAnything related to code refactoring