def METHOD_NAME(self):
    """Prepare state in single qubit."""
    qreg = QuantumRegister(2)
    circuit = QuantumCircuit(qreg)
    circuit.prepare_state([1 / math.sqrt(2), 1 / math.sqrt(2)], qreg[1])
    expected = QuantumCircuit(qreg)
    expected.prepare_state([1 / math.sqrt(2), 1 / math.sqrt(2)], [qreg[1]])
    self.assertEqual(circuit, expected)