def simulate_without_amplification(self, total_runs: int) -> list[np.ndarray]:
        """Simulates the HHL circuit without amplitude amplification.

        At the end measures X, Y and Z on the memory qubit.
        Only the runs where the ancilla is measured as 1 are returned.

        Args:
            total_runs: The total number of simulations to run.

        Returns:
            A list containing the simulation results where the ancilla is 1, for each
            X, Y and Z measurement.
        """
        simulator = cirq.Simulator()

        # Cases for measuring X, Y, and Z (respectively) on the memory qubit.
        params: list[Mapping[str, float]] = [
            {'exponent': 0.5, 'phase_exponent': -0.5},
            {'exponent': 0.5, 'phase_exponent': 0},
            {'exponent': 0, 'phase_exponent': 0},
        ]

        results = simulator.run_sweep(
            self.measure_circuit(self.hhl_circuit()), params, repetitions=total_runs
        )

        return [result.measurements['m'][result.measurements['a'] == 1] for result in results]
Simulates the HHL circuit without amplitude amplification.

        At the end measures X, Y and Z on the memory qubit.
        Only the runs where the ancilla is measured as 1 are returned.

        Args:
            total_runs: The total number of simulations to run.

        Returns:
            A list containing the simulation results where the ancilla is 1, for each
            X, Y and Z measurement.
        
examples/hhl.py