Skip to main content

Research Repository

Advanced Search

A quantum algorithm for ray casting using an orthographic camera

Alves, Carolina; Santos, Luís Paulo; Bashford-Rogers, Thomas


Carolina Alves

Luís Paulo Santos


Quantum computing has the potential to provide solutions to many problems which are challenging or out of reach of classical computers. There are several problems in rendering which are amenable to being solved in quantum computers, but these have yet to be demonstrated in practice. This work takes a first step in applying quantum computing to one of the most fundamental operations in rendering: ray casting. This technique computes visibility between two points in a 3D model of the world which is described by a collection of geometric primitives. The algorithm returns, for a given ray, which primitive it intersects closest to its origin. Without a spatial acceleration structure, the classical complexity for this operation is O(N). In this paper, we propose an implementation of Grover's Algorithm (a quantum search algorithm) for ray casting. This provides a quadratic speed up allowing for visibility evaluation for unstructured primitives in O(√ N). However, due to technological limitations associated with current quantum computers, in this work the geometrical setup is limited to rectangles and parallel rays (orthographic projection).


Alves, C., Santos, L. P., & Bashford-Rogers, T. (2020). A quantum algorithm for ray casting using an orthographic camera.

Conference Name 2019 International Conference on Graphics and Interaction (ICGI)
Start Date Nov 21, 2019
End Date Nov 22, 2019
Acceptance Date Oct 10, 2019
Online Publication Date Jan 13, 2020
Publication Date Jan 13, 2020
Deposit Date Jan 15, 2020
Publicly Available Date Jan 16, 2020
Pages 56-63
ISBN 9781728163789
Keywords Index Terms-quantum computing; ray casting; Grover's algorithm; complexity
Public URL


A Quantum Algorithm For Ray Casting Using An Orthographic Camera (561 Kb)


Publisher Licence URL

Copyright Statement
© 2019 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

You might also like

Downloadable Citations