
Xanadu and CN Rail Launch Quantum Routing Pilot Across Canadian Freight Corridors

July 12, 2024
In a first-of-its-kind experiment at the intersection of quantum computing and real-world freight logistics, Canadian quantum computing firm Xanadu and Canadian National Railway (CN Rail) have launched a pilot project to apply photonic quantum routing algorithms across Canada’s critical rail freight corridors.
Announced on July 12, 2024, the collaboration focuses on optimizing train schedules and rerouting decisions in the heavily trafficked regions of Quebec and Ontario—a vital artery of Canada’s economic activity and a challenging operational landscape for intermodal logistics.
This pilot marks one of the world’s earliest commercial deployments of photonic quantum hardware—and the first within a national freight rail network. The goal: reduce fuel consumption, minimize delays, and maximize infrastructure efficiency across CN’s eastern rail operations.
“This isn’t a lab test. We’re embedding quantum routing into real rail network decisions,” said Diana Herrick, VP of Digital Transformation at CN Rail. “We’re exploring how quantum hardware can rethink the most complex problem in rail logistics: time and track.”
Quantum Logistics Enters the Rail Era
The pilot leverages Xanadu’s Borealis quantum computer, a leading-edge photonic quantum processor capable of executing high-fidelity Gaussian boson sampling and optimization workloads. Unlike superconducting or trapped-ion platforms, Borealis processes quantum information via light particles (photons), offering unique advantages in parallelism, temperature stability, and scalability.
In the pilot program, Xanadu’s quantum system interfaces with CN Rail’s existing logistics control layer to solve combinatorial scheduling problems such as:
Determining optimal train ordering sequences at busy interchange nodes
Minimizing track congestion during peak freight windows
Coordinating maintenance scheduling without disrupting cargo throughput
Incorporating real-time variables such as weather, inbound delays, or priority cargo status
By encoding track availability, maintenance constraints, and forecasted intermodal links into quantum algorithms, the pilot aims to uncover optimal routing paths that classical computers often approximate rather than solve precisely.
Initial simulations conducted in June—prior to live deployment—suggested an 8% reduction in average delay times, along with lower idle fuel consumption due to fewer stops and smoother rail handoffs between regional control centers.
A Historic Milestone for Photonic Quantum in Logistics
While quantum computing has made notable advances in fields like finance, cryptography, and drug discovery, this pilot represents a new frontier: commercial freight logistics operating under real-world time constraints and infrastructure limitations.
“The photonic model we’re using is inherently suited to solving high-dimensional optimization problems like routing and scheduling,” explained Dr. Yifan Xu, Head of Applied Quantum Research at Xanadu. “These problems are native to logistics, especially in rail networks where thousands of trains compete for finite track space and time.”
Unlike centralized fulfillment centers or robotic warehouses, rail logistics operates across sprawling geographies, interacting with urban hubs, weather systems, and regulatory frameworks. Delays, even in minutes, ripple across the network, impacting hundreds of containers and millions in inventory.
Applying quantum optimization directly to such a geographically distributed infrastructure is a major leap forward for both sectors.
Quantum Routing in Action: How the Pilot Works
The pilot’s implementation is centered on a 400-mile stretch of track spanning from Toronto to Montréal, one of the most congested and economically vital corridors in Canadian freight operations. The zone handles a mix of:
Consumer goods from major retailers such as Walmart Canada and Canadian Tire
Automotive components destined for manufacturing hubs in Ontario
Agricultural exports transiting toward Atlantic ports
The quantum routing system runs in tandem with CN’s Train Control Optimization Engine. Here’s how the process works:
Real-time data ingestion from sensors, yard managers, and external feeds (weather, customs, etc.)
Preprocessing layer maps operational variables into a quantum-appropriate formulation, often a variant of the Quadratic Unconstrained Binary Optimization (QUBO) problem.
Borealis quantum computer runs optimization rounds to explore ideal train orders, departure times, and rerouting options.
Classical verification engine checks feasibility, timing, and regulatory compliance before executing decisions.
This hybrid quantum-classical loop completes every few minutes during active routing windows and is capable of updating recommendations if unexpected conditions arise—such as mechanical failures, track slowdowns, or high-priority cargo interventions.
Fuel Efficiency and Emissions: A Key Use Case
One of the most promising aspects of the pilot is its potential to reduce fuel consumption and the associated carbon emissions—a critical objective in Canada’s national rail strategy.
Rail freight is already one of the most energy-efficient modes of land transport. Yet inefficiencies such as train idling, congestion at interchange points, and unbalanced loads still generate considerable waste.
According to CN’s internal modeling, quantum-enhanced routing could contribute to:
5–10% fewer idle engine hours across select corridors
Better alignment of freight density across trains, improving traction and fuel per ton
Fewer last-minute diversions that require fuel-intensive route extensions
“Even a one percent fuel savings translates to millions of dollars annually and meaningful carbon reductions,” said Julie MacLellan, Director of Sustainability Initiatives at CN Rail. “Quantum gives us a new lever to push those metrics down further.”
These sustainability gains also align with Canada’s National Quantum Strategy, which emphasizes climate-aligned quantum innovation as a pillar of national competitiveness.
Government Backing and the National Quantum Strategy
The pilot is one of the first logistics deployments funded under Canada’s National Quantum Strategy, a C$360 million initiative launched to secure Canada’s position in the global quantum race.
The strategy calls for integrating quantum computing into priority industries—including energy, healthcare, and logistics—while also fostering domestic innovation through public-private partnerships.
“We see quantum as a strategic layer in the modernization of national infrastructure,” said Dr. Kamal Dhaliwal, Deputy Minister for Quantum Innovation at Innovation, Science and Economic Development Canada (ISED). “This project combines world-class quantum research with a vital logistics partner to build something uniquely Canadian—and globally competitive.”
Other rail and logistics agencies across North America, including Union Pacific, CSX, and Canadian Pacific Kansas City (CPKC), are observing the pilot closely. Some are reportedly exploring similar programs with quantum software firms such as D-Wave and Multiverse Computing.
Broader Vision: Quantum Rail Operations at Scale
While the current pilot is geographically limited, CN Rail and Xanadu are already mapping out future expansions, including:
Western Canada corridors such as the Vancouver–Edmonton–Winnipeg axis, where port congestion often disrupts long-haul rail schedules
Cross-border optimization for trains linking the U.S. Midwest and Southern Ontario
Intermodal yard management using quantum algorithms to optimize crane loading, container swaps, and truck-train sync points
CN Rail is also exploring how quantum could enhance disruption simulation modeling—using quantum Monte Carlo algorithms to better predict the downstream impact of strikes, border delays, or severe weather.
“It’s not just about what track the train takes. It’s about optimizing the entire orchestration—from the moment cargo is loaded in Vancouver to when it clears customs in Halifax,” said Herrick. “Quantum helps us think at that scale.”
Challenges: Hardware Limits and Workforce Adaptation
Despite early success, the project faces typical barriers seen in quantum deployments:
Hardware availability: Quantum systems like Borealis are shared resources, and scalability hinges on Xanadu’s ability to maintain uptime and performance as demand grows.
Integration complexity: Merging quantum outputs into CN’s legacy logistics stack requires bespoke APIs and operator training.
Skill gaps: Quantum-aware logistics professionals are still rare, necessitating ongoing training partnerships between Xanadu, CN, and Canadian universities.
However, both companies say the collaborative model—pairing quantum physicists with rail engineers—has been one of the pilot’s most innovative aspects.
Conclusion: A New Era of Quantum-Powered Freight
The Xanadu-CN Rail quantum routing pilot is more than just a proof of concept—it’s a glimpse into the future of high-efficiency, resilient, and adaptive freight networks powered by quantum computing.
By blending real-time logistics data with the immense parallelism of photonic quantum processors, the project showcases a practical and scalable use case that could redefine how nations move goods over long distances.
As quantum hardware matures and rail operators globally seek digital transformation, Canada is positioning itself at the forefront of this intersection—where light-based quantum computing meets steel-on-track industrial reality.
“We believe quantum isn’t just a tool for the future—it’s a tool for right now,” concluded Dr. Xu. “And rail is just the beginning.”
