Unbrick pixel device I accidentally flashed a Qualcomm rom to a Pixel device.
After which, neither does my device not boot and nor does power button work. It is most likely hard brick. 

Running lsusb shows: "Qualcomm, Inc. Gobi Wireless Modem (QDL mode)"

Is there any solution to fix this issue?
Someone please help me out.

This is the script I ran to flash the rom.
Output printed during flash is available at here.

After some research on internet, I found this tutorial.
Now I am able to put device in EDL mode.
On a Windows machine, I could see device under COMMS as Qualcomm HS-USB QDLoader 9008 (COM11). 

What should I do next?
Yes. Qualcomm devices come with an Emergency Downloader EDL mode which helps to recover from a hardbrick. You need a Flashtool and Qualcomm EDL drivers. In order to access EDL mode, you need to use an EDL cable or short JTAG pins inside the phone.