XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
754 stars 191 forks source link

Multi params #492

Closed nquesada closed 3 years ago

nquesada commented 3 years ago

Modifies apply_op in TDMProgram to allow for gates with more than one symbolic parameter.

codecov[bot] commented 3 years ago

Codecov Report

Merging #492 (eb527fd) into master (1188f0d) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #492   +/-   ##
=======================================
  Coverage   97.85%   97.85%           
=======================================
  Files          70       70           
  Lines        7312     7313    +1     
=======================================
+ Hits         7155     7156    +1     
  Misses        157      157           
Impacted Files Coverage Δ
strawberryfields/tdm/tdmprogram.py 95.05% <100.00%> (+0.02%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1188f0d...eb527fd. Read the comment docs.