class_docstr: Tests various properties of the Shots class.
docstr: Test the __mul__ method for multiplying a number by a shot object.
docstr_tok: ["Test","the","__mul__","method","for","multiplying","a","number","by","a","shot","object","."]
code: def test_shot_mul(self):
      """Test the __mul__ method for multiplying a number by a shot object."""
      sh1, sh2, sh3 = Shots(100), Shots((100, 100)), Shots(5)
      sh5 = Shots()
      scaled_sh1 = sh1 * 2
      scaled_sh2 = sh2 * 2
      scaled_sh3 = sh3 * 0.5
      scaled_sh4 = 2 * sh2
      scaled_sh5 = sh5 * 8
  
      assert scaled_sh1.total_shots == 200
      assert scaled_sh2.total_shots == 400
      assert scaled_sh2.shot_vector[0].shots == 200
      assert scaled_sh2.shot_vector[0].copies == 2
      assert scaled_sh3.total_shots == 2
      assert scaled_sh4.total_shots == 400
      assert scaled_sh4.shot_vector[0].shots == 200
      assert scaled_sh4.shot_vector[0].copies == 2
      assert scaled_sh5 == sh5
  
imports: import copy
  import pytest
  from pennylane.measurements import Shots, ShotCopies
label_desc: Use image node_id 5 for calling the TestProperties obj's underlying member method code with example usage: obj.test_shot_mul() without return types