Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API generation regression #899

Merged
merged 28 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
846bbf6
fix regression
arnaucasau Feb 27, 2024
80ccc07
Regenerate qiskit-ibm-runtime 0.14.0
arnaucasau Feb 27, 2024
092d12b
Regenerate qiskit-ibm-runtime 0.15.0
arnaucasau Feb 27, 2024
2ed68e5
Regenerate qiskit-ibm-runtime 0.16.1
arnaucasau Feb 27, 2024
2c69ac5
Regenerate qiskit-ibm-runtime 0.17.0
arnaucasau Feb 27, 2024
0a44c10
Regenerate qiskit-ibm-runtime 0.18.0
arnaucasau Feb 27, 2024
e095063
Regenerate qiskit-ibm-runtime 0.19.1
arnaucasau Feb 27, 2024
aea8081
Regenerate qiskit-ibm-runtime 0.20.0
arnaucasau Feb 27, 2024
5bd910d
Regenerate qiskit-ibm-runtime 0.20.1-dev
arnaucasau Feb 27, 2024
d7f3065
Regenerate qiskit 0.29.1
arnaucasau Feb 27, 2024
a931899
Regenerate qiskit 0.30.1
arnaucasau Feb 27, 2024
f38afa3
Regenerate qiskit 0.31.0
arnaucasau Feb 27, 2024
b0c8bbd
Regenerate qiskit 0.32.1
arnaucasau Feb 27, 2024
39247c8
Regenerate qiskit 0.33.1
arnaucasau Feb 27, 2024
8ec180b
Regenerate qiskit 0.35.0
arnaucasau Feb 27, 2024
9c5ed71
Regenerate qiskit 0.36.0
arnaucasau Feb 27, 2024
b00e8fa
Regenerate qiskit 0.37.2
arnaucasau Feb 27, 2024
e49dac0
Regenerate qiskit 0.38.0
arnaucasau Feb 27, 2024
070951a
Regenerate qiskit 0.39.5
arnaucasau Feb 27, 2024
a460e9c
Regenerate qiskit 0.40.0
arnaucasau Feb 27, 2024
3084bde
Regenerate qiskit 0.41.0
arnaucasau Feb 27, 2024
7c90fe2
Regenerate qiskit 0.42.0
arnaucasau Feb 27, 2024
fd4ea96
Regenerate qiskit 0.43.0
arnaucasau Feb 27, 2024
9c937c2
Regenerate qiskit 0.44.0
arnaucasau Feb 27, 2024
d29dc66
Regenerate qiskit 0.45.3
arnaucasau Feb 27, 2024
487b255
Regenerate qiskit 0.46.0
arnaucasau Feb 27, 2024
342c9f5
Regenerate qiskit 1.0.1
arnaucasau Feb 27, 2024
b62638b
Regenerate qiskit 1.1.0-dev
arnaucasau Feb 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ If specified, default is a function that gets called for objects that can’t ot

<span id="qiskit_ibm_runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,13 @@ the status of the backend.

<span id="qiskit.providers.basicaer.QasmSimulatorPy.DEFAULT_CONFIGURATION" />

### DEFAULT\_CONFIGURATION = \{'backend\_name'

`= {'backend_name':`
### DEFAULT\_CONFIGURATION

