Circuit RepresentationΒΆ

With this module you can build QuantumCircuit objects that are interpreted as acting on fermionic modes rather than qubits.

The following objects are simple type aliases to make this re-interpretation more clear:

FermionicDAGCircuit

A type alias of DAGCircuit.

FermionicMode

A type alias of Qubit.

FermionicRegister

A type alias of QubitRegister.

FermionicSpecifier

A type alias equivalent to Qiskit's QubitSpecifier but for fermionic modes.

For actually expressing your circuits, you should use the FermionicCircuit class along with the library of FermionicGate implementations.

FermionicCircuit(num_modes)

A wrapper around QuantumCircuit for expressing fermionic circuits.

FermionicGate(name, num_modes, /[, params, ...])

The base class for all fermionic gates.