EntanglerGateSet
- class EntanglerGateSet(n_qubits, **properties)
Construction axis: one single-qubit basis plus one entangler per placement.
A gate set built from a native single-qubit basis applied to every qubit and a native entangling gate applied to every
self.placementsplacement. Every placement carries the same entangler, or each placement its own.This class is topology-agnostic (it only reads
self.placements), so a concrete gate set combines it with a topology class, e.g.class CROTGateSet(EntanglerGateSet, StarTopologyGateSet). On its own it stays abstract: the topology class suppliesplacementsandspam_qubits.
Attributes
Return the duration of every native gate that has one. |
|
Return the error of every native gate that has one. |
|
Return the native gate families. |
|
Return the native gates supported by the gate set. |
|
Return where a native entangler sits, and which one. |
|
Return the qubits every native gate reserves while it runs. |
|
Return the |
|
Return the qubits the device resets and reads out together, or |
|
Return the qubit set every native entangling gate can be built on. |
Methods
|
Return a native gate's duration, or |
|
Return a native gate's average gate infidelity on its own qubits, or |
|
Rewrite a circuit's resets as the resets the device performs. |
|
Return the native readout a requested Pauli string is realized through by default. |
Return every Pauli string the hardware reads out directly. |
|
|
Generate a random circuit drawn from the native gate set. |
|
Return the qubits a native gate reserves while it runs. |
|
Build the circuit resetting these qubits to \(|0\rangle\). |
|
Return a copy of this gate set with new errors, durations or reserved qubits. |