`= {'backend_name': 'qasm_simulator', 'backend_version': '2.1.0', 'basis_gates': ['u1', 'u2', 'u3', 'rz', 'sx', 'x', 'cx', 'id', 'unitary'], 'conditional': True, 'coupling_map': None, 'description': 'A python simulator for qasm experiments', 'gates': [{'name': 'u1', 'parameters': ['lambda'], 'qasm_def': 'gate u1(lambda) q { U(0,0,lambda) q; }'}, {'name': 'u2', 'parameters': ['phi', 'lambda'], 'qasm_def': 'gate u2(phi,lambda) q { U(pi/2,phi,lambda) q; }'}, {'name': 'u3', 'parameters': ['theta', 'phi', 'lambda'], 'qasm_def': 'gate u3(theta,phi,lambda) q { U(theta,phi,lambda) q; }'}, {'name': 'rz', 'parameters': ['phi'], 'qasm_def': 'gate rz(phi) q { U(0,0,phi) q; }'}, {'name': 'sx', 'parameters': [], 'qasm_def': 'gate sx(phi) q { U(pi/2,7*pi/2,pi/2) q; }'}, {'name': 'x', 'parameters': [], 'qasm_def': 'gate x q { U(pi,7*pi/2,pi/2) q; }'}, {'name': 'cx', 'parameters': [], 'qasm_def': 'gate cx c,t { CX c,t; }'}, {'name': 'id', 'parameters': [], 'qasm_def': 'gate id a { U(0,0,0) a; }'}, {'name': 'unitary', 'parameters': ['matrix'], 'qasm_def': 'unitary(matrix) q1, q2,...'}], 'local': True, 'max_shots': 65536, 'memory': True, 'n_qubits': 24, 'open_pulse': False, 'simulator': True, 'url': 'https://github.com/Qiskit/qiskit-terra'}`
Comment on lines -234 to 236
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering if we should go back to the qiskit.org style of the default value being on the same line as the attribute. But this example makes it clear that that won't work. The default value and type hint might be way too long.


<span id="qiskit.providers.basicaer.QasmSimulatorPy.DEFAULT_OPTIONS" />

### DEFAULT\_OPTIONS = \{'chop\_threshold'

`= {'chop_threshold':`
### DEFAULT\_OPTIONS

`= {'chop_threshold': 1e-15, 'initial_statevector': None}`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,13 @@ the status of the backend.

<span id="qiskit.providers.basicaer.StatevectorSimulatorPy.DEFAULT_CONFIGURATION" />

### DEFAULT\_CONFIGURATION = \{'backend\_name'

`= {'backend_name':`
### DEFAULT\_CONFIGURATION

`= {'backend_name': 'statevector_simulator', 'backend_version': '1.1.0', 'basis_gates': ['u1', 'u2', 'u3', 'rz', 'sx', 'x', 'cx', 'id', 'unitary'], 'conditional': True, 'coupling_map': None, 'description': 'A Python statevector simulator for qobj files', 'gates': [{'name': 'u1', 'parameters': ['lambda'], 'qasm_def': 'gate u1(lambda) q { U(0,0,lambda) q; }'}, {'name': 'u2', 'parameters': ['phi', 'lambda'], 'qasm_def': 'gate u2(phi,lambda) q { U(pi/2,phi,lambda) q; }'}, {'name': 'u3', 'parameters': ['theta', 'phi', 'lambda'], 'qasm_def': 'gate u3(theta,phi,lambda) q { U(theta,phi,lambda) q; }'}, {'name': 'rz', 'parameters': ['phi'], 'qasm_def': 'gate rz(phi) q { U(0,0,phi) q; }'}, {'name': 'sx', 'parameters': [], 'qasm_def': 'gate sx(phi) q { U(pi/2,7*pi/2,pi/2) q; }'}, {'name': 'x', 'parameters': [], 'qasm_def': 'gate x q { U(pi,7*pi/2,pi/2) q; }'}, {'name': 'cx', 'parameters': [], 'qasm_def': 'gate cx c,t { CX c,t; }'}, {'name': 'id', 'parameters': [], 'qasm_def': 'gate id a { U(0,0,0) a; }'}, {'name': 'unitary', 'parameters': ['matrix'], 'qasm_def': 'unitary(matrix) q1, q2,...'}], 'local': True, 'max_shots': 65536, 'memory': True, 'n_qubits': 24, 'open_pulse': False, 'simulator': True, 'url': 'https://github.com/Qiskit/qiskit-terra'}`

