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

[do not merge] Preview new headers hierarchy #1289

Closed
wants to merge 33 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
94cc65c
detect prior header level
arnaucasau May 2, 2024
455e01d
properties headers and replace CSS class for data
arnaucasau May 2, 2024
c291ec3
new comments and fmt
arnaucasau May 2, 2024
e71ebea
Merge branch 'main' into AC/header-levels
arnaucasau May 2, 2024
f560bbf
Merge branch 'main' into AC/header-levels
arnaucasau May 3, 2024
11fbec4
Regenerate qiskit 0.19.6
arnaucasau May 3, 2024
f648bd5
Regenerate qiskit 0.24.1
arnaucasau May 3, 2024
53a3a49
Regenerate qiskit 0.25.4
arnaucasau May 3, 2024
ee2a792
Regenerate qiskit 0.26.2
arnaucasau May 3, 2024
e31b98e
Regenerate qiskit 0.27.0
arnaucasau May 3, 2024
d6ecf7a
Regenerate qiskit 0.28.0
arnaucasau May 3, 2024
1db7fc6
Regenerate qiskit 0.29.1
arnaucasau May 3, 2024
c2c8224
Regenerate qiskit 0.30.1
arnaucasau May 3, 2024
15fd5e4
Regenerate qiskit 0.31.0
arnaucasau May 3, 2024
9395f59
Regenerate qiskit 0.32.1
arnaucasau May 3, 2024
c85274d
Regenerate qiskit 0.33.1
arnaucasau May 3, 2024
82ef189
Regenerate qiskit 0.35.0
arnaucasau May 3, 2024
28903b8
Regenerate qiskit 0.36.0
arnaucasau May 3, 2024
620d05f
Regenerate qiskit 0.37.2
arnaucasau May 3, 2024
8bcc0e6
Regenerate qiskit 0.38.0
arnaucasau May 3, 2024
5ab6201
Regenerate qiskit 0.39.5
arnaucasau May 3, 2024
f17ebf5
Regenerate qiskit 0.40.0
arnaucasau May 3, 2024
e9f73a2
Regenerate qiskit 0.41.0
arnaucasau May 3, 2024
7f73f4a
Regenerate qiskit 0.42.0
arnaucasau May 3, 2024
c8b2287
Regenerate qiskit 0.43.0
arnaucasau May 3, 2024
56c4634
Regenerate qiskit 0.44.0
arnaucasau May 3, 2024
dfc0f28
Regenerate qiskit 0.45.3
arnaucasau May 3, 2024
e047a5a
Regenerate qiskit 0.46.1
arnaucasau May 3, 2024
23ce8bd
Regenerate qiskit 1.0.2
arnaucasau May 3, 2024
9c12233
Regenerate qiskit 1.1.0-dev
arnaucasau May 3, 2024
34622e3
Regenerate qiskit-ibm-provider 0.10.0
arnaucasau May 3, 2024
9e08133
Regenerate qiskit-ibm-provider 0.9.0
arnaucasau May 3, 2024
dc08ca8
Regenerate qiskit-ibm-provider 0.11.0
arnaucasau May 3, 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
Prev Previous commit
Next Next commit
Regenerate qiskit 0.27.0
arnaucasau committed May 3, 2024
commit e31b98e815af760d62e196230b8b03ae3a2009c1
2 changes: 1 addition & 1 deletion docs/api/qiskit/0.27/execute.mdx
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ python_api_name: qiskit.execute_function

`qiskit.execute_function`

### execute
## execute

