2 Hello World, Quantum Computing

 

This chapter covers:

  • an introduction to Strange, a quantum computing library in Java
  • a simple demo of the high-level API of Strange
  • a very basic sample of the low-level API of Strange
  • a basic visualisation of quantum circuit
  • references to concepts that will be explained later in the book

In this chapter, you will be introduced to Strange, an Open Source Quantum Computing project including a Quantum simulator, and a library that exposes a Java API that you can use in regular Java applications.

Throughout the book, we will dicuss concepts of Quantum Computing, and their relevance to Java developers. We will show how Java developers can benefit from these concepts.

Strange contains a pure Java implementation of the required quantum concepts. When discussing the concepts, we point the interested reader to the relevant code implementation of the concept in Strange. This is part of a low-level API.

Most Java developers will not have to deal with low-level quantum concepts at all. However, they might benefit from algorithms that take advantage of these concepts. For this group, Strange provide a set of high-level algorithms that can be used in regular Java applications. These algorithms are what we call the high-level Java API.

2.1  Introducing Strange

Figure 2.1 shows a high-level overview of the components of Strange.

Figure 2.1. High-level overview of the Strange architecture.
strangestack small

2.2  Running a first demo with Strange

2.2.1  Inspecting the code for HelloStrange

2.2.2  Java API’s versus implementations

2.3  Obtaining and installing the Strange code

2.3.1  Downloading the code

2.3.2  A first look into the library

2.4  Next steps

sitemap