I would recommend not using a magic trick to break the ice or as an opener. Use it in like the middle of your conversation or when it dies down a bit to build up more mysteriousness around yourself.
Using a magic trick initially as an opener may work, but majority of the time it will just make you look creepy. Think of it like a creepy guy asking if you like candy. Place yourself in a girls shoes. If you just come up to her and ask to do a magic trick, she may be interested, but it just labels you as the magician. You want to be known as a person first, then build mysteriousness and dhv by showing a magic trick in the middle of the conversation.
This is from experience. I have impressed ALOT of girls by using magic after I opened. Not as an opener. Again, you never want to be labeled as a magician. Be labeled as the guy who approached, held a conversation, and then showed a cool trick. This all will help your game.