Path Lines of Code benchmarks/__init__.py 1 benchmarks/scripts/__init__.py 1 benchmarks/scripts/benchmark_clifford_circuit.py 88 benchmarks/scripts/benchmark_op_gradients.py 136 benchmarks/scripts/benchmark_random_circuit.py 97 benchmarks/scripts/benchmark_util.py 6 benchmarks/scripts/flags.py 60 benchmarks/scripts/models/__init__.py 1 benchmarks/scripts/models/random_clifford_circuit.py 36 release/MANIFEST.in 1 release/__init__.py 1 release/setup.py 68 scripts/build_docs.py 56 scripts/format_ipynb.py 19 tensorflow_quantum/__init__.py 23 tensorflow_quantum/core/__init__.py 8 tensorflow_quantum/core/ops/__init__.py 10 tensorflow_quantum/core/ops/batch_util.py 223 tensorflow_quantum/core/ops/circuit_execution_ops.py 109 tensorflow_quantum/core/ops/cirq_ops.py 263 tensorflow_quantum/core/ops/load_module.py 12 tensorflow_quantum/core/ops/math_ops/__init__.py 4 tensorflow_quantum/core/ops/math_ops/fidelity_op.py 16 tensorflow_quantum/core/ops/math_ops/inner_product_op.py 24 tensorflow_quantum/core/ops/math_ops/simulate_mps.py 42 tensorflow_quantum/core/ops/math_ops/tfq_inner_product.cc 237 tensorflow_quantum/core/ops/math_ops/tfq_inner_product_grad.cc 359 tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_expectation.cc 179 tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_sampled_expectation.cc 221 tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_samples.cc 179 tensorflow_quantum/core/ops/noise/__init__.py 4 tensorflow_quantum/core/ops/noise/noisy_expectation_op.py 8 tensorflow_quantum/core/ops/noise/noisy_sampled_expectation_op.py 9 tensorflow_quantum/core/ops/noise/noisy_samples_op.py 9 tensorflow_quantum/core/ops/noise/tfq_noisy_expectation.cc 325 tensorflow_quantum/core/ops/noise/tfq_noisy_sampled_expectation.cc 331 tensorflow_quantum/core/ops/noise/tfq_noisy_samples.cc 263 tensorflow_quantum/core/ops/parse_context.cc 329 tensorflow_quantum/core/ops/parse_context.h 52 tensorflow_quantum/core/ops/tfq_adj_grad_op.cc 289 tensorflow_quantum/core/ops/tfq_adj_grad_op.py 7 tensorflow_quantum/core/ops/tfq_calculate_unitary_op.cc 131 tensorflow_quantum/core/ops/tfq_circuit_append_op.cc 65 tensorflow_quantum/core/ops/tfq_ps_decompose_op.cc 267 tensorflow_quantum/core/ops/tfq_ps_symbol_replace_op.cc 154 tensorflow_quantum/core/ops/tfq_ps_util_ops.py 5 tensorflow_quantum/core/ops/tfq_ps_weights_from_symbols_op.cc 140 tensorflow_quantum/core/ops/tfq_resolve_parameters_op.cc 74 tensorflow_quantum/core/ops/tfq_simulate_expectation_op.cc 204 tensorflow_quantum/core/ops/tfq_simulate_ops.py 17 tensorflow_quantum/core/ops/tfq_simulate_sampled_expectation_op.cc 255 tensorflow_quantum/core/ops/tfq_simulate_samples_op.cc 213 tensorflow_quantum/core/ops/tfq_simulate_state_op.cc 176 tensorflow_quantum/core/ops/tfq_simulate_utils.cc 10 tensorflow_quantum/core/ops/tfq_simulate_utils.h 7 tensorflow_quantum/core/ops/tfq_unitary_op.py 18 tensorflow_quantum/core/ops/tfq_utility_ops.py 19 tensorflow_quantum/core/proto/__init__.py 1 tensorflow_quantum/core/proto/pauli_sum.proto 17 tensorflow_quantum/core/proto/program.proto 146 tensorflow_quantum/core/proto/projector_sum.proto 18 tensorflow_quantum/core/serialize/__init__.py 4 tensorflow_quantum/core/serialize/op_deserializer.py 136 tensorflow_quantum/core/serialize/op_serializer.py 150 tensorflow_quantum/core/serialize/serializable_gate_set.py 150 tensorflow_quantum/core/serialize/serializer.py 726 tensorflow_quantum/core/src/adj_util.cc 256 tensorflow_quantum/core/src/adj_util.h 75 tensorflow_quantum/core/src/circuit_parser_qsim.cc 813 tensorflow_quantum/core/src/circuit_parser_qsim.h 47 tensorflow_quantum/core/src/program_resolution.cc 312 tensorflow_quantum/core/src/program_resolution.h 21 tensorflow_quantum/core/src/util_qsim.h 362 tensorflow_quantum/datasets/__init__.py 2 tensorflow_quantum/datasets/cluster_state.py 24 tensorflow_quantum/datasets/spin_system.py 295 tensorflow_quantum/python/__init__.py 5 tensorflow_quantum/python/differentiators/__init__.py 11 tensorflow_quantum/python/differentiators/adjoint.py 27 tensorflow_quantum/python/differentiators/differentiator.py 166 tensorflow_quantum/python/differentiators/linear_combination.py 126 tensorflow_quantum/python/differentiators/parameter_shift.py 34 tensorflow_quantum/python/differentiators/parameter_shift_util.py 32 tensorflow_quantum/python/layers/__init__.py 15 tensorflow_quantum/python/layers/circuit_construction/__init__.py 1 tensorflow_quantum/python/layers/circuit_construction/elementary.py 41 tensorflow_quantum/python/layers/circuit_executors/__init__.py 5 tensorflow_quantum/python/layers/circuit_executors/expectation.py 95 tensorflow_quantum/python/layers/circuit_executors/input_checks.py 76 tensorflow_quantum/python/layers/circuit_executors/sample.py 34 tensorflow_quantum/python/layers/circuit_executors/sampled_expectation.py 75 tensorflow_quantum/python/layers/circuit_executors/state.py 11 tensorflow_quantum/python/layers/circuit_executors/unitary.py 11 tensorflow_quantum/python/layers/high_level/__init__.py 5 tensorflow_quantum/python/layers/high_level/controlled_pqc.py 105 tensorflow_quantum/python/layers/high_level/noisy_controlled_pqc.py 86 tensorflow_quantum/python/layers/high_level/noisy_pqc.py 107 tensorflow_quantum/python/layers/high_level/pqc.py 125 tensorflow_quantum/python/optimizers/__init__.py 4 tensorflow_quantum/python/optimizers/rotosolve_minimizer.py 102 tensorflow_quantum/python/optimizers/spsa_minimizer.py 125 tensorflow_quantum/python/quantum_context.py 37 tensorflow_quantum/python/util.py 438