Skip to content

Commit

Permalink
Update tutorial_vqt.py (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
dime10 authored Mar 9, 2022
1 parent e78390d commit 229118c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demonstrations/tutorial_vqt.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def quantum_circuit(rotation_params, coupling_params, sample=None):

rotation_params = [[[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]] for i in range(0, depth)]
coupling_params = [[1, 1, 1, 1] for i in range(0, depth)]
print(qml.draw(qnode, expansion_strategy="device")(rotation_params, coupling_params, sample=[1, 0, 1, 0]))
print(qml.draw(qnode, expansion_strategy="device", show_matrices=True)(rotation_params, coupling_params, sample=[1, 0, 1, 0]))


######################################################################
Expand Down

0 comments on commit 229118c

Please sign in to comment.