Skip to content

Build a simple circuit optimization routine for single-qubit gates #265

@BoxiLi

Description

@BoxiLi

Automatically generated circuits after decomposition into native gates often have redundant single qubit gates, e.g., 5 single qubit rotations in a sequence. They can be compressed and simplified through e.g. ZYZ decomposition and result in much shorter circuits. Based on the single qubit decomposition method in https://github.com/qutip/qutip-qip/tree/master/src/qutip_qip/decompose, we can build a function that takes a circuit, optimizes it by reducing the number of single qubit gate and then return a shorter circuit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions