class_docstr: Tests that the template defines the correct decomposition.
docstr: Test that correct number of entanglers are used in the circuit.
docstr_tok: ["Test","that","correct","number","of","entanglers","are","used","in","the","circuit","."]
code: def test_uses_correct_imprimitive(self, n_layers, n_wires):
      """Test that correct number of entanglers are used in the circuit."""
  
      weights = np.random.randn(n_layers, n_wires, 3)
  
      op = qml.StronglyEntanglingLayers(
          weights=weights, wires=range(n_wires), imprimitive=qml.CZ
      )
      ops = op.expand().operations
  
      gate_names = [gate.name for gate in ops]
      assert gate_names.count("CZ") == n_wires * n_layers
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_uses_correct_imprimitive(n_layers, n_wires) without return types