I used the default decompiler for my program which decomposes the circuit into R and BS gates, while using the Xunitary compiler decomposes it into R and MZ gates. What compiler should I use for my program that shows exactly which gates are being implemented on the X8 machine physically? I am using the following code:
prog.compile(compiler=“Xunitary”)).print()
Alternatively I tried following the instructions in comments of Xunitary file.
The compiler may be used on its own:
>>> prog.compile(compiler=“Xunitary”)
Alternatively, it can be combined with an X series device specification to include additional
information, such as allowed parameter ranges.
>>> eng = sf.RemoteEngine(“X8”)
>>> spec = eng.device_spec
>>> prog.compile(device=spec, compiler=“Xunitary”)
But it gives me an error:
spec = eng.device_spec
AttributeError: ‘RemoteEngine’ object has no attribute ‘device_spec’
Alternatively, where could I get more information on the gates and allowed parameter ranges for X8 machine? Thank you.