quantify_scheduler.device_under_test.mock_setup

Code to set up a mock setup for use in tutorials and testing.

Module Contents

Functions

set_up_mock_transmon_setup(→ Dict)

Sets up a system containing 5 transmon qubits connected in a star shape.

set_standard_params_transmon(mock_setup)

Sets somewhat standard parameters to the mock setup generated above.

set_up_mock_transmon_setup() Dict[source]

Sets up a system containing 5 transmon qubits connected in a star shape.

q0    q1
  \  /
   q2
  /          q3    q4

Returns a dictionary containing the instruments that are instantiated as part of this setup. The keys corresponds to the names of the instruments.

set_standard_params_transmon(mock_setup)[source]

Sets somewhat standard parameters to the mock setup generated above. These parameters serve so that the quantum-device is capable of generating a configuration that can be used for compiling schedules.

In normal use, unknown parameters are set as ‘nan’ values, forcing the user to set these. However for testing purposes it can be useful to set some semi-random values. The values here are chosen to reflect typical values as used in practical experiments.