class_docstr: Integration tests for default.gaussian. This test ensures it integrates
  properly with the PennyLane interface, in particular QNode.
class_docstr_tok: ["Integration","tests","for","default.gaussian",".","This","test","ensures","it","integrates","properly","with","the","PennyLane","interface",",","in","particular","QNode","."]
docstr: Test that multiple measurements raise an error with the new return type.
docstr_tok: ["Test","that","multiple","measurements","raise","an","error","with","the","new","return","type","."]
code: def test_new_return_type_error_multi_measurements(self):
      """Test that multiple measurements raise an error with the new return type."""
      dev = qml.device("default.gaussian", wires=2)
  
      @qml.qnode(dev)
      def circuit():
          """Test quantum function"""
          return qml.sample(qml.QuadX(0)), qml.expval(qml.QuadX(1))
  
      with pytest.raises(
          qml.QuantumFunctionError,
          match="Default gaussian only support single measurements.",
      ):
          circuit()
  
imports: import numpy
  import numpy.random
  import pytest
  from scipy.linalg import block_diag
  from scipy.special import factorial
  import pennylane
  from pennylane import DeviceError
  from pennylane.devices.default_gaussian import fock_prob, rotation, squeezing, quadratic_phase, beamsplitter, two_mode_squeezing, controlled_addition, controlled_phase, vacuum_state, coherent_state, squeezed_state, displaced_squeezed_state, thermal_state
  from pennylane.wires import Wires
label_desc: Use image node_id 9 for calling the TestDefaultGaussianIntegration obj's underlying member method code with example usage: obj.test_new_return_type_error_multi_measurements() and returns: qml,  qml