<span id="qiskit.providers.basicaer.StatevectorSimulatorPy.DEFAULT_OPTIONS" />

### DEFAULT\_OPTIONS = \{'chop\_threshold'

`= {'chop_threshold':`
### DEFAULT\_OPTIONS

`= {'chop_threshold': 1e-15, 'initial_statevector': None}`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,17 +243,13 @@ the status of the backend.

<span id="qiskit.providers.basicaer.UnitarySimulatorPy.DEFAULT_CONFIGURATION" />

### DEFAULT\_CONFIGURATION = \{'backend\_name'

`= {'backend_name':`
### DEFAULT\_CONFIGURATION

`= {'backend_name': 'unitary_simulator', 'backend_version': '1.1.0', 'basis_gates': ['u1', 'u2', 'u3', 'rz', 'sx', 'x', 'cx', 'id', 'unitary'], 'conditional': False, 'coupling_map': None, 'description': 'A python simulator for unitary matrix corresponding to a circuit', 'gates': [{'name': 'u1', 'parameters': ['lambda'], 'qasm_def': 'gate u1(lambda) q { U(0,0,lambda) q; }'}, {'name': 'u2', 'parameters': ['phi', 'lambda'], 'qasm_def': 'gate u2(phi,lambda) q { U(pi/2,phi,lambda) q; }'}, {'name': 'u3', 'parameters': ['theta', 'phi', 'lambda'], 'qasm_def': 'gate u3(theta,phi,lambda) q { U(theta,phi,lambda) q; }'}, {'name': 'rz', 'parameters': ['phi'], 'qasm_def': 'gate rz(phi) q { U(0,0,phi) q; }'}, {'name': 'sx', 'parameters': [], 'qasm_def': 'gate sx(phi) q { U(pi/2,7*pi/2,pi/2) q; }'}, {'name': 'x', 'parameters': [], 'qasm_def': 'gate x q { U(pi,7*pi/2,pi/2) q; }'}, {'name': 'cx', 'parameters': [], 'qasm_def': 'gate cx c,t { CX c,t; }'}, {'name': 'id', 'parameters': [], 'qasm_def': 'gate id a { U(0,0,0) a; }'}, {'name': 'unitary', 'parameters': ['matrix'], 'qasm_def': 'unitary(matrix) q1, q2,...'}], 'local': True, 'max_shots': 65536, 'memory': False, 'n_qubits': 16, 'open_pulse': False, 'simulator': True, 'url': 'https://github.com/Qiskit/qiskit-terra'}`

<span id="qiskit.providers.basicaer.UnitarySimulatorPy.DEFAULT_OPTIONS" />

### DEFAULT\_OPTIONS = \{'chop\_threshold'

`= {'chop_threshold':`
### DEFAULT\_OPTIONS

`= {'chop_threshold': 1e-15, 'initial_unitary': None}`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ for chunk in JSONEncoder().iterencode(bigobject):

<span id="qiskit.providers.ibmq.runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

4 changes: 1 addition & 3 deletions docs/api/qiskit/0.29/qiskit.qasm.OpenQASMLexer.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ Split `text` into (tokentype, text) pairs.

<span id="qiskit.qasm.OpenQASMLexer.tokens" />

### tokens = \{'gate'

`= {'gate':`
### tokens

