Fluid flow simulations marshal our most powerful computational resources. In many cases, even this is not enough. Quantum computers provide an opportunity to speed up traditional algorithms for flow simulations. We show that lattice-based mesoscale numerical methods can be executed as efficient quantum algorithms due to their statistical features. This approach revises a quantum algorithm for lattice gas automata to reduce classical computations and state preparation at every time step. For this, the algorithm approximates the qubit relative phases and subtracts them at the end of each time step. Phases are evaluated using the iterative phase estimation algorithm and subtracted using single-qubit rotation phase gates. This method optimizes the quantum resource required and makes it more appropriate for near-term quantum hardware. We also demonstrate how the checkerboard deficiency that the D1Q2 scheme presents can be resolved using the D1Q3 scheme. The algorithm is validated by simulating two canonical partial differential equations: the diffusion and Burgers' equations on different quantum simulators. We find good agreement between quantum simulations and classical solutions for the presented algorithm.
Sorting biological cells in heterogeneous cell populations is a critical task required in a variety of biomedical applications and therapeutics. Microfluidic methods are a promising pathway toward establishing label-free sorting based on cell intrinsic biophysical properties, such as cell size and compliance. Experiments and numerical studies show that microchannels decorated with diagonal ridges can be used to separate cell by stiffness in a Newtonian fluid. Here, we use computational modeling to probe stiffness-based cell sorting in ridged microchannels with a power-law shear thinning fluid. We consider compliant cells with a range of elasticities and examine the effects of ridge geometry on cell trajectories in microchannel with shear thinning fluid. The results reveal that shear thinning fluids can significantly enhance the resolution of stiffness-based cell sorting compared to Newtonian fluids. We explain the mechanism leading to the enhanced sorting in terms of hydrodynamic forces acting on cells during their interactions with the microchannel ridges.