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 common iterables as inputs.
docstr_tok: ["Tests","common","iterables","as","inputs","."]
code: def test_list_and_tuples(self, tol):
      """Tests common iterables as inputs."""
  
      features = [1.0, 1.0, 1.0]
  
      dev = qml.device("default.qubit", wires=3)
  
      circuit = qml.QNode(circuit_template, dev)
      circuit2 = qml.QNode(circuit_decomposed, dev)
  
      res = circuit(features)
      res2 = circuit2(features)
      assert qml.math.allclose(res, res2, atol=tol, rtol=0)
  
      res = circuit(tuple(features))
      res2 = circuit2(tuple(features))
      assert qml.math.allclose(res, res2, atol=tol, rtol=0)
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 1 for calling the TestInterfaces obj's underlying member method code with example usage: obj.test_list_and_tuples(tol) without return types