Better HN
topnewbestaskshowjobs
Log inSign up

bschmitt

6 karma · joined Sep 18, 2019 (7y ago) · 3 submissions

Submissions

comment 7y ago · link · parent

One really annoying aspect of streaming services in Switzerland is that, even when some content is available via legal means, say Netflix, you often have the problem with subtitles. I often run into content that have subtitles only in German or only in French.

comment 7y ago · link · parent

> Optimizations may be completely turned off with the directive PRAGMA PRESERVE_BLOCK [0]

This turn off compilation itself. If you read the documentation you referred me to, you will notice that code inside the directive won't be guaranteed to be legal QPU code after compilation.

> Many of the links you’ve listed are either “compilation frameworks” (like scaffcc, akin to LLVM), unitary factorizers (like qubiter, though I’m less familiar), and so on.

I don't know what you mean by "compilation framework" nor where you are drawing the line of what is a compiler, but ScaffCC is a compiler. It is built using llvm (so it is akin to Clang, not llvm) and compiles Scaffold to QASM.

comment 7y ago · link · parent

> It’s the only open-source compiler of it’s kind.

There other compilers/transpilers out there, e.g., ScaffCC[1] and Qubiter[2]. Also inside IBM's framework you have one: Qiskit Terra[3]. You can find more in [4].

> What is very useful about the compiler is that it is retargetable.

Most, if not all, of them have this characteristic. Using Qiskit Terra you can definitely target Rigetti’s machines. You just need to provide the architecture specification, i.e., number of qubits and their coupling graph.

As a side note, one really annoying characteristic in Rigetti's quilc is the impossibility of turning off optimizations.

[1] https://github.com/epiqc/ScaffCC

[2] https://github.com/artiste-qb-net/qubiter

[3] https://github.com/Qiskit/qiskit-terra

[4] https://github.com/qosf/os_quantum_software