def METHOD_NAME(self) -> None:
    super().METHOD_NAME()
    self.seed = 97
    backend = BasicAer.get_backend("statevector_simulator")
    with self.assertWarns(DeprecationWarning):
        q_instance = QuantumInstance(
            backend, seed_simulator=self.seed, seed_transpiler=self.seed
        )
        self.sampler = CircuitSampler(q_instance, attach_results=True)
    self.expect = MatrixExpectation()