Skip to content
#

quantum-computing

Here are 797 public repositories matching this topic...

tcNickolas
tcNickolas commented Oct 28, 2019

The katas offer a set of programming exercises on quantum computing and reference solutions to them, but we often hear that it would be helpful to have the solutions explained, with the logic steps necessary to arrive from the problem description to the code spelled out. It is especially important for people who go through the katas on their own, without a study group to support them.

To addres

Cirq
dabacon
dabacon commented Jul 30, 2020

Currently MatrixGate plots an entire matrix when displayed in a circuit. For single qubit gates this is usually OK, but for two qubit gates the gates end up being pretty monstorous. I've taken to hacking circuit_diagram_info in this case, but I think it would be nice if there was a way to do this at construction time, i.e.
cirq.MatrixGate(u, circuit_diagram_info=lambda or diagram info)

obriente
obriente commented Jul 30, 2020

To get this codebase up to standard, we need to add type hints. At the very least, perhaps we should start insisting that all new code has type hints added, but moreover we need to add typing to the code that currently exists.

This is a pretty large project, but luckily it can be done incrementally - I believe at this point it's a stretch goal for v1, if anyone wants to help it would be much ap

stylewarning
stylewarning commented Aug 5, 2020

Repro:

(describe #'COMMUTE-RZ-AFTER-CPHASE)

Output:

#<COMPILER COMMUTE-RZ-AFTER-CPHASE {10149CF36B}>
  [funcallable-instance]


Lambda-list: (X Y &KEY CONTEXT)
Derived type: (FUNCTION (T T &KEY (:CONTEXT T)) (VALUES T &OPTIONAL))
Documentation:
  T
Source file: quilc/src/compressor/rewriting-rules.lisp

Slots with :INSTANCE allocation:
  NAME                           
appleby
appleby commented Jan 26, 2020

It looks like the upcoming sbcl 2.0.1 release includes changes to move certain symbols out of cl:*features* and into sb-impl:+internal-features+ [[1]]. IIUC, any "non-public" features will continue to work (for now), but issue a warning [[2]].

I haven't tested it, but it looks like we use at least one such soon-to-be-deprecated feature, namely avx2. We should figure out what to do about

Improve this page

Add a description, image, and links to the quantum-computing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the quantum-computing topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.