code: def MultiRZ2(theta):
      r"""Arbitrary multi Z rotation on two wires.
  
      Args:
          theta (float): rotation angle
  
      Returns:
          array: the two-wire MultiRZ matrix
      """
      return math.array(
          [
              [
                  math.exp(-1j * theta / 2),
                  0.0 + 0.0j,
                  0.0 + 0.0j,
                  0.0 + 0.0j,
              ],
              [
                  0.0 + 0.0j,
                  math.exp(1j * theta / 2),
                  0.0 + 0.0j,
                  0.0 + 0.0j,
              ],
              [
                  0.0 + 0.0j,
                  0.0 + 0.0j,
                  math.exp(1j * theta / 2),
                  0.0 + 0.0j,
              ],
              [
                  0.0 + 0.0j,
                  0.0 + 0.0j,
                  0.0 + 0.0j,
                  math.exp(-1j * theta / 2),
              ],
          ]
      )
  
imports: import pennylane
  from pennylane import numpy
  from pennylane import math
label_desc: Use image node_id 14 for calling a global function with example usage: MultiRZ2(theta) and returns: math