PennyLaneAI / pennylane-pq

Contains the PennyLane ProjectQ plugin. This plugin provides three devices to work with PennyLane - the ProjectQ IBM device, the ProjectQ quantum simulator, and the ProjectQ classical simulator.
https://docs.pennylane.ai/projects/projectq
Apache License 2.0
16 stars 9 forks source link

Simplify compare default qubit test #75

Closed rmoyard closed 2 years ago

rmoyard commented 2 years ago

Description of the Change: Simplify the test which compares result with default_qubit as it is not possible anymore to generate random circuits because num_params is dynamic and par_domain was removed from Operations.

codecov[bot] commented 2 years ago

Codecov Report

Merging #75 (b76fded) into master (866c908) will increase coverage by 1.20%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
+ Coverage   97.51%   98.71%   +1.20%     
==========================================
  Files           6        6              
  Lines         241      233       -8     
==========================================
- Hits          235      230       -5     
+ Misses          6        3       -3     
Impacted Files Coverage Δ
pennylane_pq/ops.py 100.00% <ø> (ø)
pennylane_pq/expval.py 0.00% <0.00%> (-100.00%) :arrow_down:
pennylane_pq/pqops.py 97.72% <0.00%> (+9.09%) :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 866c908...b76fded. Read the comment docs.