class_docstr: Tests that the template is compatible with all interfaces, including the computation
  of gradients.
class_docstr_tok: ["Tests","that","the","template","is","compatible","with","all","interfaces",",","including","the","computation","of","gradients","."]
docstr: Tests the weights as a list of lists.
docstr_tok: ["Tests","the","weights","as","a","list","of","lists","."]
code: def test_list_lists(self):
      """Tests the weights as a list of lists."""
      weights = [[0.1, -2.1, 1.4]]
  
      op = qml.RandomLayers(weights, wires=range(3), seed=42)
  
      decomp = op.decomposition()
      expected = [
          qml.RY(weights[0][0], wires=1),
          qml.RX(weights[0][1], wires=2),
          qml.CNOT(wires=[1, 2]),
          qml.RZ(weights[0][2], wires=1),
      ]
  
      for op1, op2 in zip(decomp, expected):
          assert qml.equal(op1, op2)
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling the TestInterfaces obj's underlying member method code with example usage: obj.test_list_lists() without return types