`= {'gate': [('[unitary\\d+]', Token.Keyword.Type, '#push'), ('p\\d+', Token.Text, '#push')], 'if_keywords': [('[a-zA-Z0-9_]*', Token.Literal.String, '#pop'), ('\\d+', Token.Literal.Number, '#push'), ('.*\\(', Token.Text, 'params')], 'index': [('\\d+', Token.Literal.Number, '#pop')], 'keywords': [('\\s*("([^"]|"")*")', Token.Literal.String, '#push'), ('\\d+', Token.Literal.Number, '#push'), ('.*\\(', Token.Text, 'params')], 'params': [('[a-zA-Z_][a-zA-Z0-9_]*', Token.Text, '#push'), ('\\d+', Token.Literal.Number, '#push'), ('(\\d+\\.\\d*|\\d*\\.\\d+)([eEf][+-]?[0-9]+)?', Token.Literal.Number, '#push'), ('\\)', Token.Text)], 'root': [('\\n', Token.Text), ('[^\\S\\n]+', Token.Text), ('//\\n', Token.Comment), ('//.*?$', Token.Comment.Single), ('(OPENQASM|include)\\b', Token.Keyword.Reserved, 'keywords'), ('(qreg|creg)\\b', Token.Keyword.Declaration), ('(if)\\b', Token.Keyword.Reserved, 'if_keywords'), ('(pi)\\b', Token.Name.Constant), ('(barrier|measure|reset)\\b', Token.Name.Builtin, 'params'), ('(id|cx|x|y|z|s|sdg|h|t|tdg|ccx|c3x|c4x|c3sqrtx|rx|ry|rz|cz|cy|ch|swap|cswap|crx|cry|crz|cu1|cu3|rxx|rzz|rccx|rc3x|u1|u2|u3)\\b', Token.Keyword.Type, 'params'), ('[unitary\\d+]', Token.Keyword.Type), ('(gate)\\b', Token.Name.Function, 'gate'), ('[a-zA-Z_][a-zA-Z0-9_]*', Token.Text, 'index')]}`

4 changes: 1 addition & 3 deletions docs/api/qiskit/0.29/qiskit.qasm.QasmHTMLStyle.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ A style for OpenQasm in a HTML env (e.g. Jupyter widget).

<span id="qiskit.qasm.QasmHTMLStyle.styles" />

### styles = \{Token

`= {Token:`
### styles

`= {Token: '', Token.Comment: '', Token.Comment.Hashbang: '', Token.Comment.Multiline: '', Token.Comment.Preproc: '', Token.Comment.PreprocFile: '', Token.Comment.Single: '', Token.Comment.Special: '', Token.Error: '', Token.Escape: '', Token.Generic: '', Token.Generic.Deleted: '', Token.Generic.Emph: '', Token.Generic.Error: '', Token.Generic.Heading: '', Token.Generic.Inserted: '', Token.Generic.Output: '', Token.Generic.Prompt: '', Token.Generic.Strong: '', Token.Generic.Subheading: '', Token.Generic.Traceback: '', Token.Keyword: '', Token.Keyword.Constant: '', Token.Keyword.Declaration: 'ansigreen', Token.Keyword.Namespace: '', Token.Keyword.Pseudo: '', Token.Keyword.Reserved: 'ansigreen', Token.Keyword.Type: 'ansimagenta', Token.Literal: '', Token.Literal.Date: '', Token.Literal.Number: 'ansicyan', Token.Literal.Number.Bin: '', Token.Literal.Number.Float: '', Token.Literal.Number.Hex: '', Token.Literal.Number.Integer: '', Token.Literal.Number.Integer.Long: '', Token.Literal.Number.Oct: '', Token.Literal.String: 'ansired', Token.Literal.String.Affix: '', Token.Literal.String.Backtick: '', Token.Literal.String.Char: '', Token.Literal.String.Delimiter: '', Token.Literal.String.Doc: '', Token.Literal.String.Double: '', Token.Literal.String.Escape: '', Token.Literal.String.Heredoc: '', Token.Literal.String.Interpol: '', Token.Literal.String.Other: '', Token.Literal.String.Regex: '', Token.Literal.String.Single: '', Token.Literal.String.Symbol: '', Token.Name: '', Token.Name.Attribute: '', Token.Name.Builtin: 'ansiblue', Token.Name.Builtin.Pseudo: '', Token.Name.Class: '', Token.Name.Constant: '', Token.Name.Decorator: '', Token.Name.Entity: '', Token.Name.Exception: '', Token.Name.Function: 'ansiyellow', Token.Name.Function.Magic: '', Token.Name.Label: '', Token.Name.Namespace: '', Token.Name.Other: '', Token.Name.Property: '', Token.Name.Tag: '', Token.Name.Variable: '', Token.Name.Variable.Class: '', Token.Name.Variable.Global: '', Token.Name.Variable.Instance: '', Token.Name.Variable.Magic: '', Token.Operator: '', Token.Operator.Word: '', Token.Other: '', Token.Punctuation: '', Token.Text: '', Token.Text.Whitespace: ''}`

