class_docstr: Tests for the PauliGroupingStrategy class
class_docstr_tok: ["Tests","for","the","PauliGroupingStrategy","class"]
docstr: Constructing the complement of QWC graph's adjacency matrix for a list of identity
  operations and various symmetric binary relations
docstr_tok: ["Constructing","the","complement","of","QWC","graph","'s","adjacency","matrix","for","a","list","of","identity","operations","and","various","symmetric","binary","relations"]
code: def test_construct_complement_qwc_adj_matrix_for_trivial_operators(
      self, observables
  ):
      """Constructing the complement of QWC graph's adjacency matrix for a list of identity
      operations and various symmetric binary relations"""
  
      qwc_complement_adjacency_matrix = np.array(
          [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
      )
  
      grouping_instance = PauliGroupingStrategy(observables, "qwc")
      assert (
          grouping_instance.complement_adj_matrix_for_operator()
          == qwc_complement_adjacency_matrix
      ).all()
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import Identity, PauliX, PauliY, PauliZ
  from pennylane.pauli import are_identical_pauli_words
  from pennylane.pauli.grouping.group_observables import PauliGroupingStrategy, group_observables
  from pennylane import numpy
label_desc: Use image node_id 6 for calling the TestPauliGroupingStrategy obj's underlying member method code with example usage: obj.test_construct_complement_qwc_adj_matrix_for_trivial_operators(observables) without return types