quil-lang / quilc

The optimizing Quil compiler.
Apache License 2.0
448 stars 73 forks source link

Call-Chip-Builder Function Accepts 'Linear' and 'Fully-Connected' Chips #886

Closed Bluesquare99 closed 1 year ago

Bluesquare99 commented 1 year ago

Added linear and fully-connected to the available chips that could be called via the call-chip-builder function within chip-library.lisp. They accept one argument, nQ, which is the number of qubits for which to build the chip. They return a chip object same as all other chip-building functions do.

stylewarning commented 1 year ago

I don't know why it double-posted. That's just how it is sometimes.

Bluesquare99 commented 1 year ago

actually, i'm deciding to accept this without the eta reduction. I think the lambda makes it clearer and more explicit that these require a parameter to be supplied.

okay great! i'm not authorized to merge the pr so can't do so at this time.