code: def _pauliZ(wire):
      qml.sample(qml.PauliZ(wires=wire))
  
imports: import inspect
  from functools import partial
  from typing import Callable, List, Optional, Sequence, Tuple, Union
  import numpy
  from networkx import MultiDiGraph
  import pennylane
  from pennylane.measurements import SampleMP
  from pennylane.queuing import AnnotatedQueue
  from pennylane.tape import QuantumScript, QuantumTape
  from pennylane.transforms import transform
  from pennylane.wires import Wires
  from .cutstrategy import CutStrategy
  from .kahypar import kahypar_cut
  from .processing import qcut_processing_fn_mc, qcut_processing_fn_sample
  from .tapes import _qcut_expand_fn, graph_to_tape, tape_to_graph
  from .utils import find_and_place_cuts, fragment_graph, replace_wire_cut_nodes, MeasureNode, PrepareNode, _prep_iminus_state, _prep_iplus_state, _prep_minus_state, _prep_one_state, _prep_plus_state, _prep_zero_state
label_desc: Use image node_id 7 for calling a global function with example usage: _pauliZ(wire) without return types