Expand Down
4 changes: 1 addition & 3 deletions docs/api/qiskit/0.29/qiskit.qasm.QasmTerminalStyle.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ A style for OpenQasm in a Terminal env (e.g. Jupyter print).

<span id="qiskit.qasm.QasmTerminalStyle.styles" />

### styles = \{Token

`= {Token:`
### styles

`= {Token: '', Token.Comment: '', Token.Comment.Hashbang: '', Token.Comment.Multiline: '', Token.Comment.Preproc: '', Token.Comment.PreprocFile: '', Token.Comment.Single: '', Token.Comment.Special: '', Token.Error: '', Token.Escape: '', Token.Generic: '', Token.Generic.Deleted: '', Token.Generic.Emph: '', Token.Generic.Error: '', Token.Generic.Heading: '', Token.Generic.Inserted: '', Token.Generic.Output: '', Token.Generic.Prompt: '', Token.Generic.Strong: '', Token.Generic.Subheading: '', Token.Generic.Traceback: '', Token.Keyword: '', Token.Keyword.Constant: '', Token.Keyword.Declaration: 'ansibrightgreen', Token.Keyword.Namespace: '', Token.Keyword.Pseudo: '', Token.Keyword.Reserved: 'ansibrightgreen', Token.Keyword.Type: 'ansibrightmagenta', Token.Literal: '', Token.Literal.Date: '', Token.Literal.Number: 'ansibrightcyan', Token.Literal.Number.Bin: '', Token.Literal.Number.Float: '', Token.Literal.Number.Hex: '', Token.Literal.Number.Integer: '', Token.Literal.Number.Integer.Long: '', Token.Literal.Number.Oct: '', Token.Literal.String: 'ansibrightred', Token.Literal.String.Affix: '', Token.Literal.String.Backtick: '', Token.Literal.String.Char: '', Token.Literal.String.Delimiter: '', Token.Literal.String.Doc: '', Token.Literal.String.Double: '', Token.Literal.String.Escape: '', Token.Literal.String.Heredoc: '', Token.Literal.String.Interpol: '', Token.Literal.String.Other: '', Token.Literal.String.Regex: '', Token.Literal.String.Single: '', Token.Literal.String.Symbol: '', Token.Name: '', Token.Name.Attribute: '', Token.Name.Builtin: 'ansibrightblue', Token.Name.Builtin.Pseudo: '', Token.Name.Class: '', Token.Name.Constant: '', Token.Name.Decorator: '', Token.Name.Entity: '', Token.Name.Exception: '', Token.Name.Function: 'ansibrightyellow', Token.Name.Function.Magic: '', Token.Name.Label: '', Token.Name.Namespace: '', Token.Name.Other: '', Token.Name.Property: '', Token.Name.Tag: '', Token.Name.Variable: '', Token.Name.Variable.Class: '', Token.Name.Variable.Global: '', Token.Name.Variable.Instance: '', Token.Name.Variable.Magic: '', Token.Operator: '', Token.Operator.Word: '', Token.Other: '', Token.Punctuation: '', Token.Text: '', Token.Text.Whitespace: ''}`

Expand Down
4 changes: 1 addition & 3 deletions docs/api/qiskit/0.29/qiskit.transpiler.FlowController.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ Removes a flow controller.

<span id="qiskit.transpiler.FlowController.registered_controllers" />

### registered\_controllers = \{'condition'

