mindquantum.algorithm.compiler.cnrz_decompose
=============================================

.. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.5.0/resource/_static/logo_source.svg
    :target: https://gitee.com/mindspore/mindquantum/blob/r0.10/docs/api_python/algorithm/compiler/mindquantum.algorithm.compiler.cnrz_decompose.rst
    :alt: 查看源文件


.. py:function:: mindquantum.algorithm.compiler.cnrz_decompose(gate: gates.RZ)

    分解一个受控的 :class:`~.core.gates.RZ` 门。

    参数:
        - **gate** (:class:`~.core.gates.RZ`) - 有零或多个控制位的 :class:`~.core.gates.RZ` 门。

    返回:
        List[:class:`~.core.circuit.Circuit`],可能的分解方式。