Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The log_length(oracle_input,oracle_method)
function takes as input the oracle input (log or bin) and the oracle method (logical expression or bit string) and returns the ideal number of iterations the Grover circuit needs to include."
A block of code is set as follows:
def log_length(oracle_input,oracle_method):     from math import sqrt, pow, pi, log     if oracle_method=="log":         filtered = [c.lower() for c in oracle_input if             c.isalpha()]         result = len(filtered)
Any command-line input or output is written as follows:
$ conda create -n environment_name python=3
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Clicking the job results box opens the Result page, and displays the final result of the job you just ran."
Tips or important notes
Appear like this.