`= {'condition':`
### registered\_controllers

`= {'condition': , 'do_while': }`

Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,13 @@ the status of the backend.

<span id="qiskit.providers.basicaer.QasmSimulatorPy.DEFAULT_CONFIGURATION" />

### DEFAULT\_CONFIGURATION = \{'backend\_name'

`= {'backend_name':`
### DEFAULT\_CONFIGURATION

`= {'backend_name': 'qasm_simulator', 'backend_version': '2.1.0', 'basis_gates': ['u1', 'u2', 'u3', 'rz', 'sx', 'x', 'cx', 'id', 'unitary'], 'conditional': True, 'coupling_map': None, 'description': 'A python simulator for qasm experiments', 'gates': [{'name': 'u1', 'parameters': ['lambda'], 'qasm_def': 'gate u1(lambda) q { U(0,0,lambda) q; }'}, {'name': 'u2', 'parameters': ['phi', 'lambda'], 'qasm_def': 'gate u2(phi,lambda) q { U(pi/2,phi,lambda) q; }'}, {'name': 'u3', 'parameters': ['theta', 'phi', 'lambda'], 'qasm_def': 'gate u3(theta,phi,lambda) q { U(theta,phi,lambda) q; }'}, {'name': 'rz', 'parameters': ['phi'], 'qasm_def': 'gate rz(phi) q { U(0,0,phi) q; }'}, {'name': 'sx', 'parameters': [], 'qasm_def': 'gate sx(phi) q { U(pi/2,7*pi/2,pi/2) q; }'}, {'name': 'x', 'parameters': [], 'qasm_def': 'gate x q { U(pi,7*pi/2,pi/2) q; }'}, {'name': 'cx', 'parameters': [], 'qasm_def': 'gate cx c,t { CX c,t; }'}, {'name': 'id', 'parameters': [], 'qasm_def': 'gate id a { U(0,0,0) a; }'}, {'name': 'unitary', 'parameters': ['matrix'], 'qasm_def': 'unitary(matrix) q1, q2,...'}], 'local': True, 'max_shots': 65536, 'memory': True, 'n_qubits': 24, 'open_pulse': False, 'simulator': True, 'url': 'https://github.com/Qiskit/qiskit-terra'}`

<span id="qiskit.providers.basicaer.QasmSimulatorPy.DEFAULT_OPTIONS" />

### DEFAULT\_OPTIONS = \{'chop\_threshold'

`= {'chop_threshold':`
### DEFAULT\_OPTIONS

`= {'chop_threshold': 1e-15, 'initial_statevector': None}`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,13 @@ the status of the backend.

<span id="qiskit.providers.basicaer.StatevectorSimulatorPy.DEFAULT_CONFIGURATION" />

### DEFAULT\_CONFIGURATION = \{'backend\_name'

`= {'backend_name':`
### DEFAULT\_CONFIGURATION

`= {'backend_name': 'statevector_simulator', 'backend_version': '1.1.0', 'basis_gates': ['u1', 'u2', 'u3', 'rz', 'sx', 'x', 'cx', 'id', 'unitary'], 'conditional': True, 'coupling_map': None, 'description': 'A Python statevector simulator for qobj files', 'gates': [{'name': 'u1', 'parameters': ['lambda'], 'qasm_def': 'gate u1(lambda) q { U(0,0,lambda) q; }'}, {'name': 'u2', 'parameters': ['phi', 'lambda'], 'qasm_def': 'gate u2(phi,lambda) q { U(pi/2,phi,lambda) q; }'}, {'name': 'u3', 'parameters': ['theta', 'phi', 'lambda'], 'qasm_def': 'gate u3(theta,phi,lambda) q { U(theta,phi,lambda) q; }'}, {'name': 'rz', 'parameters': ['phi'], 'qasm_def': 'gate rz(phi) q { U(0,0,phi) q; }'}, {'name': 'sx', 'parameters': [], 'qasm_def': 'gate sx(phi) q { U(pi/2,7*pi/2,pi/2) q; }'}, {'name': 'x', 'parameters': [], 'qasm_def': 'gate x q { U(pi,7*pi/2,pi/2) q; }'}, {'name': 'cx', 'parameters': [], 'qasm_def': 'gate cx c,t { CX c,t; }'}, {'name': 'id', 'parameters': [], 'qasm_def': 'gate id a { U(0,0,0) a; }'}, {'name': 'unitary', 'parameters': ['matrix'], 'qasm_def': 'unitary(matrix) q1, q2,...'}], 'local': True, 'max_shots': 65536, 'memory': True, 'n_qubits': 24, 'open_pulse': False, 'simulator': True, 'url': 'https://github.com/Qiskit/qiskit-terra'}`

