class_docstr: Tests a basic circuit with one rx gate and two simple expectation values.
docstr: Test that expand_state doesn't convert autograd to numpy.
docstr_tok: ["Test","that","expand_state","does","n't","convert","autograd","to","numpy","."]
code: def test_expand_state_keeps_autograd_interface(self):
      """Test that expand_state doesn't convert autograd to numpy."""
  
      @qml.qnode(qml.device("default.qubit", wires=2))
      def circuit(x):
          qml.RX(x, 0)
          return qml.probs(wires=[0, 1])
  
      assert qml.math.get_interface(circuit(1.5)) == "autograd"
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.devices.qubit import simulate, get_final_state, measure_final_state
label_desc: Use image node_id 7 for calling the TestBasicCircuit obj's underlying member method code with example usage: obj.test_expand_state_keeps_autograd_interface() and returns: qml