Calculating the determinant of a 3 x 3 matrix is relatively trivial; the Laplace expansion is the method used here.

The least squares method can be used to fit a polynomial to a set of data points.

The Power Rule in Calculus is used when finding derivatives, and can be simplified to the following steps: Multiply the term by the exponent (power) Subtract 1 from the exponent The result of taking the derivative of `f(x)` is often writte...

The quantum Z gate is represented by the Pauli-Z matrix.

C#, F#, Maths, QSharp, Quantum Computing

The quantum Y gate is represented by the Pauli-Y matrix.

C#, F#, Maths, QSharp, Quantum Computing

The quantum X gate is represented by the Pauli-X matrix, and as such is the quantum NOT gate.

C#, F#, Maths, QSharp, Quantum Computing

The Register type represents a quantum state vector, which can be viewed as analogous to a memory register.

C#, F#, Maths, QSharp, Quantum Computing

Getting started with QSharp is easy.

C#, F#, Maths, QSharp, Quantum Computing

I remember the first time I heard about Quantum Computing - the basic concept seemed too fantastic to be true, with many of the fundamental principles seeming counter-intuitive and almost ridiculous to me.

C#, F#, Maths, QSharp, Quantum Computing

The Hamming distance can be essentially thought of as the number of differences counted between two strings of equal length.

Providing proof by Mathematical Induction allows us to prove that a recursive function will return the correct value for any value within its sequence.

What can mathematics do for your programming? That's an interesting question to explore, even more so when answered with an example.

Algorithms, C#, Maths, SQL

In set theory, the difference operation determines which elements from one set do not appear in the elements of another given set.

In set theory, the intersect operation determines which elements from a set intersect with elements from any given sets.

In set theory, the union operation is a enumerative combinatorial function that combines distinct elements found in any of the given sets.

The factorial of an integer is the product of all positive integers less than or equal to that number.

In quantum computing, gate type operations are performed via matrix multiplication.

Matrix notation is a pain to deal with when writing in plain text/typing on a computer.

Here are three useful methods for multiplying complex terms: FOIL – First, Outer, Inner, Last Gathering Like Terms Expand Terms Consider the rule: (a + bi)(c + di) Where i denotes an imaginary number.

Like most programmers of classical computers, understanding the basics of quantum information and the underlying mechanics can be a bit of a leap.

A simple method for prime calculation involves: Calculate the square root of the number Setup a positively incrementing loop from 2 to the square root Attempt to divide the number by the loop value If the result of this calculation is greater t...

Copyright © 2018 carlbelle.com