class_docstr: Tests for the projector observable.
class_docstr_tok: ["Tests","for","the","projector","observable","."]
docstr: Assert that the projector raised to zero is an empty list.
docstr_tok: ["Assert","that","the","projector","raised","to","zero","is","an","empty","list","."]
code: def test_pow_zero(self):
      """Assert that the projector raised to zero is an empty list."""
      # Basis state projector
      basis_state = np.array([0, 1])
      op = qml.Projector(basis_state, wires=(0, 1))
      assert len(op.pow(0)) == 0
  
      # State vector projector
      state_vector = np.array([0, 1])
      op = qml.Projector(state_vector, wires=[0])
      assert len(op.pow(0)) == 0
  
imports: import functools
  import pickle
  import pytest
  import numpy
  from gate_data import I, X, Y, Z, H
  import pennylane
  from pennylane.ops.qubit.observables import BasisStateProjector, StateVectorProjector
label_desc: Use image node_id 3 for calling the TestProjector obj's underlying member method code with example usage: obj.test_pow_zero() without return types