iqm.iqm_client.transpile.simplify_architecture

iqm.iqm_client.transpile.simplify_architecture#

iqm.iqm_client.transpile.simplify_architecture(arch: DynamicQuantumArchitecture, *, remove_resonators: bool = True) DynamicQuantumArchitecture#

Converts the given IQM Star quantum architecture into the equivalent simplified quantum architecture.

See iqm.iqm_client.transpile for the details.

Adds fictional gates, abstracts away their gate implementations. Returns arch itself if it does not contain computational resonators (in which case nothing will change).

Parameters:
  • arch (DynamicQuantumArchitecture) – quantum architecture to convert

  • remove_resonators (bool) – iff False, return the union of the simplified and real architectures

Returns:

equivalent quantum architecture with fictional gates

Return type:

DynamicQuantumArchitecture