class_docstr: Test the qml.QSVT template.
class_docstr_tok: ["Test","the","qml.QSVT","template","."]
docstr: Test that an error is raised if a non-operation object is passed
  for the block-encoding.
docstr_tok: ["Test","that","an","error","is","raised","if","a","non-operation","object","is","passed","for","the","block-encoding","."]
code: def test_init_error(self):
      """Test that an error is raised if a non-operation object is passed
      for the block-encoding."""
      with pytest.raises(
          ValueError, match="Input block encoding must be an Operator"
      ):
          qml.QSVT(1.23, [qml.Identity(wires=0)])
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling the TestQSVT obj's underlying member method code with example usage: obj.test_init_error() without return types