<Function id="qiskit.execute_function.execute" github="https://github.com/qiskit/qiskit/tree/stable/0.17/qiskit/execute_function.py" signature="execute(experiments, backend, basis_gates=None, coupling_map=None, backend_properties=None, initial_layout=None, seed_transpiler=None, optimization_level=None, pass_manager=None, qobj_id=None, qobj_header=None, shots=None, memory=False, max_credits=None, seed_simulator=None, default_qubit_los=None, default_meas_los=None, schedule_los=None, meas_level=None, meas_return=None, memory_slots=None, memory_slot_size=None, rep_time=None, rep_delay=None, parameter_binds=None, schedule_circuit=False, inst_map=None, meas_map=None, scheduling_method=None, init_qubits=None, **run_config)">
Execute a list of [`qiskit.circuit.QuantumCircuit`](qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit") or [`qiskit.pulse.Schedule`](qiskit.pulse.Schedule "qiskit.pulse.Schedule") on a backend.
2 changes: 2 additions & 0 deletions docs/api/qiskit/0.27/logging.mdx
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ python_api_name: qiskit.ignis.logging
| [`IgnisLogging`](qiskit.ignis.logging.IgnisLogging "qiskit.ignis.logging.IgnisLogging")(\[log\_config\_path]) | Singleton class to configure file logging via IgnisLogger |
| [`IgnisLogReader`](qiskit.ignis.logging.IgnisLogReader "qiskit.ignis.logging.IgnisLogReader")() | Class to read from Ignis log files |

###

<Class github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/logging/ignis_logging.py" signature="IgnisLogger(name, level=0)">
A logger class for Ignis

Original file line number Diff line number Diff line change
@@ -22,31 +22,31 @@ Convert portfolio optimization instances into Pauli list
| [`portfolio_variance`](#qiskit.finance.applications.ising.portfolio.portfolio_variance "qiskit.finance.applications.ising.portfolio.portfolio_variance")(x, sigma) | returns portfolio variance |
| [`random_model`](#qiskit.finance.applications.ising.portfolio.random_model "qiskit.finance.applications.ising.portfolio.random_model")(n\[, seed]) | Generate random model (mu, sigma) for portfolio optimization problem. |

### get\_operator
## get\_operator

<Function id="qiskit.finance.applications.ising.portfolio.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio.py" signature="get_operator(mu, sigma, q, budget, penalty)">
get qubit op
</Function>

### portfolio\_expected\_value
## portfolio\_expected\_value

<Function id="qiskit.finance.applications.ising.portfolio.portfolio_expected_value" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio.py" signature="portfolio_expected_value(x, mu)">
returns portfolio expected value
</Function>

### portfolio\_value
## portfolio\_value

<Function id="qiskit.finance.applications.ising.portfolio.portfolio_value" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio.py" signature="portfolio_value(x, mu, sigma, q, budget, penalty)">
returns portfolio value
</Function>

### portfolio\_variance
## portfolio\_variance

<Function id="qiskit.finance.applications.ising.portfolio.portfolio_variance" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio.py" signature="portfolio_variance(x, sigma)">
returns portfolio variance
</Function>

### random\_model
## random\_model

<Function id="qiskit.finance.applications.ising.portfolio.random_model" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio.py" signature="random_model(n, seed=None)">
Generate random model (mu, sigma) for portfolio optimization problem.
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ portfolio diversification
| [`get_portfoliodiversification_solution`](#qiskit.finance.applications.ising.portfolio_diversification.get_portfoliodiversification_solution "qiskit.finance.applications.ising.portfolio_diversification.get_portfoliodiversification_solution")(rho, …) | Tries to obtain a feasible solution (in vector form) of an instance of portfolio diversification from the results dictionary. |
| [`get_portfoliodiversification_value`](#qiskit.finance.applications.ising.portfolio_diversification.get_portfoliodiversification_value "qiskit.finance.applications.ising.portfolio_diversification.get_portfoliodiversification_value")(rho, n, …) | Evaluates an objective function of an instance of portfolio diversification and its solution (in vector form). |

### get\_operator
## get\_operator

<Function id="qiskit.finance.applications.ising.portfolio_diversification.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio_diversification.py" signature="get_operator(rho, n, q)">
Converts an instance of portfolio optimization into a list of Paulis.
@@ -40,7 +40,7 @@ portfolio diversification
operator for the Hamiltonian
</Function>

### get\_portfoliodiversification\_solution
## get\_portfoliodiversification\_solution

<Function id="qiskit.finance.applications.ising.portfolio_diversification.get_portfoliodiversification_solution" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio_diversification.py" signature="get_portfoliodiversification_solution(rho, n, q, result)">
Tries to obtain a feasible solution (in vector form) of an instance of portfolio diversification from the results dictionary.
@@ -61,7 +61,7 @@ portfolio diversification
a vector describing the solution.
</Function>

### get\_portfoliodiversification\_value
## get\_portfoliodiversification\_value

<Function id="qiskit.finance.applications.ising.portfolio_diversification.get_portfoliodiversification_value" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/finance/applications/ising/portfolio_diversification.py" signature="get_portfoliodiversification_value(rho, n, q, x_state)">
Evaluates an objective function of an instance of portfolio diversification and its solution (in vector form).
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ Deal with Gset format. See [https://web.stanford.edu/\~yyye/yyye/Gset/](https://
| [`get_operator`](#qiskit.optimization.applications.ising.clique.get_operator "qiskit.optimization.applications.ising.clique.get_operator")(weight\_matrix, K) | Generate Hamiltonian for the clique. |
| [`satisfy_or_not`](#qiskit.optimization.applications.ising.clique.satisfy_or_not "qiskit.optimization.applications.ising.clique.satisfy_or_not")(x, w, K) | Compute the value of a cut. |

### get\_graph\_solution
## get\_graph\_solution

<Function id="qiskit.optimization.applications.ising.clique.get_graph_solution" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/clique.py" signature="get_graph_solution(x)">
Get graph solution from binary string.
@@ -40,7 +40,7 @@ Deal with Gset format. See [https://web.stanford.edu/\~yyye/yyye/Gset/](https://
numpy.ndarray
</Function>

### get\_operator
## get\_operator

<Function id="qiskit.optimization.applications.ising.clique.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/clique.py" signature="get_operator(weight_matrix, K)">
Generate Hamiltonian for the clique.
@@ -81,7 +81,7 @@ Deal with Gset format. See [https://web.stanford.edu/\~yyye/yyye/Gset/](https://
tuple([WeightedPauliOperator](qiskit.aqua.operators.legacy.WeightedPauliOperator "qiskit.aqua.operators.legacy.WeightedPauliOperator"), float)
</Function>

### satisfy\_or\_not
## satisfy\_or\_not

<Function id="qiskit.optimization.applications.ising.clique.satisfy_or_not" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/clique.py" signature="satisfy_or_not(x, w, K)">
Compute the value of a cut.
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ common module
| [`read_numbers_from_file`](#qiskit.optimization.applications.ising.common.read_numbers_from_file "qiskit.optimization.applications.ising.common.read_numbers_from_file")(filename) | Read numbers from a file |
| [`sample_most_likely`](#qiskit.optimization.applications.ising.common.sample_most_likely "qiskit.optimization.applications.ising.common.sample_most_likely")(state\_vector) | Compute the most likely binary string from state vector. |

### get\_gset\_result
## get\_gset\_result

<Function id="qiskit.optimization.applications.ising.common.get_gset_result" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/common.py" signature="get_gset_result(x)">
Get graph solution in Gset format from binary string.
@@ -41,7 +41,7 @@ common module
Dict\[int, int]
</Function>

### parse\_gset\_format
## parse\_gset\_format

<Function id="qiskit.optimization.applications.ising.common.parse_gset_format" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/common.py" signature="parse_gset_format(filename)">
Read graph in Gset format from file.
@@ -59,7 +59,7 @@ common module
numpy.ndarray
</Function>

### random\_graph
## random\_graph

<Function id="qiskit.optimization.applications.ising.common.random_graph" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/common.py" signature="random_graph(n, weight_range=10, edge_prob=0.3, negative_weight=True, savefile=None, seed=None)">
Generate random Erdos-Renyi graph.
@@ -82,7 +82,7 @@ common module
numpy.ndarray
</Function>

### random\_number\_list
## random\_number\_list

<Function id="qiskit.optimization.applications.ising.common.random_number_list" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/common.py" signature="random_number_list(n, weight_range=100, savefile=None, seed=None)">
Generate a set of positive integers within the given range.
@@ -103,7 +103,7 @@ common module
numpy.ndarray
</Function>

### read\_numbers\_from\_file
## read\_numbers\_from\_file

<Function id="qiskit.optimization.applications.ising.common.read_numbers_from_file" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/common.py" signature="read_numbers_from_file(filename)">
Read numbers from a file
@@ -121,7 +121,7 @@ common module
numpy.ndarray
</Function>

### sample\_most\_likely
## sample\_most\_likely

<Function id="qiskit.optimization.applications.ising.common.sample_most_likely" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/common.py" signature="sample_most_likely(state_vector)">
Compute the most likely binary string from state vector. :param state\_vector: state vector or counts. :type state\_vector: numpy.ndarray or dict
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ print('tsp objective:', result['energy'] + offset)
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| [`get_operator`](#qiskit.optimization.applications.ising.docplex.get_operator "qiskit.optimization.applications.ising.docplex.get_operator")(mdl\[, auto\_penalty, …]) | Generate Ising Hamiltonian from a model of DOcplex. |

### get\_operator
## get\_operator

<Function id="qiskit.optimization.applications.ising.docplex.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/docplex.py" signature="get_operator(mdl, auto_penalty=True, default_penalty=100000.0)">
Generate Ising Hamiltonian from a model of DOcplex.
Original file line number Diff line number Diff line change
@@ -20,13 +20,13 @@ exact cover
| [`get_operator`](#qiskit.optimization.applications.ising.exact_cover.get_operator "qiskit.optimization.applications.ising.exact_cover.get_operator")(list\_of\_subsets) | Construct the Hamiltonian for the exact solver problem. |
| [`get_solution`](#qiskit.optimization.applications.ising.exact_cover.get_solution "qiskit.optimization.applications.ising.exact_cover.get_solution")(x) | **param x**binary string as numpy array. |

### check\_solution\_satisfiability
## check\_solution\_satisfiability

<Function id="qiskit.optimization.applications.ising.exact_cover.check_solution_satisfiability" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/exact_cover.py" signature="check_solution_satisfiability(sol, list_of_subsets)">
check solution satisfiability
</Function>

### get\_operator
## get\_operator

<Function id="qiskit.optimization.applications.ising.exact_cover.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/exact_cover.py" signature="get_operator(list_of_subsets)">
Construct the Hamiltonian for the exact solver problem.
@@ -54,7 +54,7 @@ exact cover
tuple([WeightedPauliOperator](qiskit.aqua.operators.legacy.WeightedPauliOperator "qiskit.aqua.operators.legacy.WeightedPauliOperator"), float)
</Function>

### get\_solution
## get\_solution

<Function id="qiskit.optimization.applications.ising.exact_cover.get_solution" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/exact_cover.py" signature="get_solution(x)">
**Parameters**
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ Convert graph partitioning instances into Pauli list Deal with Gset format. See
| [`get_operator`](#qiskit.optimization.applications.ising.graph_partition.get_operator "qiskit.optimization.applications.ising.graph_partition.get_operator")(weight\_matrix) | Generate Hamiltonian for the graph partitioning |
| [`objective_value`](#qiskit.optimization.applications.ising.graph_partition.objective_value "qiskit.optimization.applications.ising.graph_partition.objective_value")(x, w) | Compute the value of a cut. |

### get\_graph\_solution
## get\_graph\_solution

<Function id="qiskit.optimization.applications.ising.graph_partition.get_graph_solution" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/graph_partition.py" signature="get_graph_solution(x)">
Get graph solution from binary string.
@@ -38,7 +38,7 @@ Convert graph partitioning instances into Pauli list Deal with Gset format. See
numpy.ndarray
</Function>

### get\_operator
## get\_operator

<Function id="qiskit.optimization.applications.ising.graph_partition.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/graph_partition.py" signature="get_operator(weight_matrix)">
Generate Hamiltonian for the graph partitioning
@@ -66,7 +66,7 @@ Convert graph partitioning instances into Pauli list Deal with Gset format. See
[WeightedPauliOperator](qiskit.aqua.operators.legacy.WeightedPauliOperator "qiskit.aqua.operators.legacy.WeightedPauliOperator")
</Function>

### objective\_value
## objective\_value

<Function id="qiskit.optimization.applications.ising.graph_partition.objective_value" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/graph_partition.py" signature="objective_value(x, w)">
Compute the value of a cut.
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ If we have the weights w\[i], the values v\[i] and the maximum weight W\_max. We
| [`get_solution`](#qiskit.optimization.applications.ising.knapsack.get_solution "qiskit.optimization.applications.ising.knapsack.get_solution")(x, values) | Get the solution to the knapsack problem from the bitstring that represents to the ground state of the Hamiltonian |
| [`knapsack_value_weight`](#qiskit.optimization.applications.ising.knapsack.knapsack_value_weight "qiskit.optimization.applications.ising.knapsack.knapsack_value_weight")(solution, values, weights) | Get the total wight and value of the items taken in the knapsack. |

### get\_operator
## get\_operator

<Function id="qiskit.optimization.applications.ising.knapsack.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/knapsack.py" signature="get_operator(values, weights, max_weight)">
Generate Hamiltonian for the knapsack problem.
@@ -61,7 +61,7 @@ If we have the weights w\[i], the values v\[i] and the maximum weight W\_max. We
* **ValueError** – max\_weight is negative
</Function>

### get\_solution
## get\_solution

<Function id="qiskit.optimization.applications.ising.knapsack.get_solution" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/knapsack.py" signature="get_solution(x, values)">
Get the solution to the knapsack problem from the bitstring that represents to the ground state of the Hamiltonian
@@ -82,7 +82,7 @@ If we have the weights w\[i], the values v\[i] and the maximum weight W\_max. We
numpy.ndarray
</Function>

### knapsack\_value\_weight
## knapsack\_value\_weight

<Function id="qiskit.optimization.applications.ising.knapsack.knapsack_value_weight" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/knapsack.py" signature="knapsack_value_weight(solution, values, weights)">
Get the total wight and value of the items taken in the knapsack.
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ Convert max-cut instances into Pauli list Deal with Gset format. See [https://we
| [`get_operator`](#qiskit.optimization.applications.ising.max_cut.get_operator "qiskit.optimization.applications.ising.max_cut.get_operator")(weight\_matrix) | Generate Hamiltonian for the max-cut problem of a graph. |
| [`max_cut_value`](#qiskit.optimization.applications.ising.max_cut.max_cut_value "qiskit.optimization.applications.ising.max_cut.max_cut_value")(x, w) | Compute the value of a cut. |

### get\_graph\_solution
## get\_graph\_solution

<Function id="qiskit.optimization.applications.ising.max_cut.get_graph_solution" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/max_cut.py" signature="get_graph_solution(x)">
Get graph solution from binary string.
@@ -38,7 +38,7 @@ Convert max-cut instances into Pauli list Deal with Gset format. See [https://we
numpy.ndarray
</Function>

### get\_operator
## get\_operator

<Function id="qiskit.optimization.applications.ising.max_cut.get_operator" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/max_cut.py" signature="get_operator(weight_matrix)">
Generate Hamiltonian for the max-cut problem of a graph.
@@ -56,7 +56,7 @@ Convert max-cut instances into Pauli list Deal with Gset format. See [https://we
[WeightedPauliOperator](qiskit.aqua.operators.legacy.WeightedPauliOperator "qiskit.aqua.operators.legacy.WeightedPauliOperator")
</Function>

### max\_cut\_value
## max\_cut\_value

<Function id="qiskit.optimization.applications.ising.max_cut.max_cut_value" github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/applications/ising/max_cut.py" signature="max_cut_value(x, w)">
Compute the value of a cut.
Loading