<span id="qiskit.providers.basicaer.StatevectorSimulatorPy.DEFAULT_OPTIONS" />

### DEFAULT\_OPTIONS = \{'chop\_threshold'

`= {'chop_threshold':`
### DEFAULT\_OPTIONS

`= {'chop_threshold': 1e-15, 'initial_statevector': None}`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,17 +243,13 @@ the status of the backend.

<span id="qiskit.providers.basicaer.UnitarySimulatorPy.DEFAULT_CONFIGURATION" />

### DEFAULT\_CONFIGURATION = \{'backend\_name'

`= {'backend_name':`
### DEFAULT\_CONFIGURATION

`= {'backend_name': 'unitary_simulator', 'backend_version': '1.1.0', 'basis_gates': ['u1', 'u2', 'u3', 'rz', 'sx', 'x', 'cx', 'id', 'unitary'], 'conditional': False, 'coupling_map': None, 'description': 'A python simulator for unitary matrix corresponding to a circuit', 'gates': [{'name': 'u1', 'parameters': ['lambda'], 'qasm_def': 'gate u1(lambda) q { U(0,0,lambda) q; }'}, {'name': 'u2', 'parameters': ['phi', 'lambda'], 'qasm_def': 'gate u2(phi,lambda) q { U(pi/2,phi,lambda) q; }'}, {'name': 'u3', 'parameters': ['theta', 'phi', 'lambda'], 'qasm_def': 'gate u3(theta,phi,lambda) q { U(theta,phi,lambda) q; }'}, {'name': 'rz', 'parameters': ['phi'], 'qasm_def': 'gate rz(phi) q { U(0,0,phi) q; }'}, {'name': 'sx', 'parameters': [], 'qasm_def': 'gate sx(phi) q { U(pi/2,7*pi/2,pi/2) q; }'}, {'name': 'x', 'parameters': [], 'qasm_def': 'gate x q { U(pi,7*pi/2,pi/2) q; }'}, {'name': 'cx', 'parameters': [], 'qasm_def': 'gate cx c,t { CX c,t; }'}, {'name': 'id', 'parameters': [], 'qasm_def': 'gate id a { U(0,0,0) a; }'}, {'name': 'unitary', 'parameters': ['matrix'], 'qasm_def': 'unitary(matrix) q1, q2,...'}], 'local': True, 'max_shots': 65536, 'memory': False, 'n_qubits': 16, 'open_pulse': False, 'simulator': True, 'url': 'https://github.com/Qiskit/qiskit-terra'}`

<span id="qiskit.providers.basicaer.UnitarySimulatorPy.DEFAULT_OPTIONS" />

### DEFAULT\_OPTIONS = \{'chop\_threshold'

`= {'chop_threshold':`
### DEFAULT\_OPTIONS

`= {'chop_threshold': 1e-15, 'initial_unitary': None}`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ for chunk in JSONEncoder().iterencode(bigobject):

<span id="qiskit.providers.ibmq.runtime.RuntimeEncoder.key_separator" />

### key\_separator = '

`= ':`
### key\_separator

`= ': '`

Loading
Loading