Skip to content

Commit

Permalink
Bumped sample number in executions ops. (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBroughton authored Feb 28, 2020
1 parent d43f6a3 commit e792ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow_quantum/core/ops/circuit_execution_ops_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def test_sampled_expectation(self, op_and_sim, n_qubits, symbol_names,

pauli_sums = util.random_pauli_sums(qubits, max_paulisum_length,
BATCH_SIZE)
num_samples = [[100]] * BATCH_SIZE
num_samples = [[1000]] * BATCH_SIZE

op_expectations = op(
util.convert_to_tensor(circuit_batch), symbol_names,
Expand Down Expand Up @@ -395,7 +395,7 @@ def test_sampled_expectation_empty(self, op_and_sim, n_qubits, symbol_names,

pauli_sums = util.random_pauli_sums(qubits, max_paulisum_length,
BATCH_SIZE)
num_samples = [[100]] * BATCH_SIZE
num_samples = [[1000]] * BATCH_SIZE

op_expectations = op(
util.convert_to_tensor(circuit_batch), symbol_names,
Expand Down

0 comments on commit e792ff4

Please sign in to comment.