pyquil.device.Specs

class pyquil.device.Specs(qubits_specs, edges_specs)[source]

Basic specifications for the device, such as gate fidelities and coherence times.

Variables
  • qubits_specs – The specs associated with individual qubits.

  • edges_specs – The specs associated with edges, or qubit-qubit pairs.

__init__(qubits_specs, edges_specs)

Initialize self. See help(type(self)) for accurate signature.

Methods

T1s()

Get a dictionary of T1s (in seconds) from the specs, keyed by qubit index.

T2s()

Get a dictionary of T2s (in seconds) from the specs, keyed by qubit index.

__init__(qubits_specs, edges_specs)

Initialize self.

f1QRB_std_errs()

Get a dictionary of the standard errors of single-qubit randomized benchmarking fidelities (for individual gate operation, normalized to unity) from the specs, keyed by qubit index.

f1QRBs()

Get a dictionary of single-qubit randomized benchmarking fidelities (for individual gate operation, normalized to unity) from the specs, keyed by qubit index.

f1Q_simultaneous_RB_std_errs()

Get a dictionary of the standard errors of single-qubit randomized benchmarking fidelities (for simultaneous gate operation across the chip, normalized to unity) from the specs, keyed by qubit index.

f1Q_simultaneous_RBs()

Get a dictionary of single-qubit randomized benchmarking fidelities (for simultaneous gate operation across the chip, normalized to unity) from the specs, keyed by qubit index.

fActiveResets()

Get a dictionary of single-qubit active reset fidelities (normalized to unity) from the specs, keyed by qubit index.

fBellStates()

Get a dictionary of two-qubit Bell state fidelities (normalized to unity) from the specs, keyed by targets (qubit-qubit pairs).

fCPHASEs()

Get a dictionary of CPHASE fidelities (normalized to unity) from the specs, keyed by targets (qubit-qubit pairs).

fCZ_std_errs()

Get a dictionary of the standard errors of the CZ fidelities from the specs, keyed by targets (qubit-qubit pairs).

fCZs()

Get a dictionary of CZ fidelities (normalized to unity) from the specs, keyed by targets (qubit-qubit pairs).

fISWAP_std_errs()

Get a dictionary of the standard errors of the ISWAP fidelities from the specs, keyed by targets (qubit-qubit pairs).

fISWAPs()

Get a dictionary of ISWAP fidelities (normalized to unity) from the specs, keyed by targets (qubit-qubit pairs).

fROs()

Get a dictionary of single-qubit readout fidelities (normalized to unity) from the specs, keyed by qubit index.

fXY_std_errs()

Get a dictionary of the standard errors of the XY fidelities from the specs, keyed by targets (qubit-qubit pairs).

fXYs()

Get a dictionary of XY(pi) fidelities (normalized to unity) from the specs, keyed by targets (qubit-qubit pairs).

from_dict(d)

Re-create the Specs from a dictionary representation.

to_dict()

Create a JSON-serializable representation of the device Specs.