From 3f60b4413d86f2b89867cbc562b3b0c91222eb44 Mon Sep 17 00:00:00 2001 From: Brian G Date: Fri, 23 Aug 2024 10:14:34 -0700 Subject: [PATCH] execute_with_cdr does not use seed but random_state (#2480) --- docs/source/guide/cdr-1-intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/guide/cdr-1-intro.md b/docs/source/guide/cdr-1-intro.md index 916e26129b..6dc89ef32f 100644 --- a/docs/source/guide/cdr-1-intro.md +++ b/docs/source/guide/cdr-1-intro.md @@ -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}") ```