class_docstr: Test for measurement expansion
class_docstr_tok: ["Test","for","measurement","expansion"]
docstr: Test that measurements of Paulis report to have a decomposition.
docstr_tok: ["Test","that","measurements","of","Paulis","report","to","have","a","decomposition","."]
code: def test_samples_computational_basis_false(self, m):
      """Test that measurements of Paulis report to have a decomposition."""
      assert m.samples_computational_basis is False
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import ClassicalShadowMP, Counts, CountsMP, Expectation, ExpectationMP, MeasurementProcess, MeasurementTransform, MeasurementValue, MidMeasure, MidMeasureMP, MutualInfoMP, PurityMP, Probability, ProbabilityMP, Sample, SampleMeasurement, SampleMP, ShadowExpvalMP, Shots, State, StateMeasurement, StateMP, Variance, VarianceMP, VnEntropyMP, expval, sample, var
  from pennylane.operation import DecompositionUndefinedError
  from pennylane.queuing import AnnotatedQueue
  from pennylane.wires import Wires
label_desc: Use image node_id 9 for calling the TestExpansion obj's underlying member method code with example usage: obj.test_samples_computational_basis_false(m) without return types