LoadFermions

class LoadFermions[source]

LoadFermions places a particle in an empty fermionic mode.

Circuit symbol:

     ┌──────┐
q_0: ┤ Load ├
     └──────┘

Initialise new load instruction.

Attributes

LoadFermions.condition_bits

Get Clbits in condition.

LoadFermions.decompositions

Get the decompositions of the instruction from the SessionEquivalenceLibrary.

LoadFermions.definition

Return definition in terms of other basic gates.

LoadFermions.duration

Get the duration.

LoadFermions.label

Return instruction label

LoadFermions.name

Return the name.

LoadFermions.num_clbits

Return the number of clbits.

LoadFermions.num_qubits

Return the number of qubits.

LoadFermions.params

return instruction params.

LoadFermions.unit

Get the time unit of duration.

Methods

LoadFermions.add_decomposition(decomposition)

Add a decomposition of the instruction to the SessionEquivalenceLibrary.

LoadFermions.assemble()

Assemble a QasmQobjInstruction

LoadFermions.broadcast_arguments(qargs, cargs)

Validation of the arguments.

LoadFermions.c_if(classical, val)

Set a classical equality condition on this instruction between the register or cbit classical and value val.

LoadFermions.copy([name])

Copy of the instruction.

LoadFermions.inverse()

Invert this instruction.

LoadFermions.is_parameterized()

Return True .IFF.

LoadFermions.qasm()

Return a default OpenQASM string for the instruction.

LoadFermions.repeat(n)

Creates an instruction with gate repeated n amount of times.

LoadFermions.reverse_ops()

For a composite instruction, reverse the order of sub-instructions.

LoadFermions.soft_compare(other)

Soft comparison between gates.

LoadFermions.validate_parameter(parameter)

Instruction parameters has no validation or normalization.