def METHOD_NAME(self, state):
    """Test inverse of StatePreparation"""
    qc = QuantumCircuit(2)
    stateprep = StatePreparation(state)
    qc.append(stateprep, [0, 1])
    qc.append(stateprep.inverse(), [0, 1])
    self.assertTrue(np.allclose(Operator(qc).data, np.identity(2**qc.num_qubits)))