Skip to content

Commit

Permalink
execute_with_cdr does not use seed but random_state (#2480)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdg221 authored Aug 23, 2024
1 parent af7b992 commit 3f60b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/guide/cdr-1-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ mitigated_expval = cdr.execute_with_cdr(
compute_density_matrix,
observable=obs,
simulator=simulate,
seed=0,
random_state=0,
).real
print(f"mitigated expectation value: {mitigated_expval:.2f}")
```
Expand Down

0 comments on commit 3f60b44

Please sign in to comment.