Chapter 5. Operations and Functions Individual callable examples The basics: defining and using operations and functions Quantum gates and measurements Defining and using adjoint and controlled specializations of operations Functional elements of Q# Type-parameterized callables Refactoring operation code to extract updating mutable variables into a separate function to make the operation adjointable automatically Manually defining the adjoint speciazliation of an operation that is not adjointable automatically