qibo icon indicating copy to clipboard operation
qibo copied to clipboard

Transpiler Refactor

Open csookim opened this issue 4 months ago • 1 comments

wire_names stores the qubit names, and Gate.qubits contains the index of the target qubit names in wire_names. However, wire_names is currently ignored during the transpilation process. The transpilation needs to be updated to ensure consistency across Qibo.

This update should include:

  • [x] Integration of wire_names with initial_layout and final_layout.
  • [x] Consistency between wire_names and connectivity.
  • [ ] Modifications to the transpilation pass.
  • [x] Updating default transpiler.
  • [x] Updating test files.
  • [ ] Usage of wire_names in the QibolabBackend https://github.com/qiboteam/qibolab/issues/1073
Related Issues

https://github.com/qiboteam/qibo/pull/1440#discussion_r1800997851

https://github.com/qiboteam/qibo/pull/1440#discussion_r1801000856

#1429

References

https://github.com/qiboteam/qibo/pull/1440#issuecomment-2402489708 https://github.com/qiboteam/qibo/pull/1440#discussion_r1795647536

csookim avatar Oct 16 '24 11:10 csookim