In mathematics, especially representation theory, a **quiver** is another name for a multidigraph; that is, a directed graph where loops and multiple arrows between two vertices are allowed. Quivers are commonly used in representation theory: a representation V of a quiver assigns a vector space *V*(*x*) to each vertex x of the quiver and a linear map *V*(*a*) to each arrow a.

In category theory, a quiver can be understood to be the underlying structure of a category, but without composition or a designation of identity morphisms. That is, there is a forgetful functor from **Cat** (the category of categories) to **Quiv** (the category of multidigraphs). Its left adjoint is a free functor which, from a quiver, makes the corresponding free category.

A quiver Γ consists of:

- The set V of vertices of Γ
- The set E of edges of Γ
- Two functions: giving the
*start*or*source*of the edge, and another function, giving the*target*of the edge.

This definition is identical to that of a multidigraph.

A morphism of quivers is a mapping from vertices to vertices which takes directed edges to directed edges. Formally, if and are two quivers, then a morphism of quivers consists of two functions and such that the following diagrams commute:

That is,

and

The above definition is based in set theory; the category-theoretic definition generalizes this into a functor from the *free quiver* to the category of sets.

The **free quiver** (also called the **walking quiver**, **Kronecker quiver**, **2-Kronecker quiver** or **Kronecker category**) Q is a category with two objects, and four morphisms: The objects are V and E. The four morphisms are and the identity morphisms and That is, the free quiver is

A quiver is then a functor

More generally, a quiver in a category C is a functor The category **Quiv**(*C*) of quivers in C is the functor category where:

- objects are functors
- morphisms are natural transformations between functors.

Note that **Quiv** is the category of presheaves on the opposite category *Q*^{op}.

If Γ is a quiver, then a **path** in Γ is a sequence of arrows

such that the head of *a*_{i+1} is the tail of a_{i} for *i* = 1, …, *n*−1, using the convention of concatenating paths from right to left.

If K is a field then the **quiver algebra** or **path algebra** *K* Γ is defined as a vector space having all the paths (of length ≥ 0) in the quiver as basis (including, for each vertex i of the quiver Γ, a *trivial path* e_{i} of length 0; these paths are *not* assumed to be equal for different i), and multiplication given by concatenation of paths. If two paths cannot be concatenated because the end vertex of the first is not equal to the starting vertex of the second, their product is defined to be zero. This defines an associative algebra over K. This algebra has a unit element if and only if the quiver has only finitely many vertices. In this case, the modules over *K* Γ are naturally identified with the representations of Γ. If the quiver has infinitely many vertices, then *K* Γ has an approximate identity given by where F ranges over finite subsets of the vertex set of Γ.

If the quiver has finitely many vertices and arrows, and the end vertex and starting vertex of any path are always distinct (i.e. Q has no oriented cycles), then *K* Γ is a finite-dimensional hereditary algebra over K. Conversely, if K is algebraically closed, then any finite-dimensional, hereditary, associative algebra over K is Morita equivalent to the path algebra of its Ext quiver (i.e., they have equivalent module categories).

A representation of a quiver Q is an association of an R-module to each vertex of Q, and a morphism between each module for each arrow.

A representation V of a quiver Q is said to be *trivial* if for all vertices x in Q.

A *morphism*, between representations of the quiver Q, is a collection of linear maps such that for every arrow a in Q from x to y, i.e. the squares that f forms with the arrows of V and V' all commute. A morphism, f, is an *isomorphism*, if *f* (*x*) is invertible for all vertices x in the quiver. With these definitions the representations of a quiver form a category.

If V and W are representations of a quiver Q, then the direct sum of these representations, is defined by for all vertices x in Q and is the direct sum of the linear mappings *V*(*a*) and *W*(*a*).

A representation is said to be *decomposable* if it is isomorphic to the direct sum of non-zero representations.

A categorical definition of a quiver representation can also be given. The quiver itself can be considered a category, where the vertices are objects and paths are morphisms. Then a representation of Q is just a covariant functor from this category to the category of finite dimensional vector spaces. Morphisms of representations of Q are precisely natural transformations between the corresponding functors.

For a finite quiver Γ (a quiver with finitely many vertices and edges), let *K* Γ be its path algebra. Let e_{i} denote the trivial path at vertex i. Then we can associate to the vertex i the projective *K* Γ-module *K* Γ*e _{i}* consisting of linear combinations of paths which have starting vertex i. This corresponds to the representation of Γ obtained by putting a copy of K at each vertex which lies on a path starting at i and 0 on each other vertex. To each edge joining two copies of K we associate the identity map.

This theory was related to cluster algebras by Derksen, Weyman, and Zelevinsky.^{[1]}

To enforce commutativity of some squares inside a quiver a generalization is the notion of quivers with relations (also named bound quivers).
A relation on a quiver Q is a K linear combination of paths from Q.
A quiver with relation is a pair (*Q*, *I*) with Q a quiver and an
ideal of the path algebra. The quotient *K* Γ / *I* is the path algebra of (*Q*, *I*).

Given the dimensions of the vector spaces assigned to every vertex, one can form a variety which characterizes all representations of that quiver with those specified dimensions, and consider stability conditions. These give quiver varieties, as constructed by King (1994).

Main article: Gabriel's theorem |

A quiver is of **finite type** if it has only finitely many isomorphism classes of indecomposable representations. Gabriel (1972) classified all quivers of finite type, and also their indecomposable representations. More precisely, Gabriel's theorem states that:

- A (connected) quiver is of finite type if and only if its underlying graph (when the directions of the arrows are ignored) is one of the ADE Dynkin diagrams:
*A*,_{n}*D*,_{n}*E*_{6},*E*_{7},*E*_{8}. - The indecomposable representations are in a one-to-one correspondence with the positive roots of the root system of the Dynkin diagram.

Dlab & Ringel (1973) found a generalization of Gabriel's theorem in which all Dynkin diagrams of finite dimensional semisimple Lie algebras occur. This was generalized to all quivers and their correponding Kac–Moody algebras by Victor Kac.