class_docstr: Unit tests for operations supported by the default.mixed device with JAX
docstr: Test applying a state vector to a subset of wires of the full subsystem
code: def test_partial_subsystem(self, mocker):
      """Test applying a state vector to a subset of wires of the full subsystem"""
  
      dev = DefaultMixed(wires=["a", "b", "c"])
      state = jnp.array([1, 0, 1, 0]) / jnp.sqrt(2.0)
      state_wires = qml.wires.Wires(["a", "c"])
  
      spy = mocker.spy(qml.math, "scatter")
      dev._apply_state_vector(state=state, device_wires=state_wires)
  
      state = jnp.kron(
          jnp.outer(state, jnp.conj(state)), jnp.array([[1, 0], [0, 0]])
      )
  
      assert np.all(jnp.reshape(dev._state, (8, 8)) == state)
      spy.assert_called()
  
imports: from functools import partial
  import pytest
  import numpy
  import pennylane
  from pennylane import numpy
  from pennylane.devices.default_mixed import DefaultMixed
label_desc: Use image node_id 3 for calling the TestOps obj's underlying member method code with example usage: obj.test_partial_subsystem(mocker) without return types