From a058fc99c04cf412ac0084a8bd1d5c20895f24e3 Mon Sep 17 00:00:00 2001 From: Matthew Neeley Date: Mon, 25 Oct 2021 08:49:58 -0700 Subject: [PATCH] Remove print in qsim_simulator when sampling from final state vector (#461) This print results in very verbose output when using QSimSimulator. Could also convert it to debug logging if people think it's still helpful to have. Review: @95-martin-orion --- qsimcirq/qsim_simulator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qsimcirq/qsim_simulator.py b/qsimcirq/qsim_simulator.py index 34bbde2e6..806c910c1 100644 --- a/qsimcirq/qsim_simulator.py +++ b/qsimcirq/qsim_simulator.py @@ -332,10 +332,6 @@ def _sample_measure_results( sampler_fn = self._sim_module.qsim_sample if not noisy and program.are_all_measurements_terminal() and repetitions > 1: - print( - "Provided circuit has no intermediate measurements. " - + "Sampling repeatedly from final state vector." - ) # Measurements must be replaced with identity gates to sample properly. # Simply removing them may omit qubits from the circuit. for i in range(len(program.moments)):